Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ec.notification.ejb.bean
Class SerializableNotificationRegistry

java.lang.Object
  extended by org.nuxeo.ecm.platform.ec.notification.ejb.bean.SerializableNotificationRegistry
All Implemented Interfaces:
Serializable, NotificationRegistry

public class SerializableNotificationRegistry
extends Object
implements Serializable, NotificationRegistry

See Also:
Serialized Form

Constructor Summary
SerializableNotificationRegistry(List<Notification> notificationList, Map<String,List<Notification>> notificationRegistry)
           
SerializableNotificationRegistry(NotificationRegistryImpl registry)
           
 
Method Summary
 void clear()
           
 Set<String> getNotificationEventNames()
          Gets the list of event names used by notifications.
 List<Notification> getNotifications()
           
 List<Notification> getNotificationsForEvent(String eventId)
           
 List<Notification> getNotificationsForSubscriptions(String parentType)
           
 void registerNotification(Notification notif, List<String> events)
           
 void unregisterNotification(Notification notif, List<String> events)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableNotificationRegistry

public SerializableNotificationRegistry(List<Notification> notificationList,
                                        Map<String,List<Notification>> notificationRegistry)

SerializableNotificationRegistry

public SerializableNotificationRegistry(NotificationRegistryImpl registry)
Method Detail

clear

public void clear()
Specified by:
clear in interface NotificationRegistry

getNotifications

public List<Notification> getNotifications()
Specified by:
getNotifications in interface NotificationRegistry

getNotificationsForEvent

public List<Notification> getNotificationsForEvent(String eventId)
Specified by:
getNotificationsForEvent in interface NotificationRegistry

getNotificationsForSubscriptions

public List<Notification> getNotificationsForSubscriptions(String parentType)
Specified by:
getNotificationsForSubscriptions in interface NotificationRegistry

registerNotification

public void registerNotification(Notification notif,
                                 List<String> events)
Specified by:
registerNotification in interface NotificationRegistry

unregisterNotification

public void unregisterNotification(Notification notif,
                                   List<String> events)
Specified by:
unregisterNotification in interface NotificationRegistry

getNotificationEventNames

public Set<String> getNotificationEventNames()
Description copied from interface: NotificationRegistry
Gets the list of event names used by notifications.

Specified by:
getNotificationEventNames in interface NotificationRegistry

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.