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