public class NotificationRegistryImpl extends Object implements NotificationRegistry
| Constructor and Description | 
|---|
NotificationRegistryImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
Set<String> | 
getNotificationEventNames()
Gets the list of event names used by notifications. 
 | 
Map<String,List<Notification>> | 
getNotificationRegistry()
Deprecated. 
 
since 10.2, seems unused 
 | 
List<Notification> | 
getNotifications()  | 
List<Notification> | 
getNotificationsForEvent(String eventId)
Gets the list of possible notifications for an event. 
 | 
List<Notification> | 
getNotificationsForSubscriptions(String parentType)  | 
void | 
registerNotification(Notification notif,
                    List<String> events)  | 
void | 
unregisterNotification(Notification notif)
Unregister notification contribution and remove reference in event registry 
 | 
public NotificationRegistryImpl()
public void clear()
clear in interface NotificationRegistrypublic void registerNotification(Notification notif, List<String> events)
registerNotification in interface NotificationRegistrypublic void unregisterNotification(Notification notif)
NotificationRegistryunregisterNotification in interface NotificationRegistrypublic Set<String> getNotificationEventNames()
NotificationRegistrygetNotificationEventNames in interface NotificationRegistrypublic List<Notification> getNotificationsForEvent(String eventId)
getNotificationsForEvent in interface NotificationRegistrypublic List<Notification> getNotifications()
getNotifications in interface NotificationRegistry@Deprecated public Map<String,List<Notification>> getNotificationRegistry()
public List<Notification> getNotificationsForSubscriptions(String parentType)
getNotificationsForSubscriptions in interface NotificationRegistryCopyright © 2019 Nuxeo. All rights reserved.