org.nuxeo.ecm.platform.ec.notification.service
Class NotificationRegistryImpl
java.lang.Object
org.nuxeo.ecm.platform.ec.notification.service.NotificationRegistryImpl
- All Implemented Interfaces:
- Serializable, NotificationRegistry
public class NotificationRegistryImpl
- extends Object
- implements NotificationRegistry
- Author:
- Narcis Paslaru, Thierry Martins
- See Also:
- Serialized Form
NotificationRegistryImpl
public NotificationRegistryImpl()
clear
public void clear()
- Specified by:
clear
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
getNotificationsForEvent
public List<Notification> getNotificationsForEvent(String eventId)
- Gets the list of possible notifications for an event.
- Specified by:
getNotificationsForEvent
in interface NotificationRegistry
getNotifications
public List<Notification> getNotifications()
- Specified by:
getNotifications
in interface NotificationRegistry
getNotificationRegistry
public Map<String,List<Notification>> getNotificationRegistry()
getNotificationsForSubscriptions
public List<Notification> getNotificationsForSubscriptions(String parentType)
- Specified by:
getNotificationsForSubscriptions
in interface NotificationRegistry
Copyright © 2011 Nuxeo SAS. All Rights Reserved.