package com.l7tech.gateway.common.alert;

import com.l7tech.objectmodel.DeleteException;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.SaveException;
import com.l7tech.objectmodel.UpdateException;
import java.util.List;

public interface AlertAdmin {
   EntityHeader[] findAllEventHeaders() throws FindException;

   List findAllEvents() throws FindException;

   AlertEvent findEventByPrimaryKey(long var1) throws FindException;

   long saveEvent(AlertEvent var1) throws SaveException, UpdateException;

   void deleteEvent(long var1) throws DeleteException, FindException;

   EntityHeader[] findAllNotificationHeaders() throws FindException;

   List findAllNotifications() throws FindException;

   Notification findNotificationByPrimaryKey(long var1) throws FindException;

   long saveNotification(Notification var1) throws SaveException, UpdateException;

   void deleteNotification(long var1) throws DeleteException, FindException;
}
