Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.ec.notification.service
Class NotificationRegistryImpl

java.lang.Object
  extended by 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

Constructor Summary
NotificationRegistryImpl()
           
 
Method Summary
 void clear()
           
 java.util.Map<java.lang.String,java.util.List<Notification>> getNotificationRegistry()
           
 java.util.List<Notification> getNotifications()
           
 java.util.List<Notification> getNotificationsForEvent(java.lang.String eventId)
          Gets the list of possible notifications for an event.
 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

NotificationRegistryImpl

public NotificationRegistryImpl()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.