org.nuxeo.ecm.platform.ec.notification.ejb.bean
Class SerializableNotificationRegistry
java.lang.Object
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
SerializableNotificationRegistry
public SerializableNotificationRegistry(List<Notification> notificationList,
Map<String,List<Notification>> notificationRegistry)
SerializableNotificationRegistry
public SerializableNotificationRegistry(NotificationRegistryImpl registry)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.