org.lexevs.cts2.admin
Interface NotificationAdminOperation

All Known Implementing Classes:
NotificationAdminOperationImpl

public interface NotificationAdminOperation

The Interface NotificationAdminOperation controls the registration and maintenence of Content Notification Listeners.


Nested Class Summary
static class NotificationAdminOperation.NotificationStatus
          The Enum NotificationStatus.
 
Method Summary
 java.lang.String registerForNotification(DatabaseServiceEventListener listener)
          Register the given Notification Listener in the system.
 void updateNotificationRegistration(java.lang.String notificationId, DatabaseServiceEventListener listener)
          Replaces a Notification Listener with an Updated Notification Listener
 void updateNotificationRegistrationStatus(java.lang.String notificationId, NotificationAdminOperation.NotificationStatus status)
          Update the Notification Registration Status of a Notification Listener.
 

Method Detail

registerForNotification

java.lang.String registerForNotification(DatabaseServiceEventListener listener)
Register the given Notification Listener in the system.

Parameters:
listener - The Notification Listener
Returns:
The Notification Identifier: The unique identifier of the particular Notification in the system.

updateNotificationRegistration

void updateNotificationRegistration(java.lang.String notificationId,
                                    DatabaseServiceEventListener listener)
                                    throws NotificationNotRegisteredException
Replaces a Notification Listener with an Updated Notification Listener

Parameters:
notificationId - The Notification Identifier of the Notification to be updated.
listener - the listener
Throws:
NotificationNotRegisteredException

updateNotificationRegistrationStatus

void updateNotificationRegistrationStatus(java.lang.String notificationId,
                                          NotificationAdminOperation.NotificationStatus status)
                                          throws NotificationNotRegisteredException
Update the Notification Registration Status of a Notification Listener.

Parameters:
status - The new Notification Registration Status
notificationId - The Notification Identifier of the Notification to be updated.
Throws:
NotificationNotRegisteredException

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.