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:
java.io.Serializable, NotificationRegistry

public class SerializableNotificationRegistry
extends java.lang.Object
implements java.io.Serializable, NotificationRegistry

See Also:
Serialized Form

Constructor Summary
SerializableNotificationRegistry(java.util.List<Notification> notificationList, java.util.Map<java.lang.String,java.util.List<Notification>> notificationRegistry)
           
SerializableNotificationRegistry(NotificationRegistryImpl registry)
           
 
Method Summary
 void clear()
           
 java.util.List<Notification> getNotifications()
           
 java.util.List<Notification> getNotificationsForEvent(java.lang.String eventId)
           
 java.util.List<Notification> getNotificationsForSubscriptions(java.lang.String parentType)
           
 void registerNotification(Notification notif, java.util.List<java.lang.String> events)
           
 void unregisterNotification(Notification notif, java.util.List<java.lang.String> events)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializableNotificationRegistry

public SerializableNotificationRegistry(java.util.List<Notification> notificationList,
                                        java.util.Map<java.lang.String,java.util.List<Notification>> notificationRegistry)

SerializableNotificationRegistry

public SerializableNotificationRegistry(NotificationRegistryImpl registry)
Method Detail

clear

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

getNotifications

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

getNotificationsForEvent

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

getNotificationsForSubscriptions

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

registerNotification

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

unregisterNotification

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.