|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlertNotificationManagerLocal
| Method Summary | |
|---|---|
void |
addAlertNotification(Subject user,
int alertDefinitionId,
java.lang.String senderName,
Configuration configuration)
Add a new AlertNotification to the passed definition |
int |
addEmailNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.String[] emails)
|
int |
addRoleNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.Integer[] roleIds)
|
int |
addSubjectNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.Integer[] subjectId)
|
AlertSenderInfo |
getAlertInfoForSender(java.lang.String shortName)
|
Configuration |
getAlertPropertiesConfiguration(AlertNotification notification)
|
ConfigurationDefinition |
getConfigurationDefinitionForSender(java.lang.String shortName)
|
PageList<EmailNotification> |
getEmailNotifications(java.lang.Integer[] alertNotificationIds,
PageControl pageControl)
|
PageList<EmailNotification> |
getEmailNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
|
java.util.List<AlertNotification> |
getNotificationsForAlertDefinition(Subject user,
int alertDefinitionId)
Return notifications for a certain alertDefinitionId NOTE: this only returns notifications that have an AlertSender defined. |
PageList<RoleNotification> |
getRoleNotifications(java.lang.Integer[] alertNotificationIds,
PageControl pageControl)
|
PageList<RoleNotification> |
getRoleNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
|
PageList<RoleNotification> |
getRoleNotificationsByRoles(java.lang.Integer[] roleIds,
PageControl pageControl)
|
PageList<SnmpNotification> |
getSnmpNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
|
PageList<SubjectNotification> |
getSubjectNotifications(java.lang.Integer[] alertNotificationIds,
PageControl pageControl)
|
PageList<SubjectNotification> |
getSubjectNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
|
PageList<SubjectNotification> |
getSubjectNotificationsBySubjects(java.lang.Integer[] subjectId,
PageControl pageControl)
|
java.util.List<java.lang.String> |
listAllAlertSenders()
Return a list of all available AlertSenders in the system by their shortname. |
int |
purgeOrphanedAlertNotifications()
|
int |
removeNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.Integer[] notificationIds)
Remove the passed notifications from the passed alert definition (all identified by their id) |
| Method Detail |
|---|
int addEmailNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.String[] emails)
int addRoleNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.Integer[] roleIds)
int addSubjectNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.Integer[] subjectId)
PageList<EmailNotification> getEmailNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
PageList<RoleNotification> getRoleNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
PageList<SubjectNotification> getSubjectNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
PageList<SnmpNotification> getSnmpNotifications(java.lang.Integer alertDefinitionId,
PageControl pageControl)
PageList<EmailNotification> getEmailNotifications(java.lang.Integer[] alertNotificationIds,
PageControl pageControl)
PageList<RoleNotification> getRoleNotifications(java.lang.Integer[] alertNotificationIds,
PageControl pageControl)
PageList<SubjectNotification> getSubjectNotifications(java.lang.Integer[] alertNotificationIds,
PageControl pageControl)
PageList<RoleNotification> getRoleNotificationsByRoles(java.lang.Integer[] roleIds,
PageControl pageControl)
PageList<SubjectNotification> getSubjectNotificationsBySubjects(java.lang.Integer[] subjectId,
PageControl pageControl)
int removeNotifications(Subject subject,
java.lang.Integer alertDefinitionId,
java.lang.Integer[] notificationIds)
subject - CalleralertDefinitionId - alert definition to modifynotificationIds - Notifications to remove
int purgeOrphanedAlertNotifications()
Configuration getAlertPropertiesConfiguration(AlertNotification notification)
java.util.List<java.lang.String> listAllAlertSenders()
ConfigurationDefinition getConfigurationDefinitionForSender(java.lang.String shortName)
void addAlertNotification(Subject user,
int alertDefinitionId,
java.lang.String senderName,
Configuration configuration)
user - subject of the calleralertDefinitionId - Id of the alert definitionsenderName - shortName of the AlertSenderconfiguration - Properties for this alert sender.
java.util.List<AlertNotification> getNotificationsForAlertDefinition(Subject user,
int alertDefinitionId)
user - Subject of the calleralertDefinitionId - Id of the alert definition
AlertSenderInfo getAlertInfoForSender(java.lang.String shortName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||