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() |
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
|
void |
unregisterNotification(Notification notif,
List<String> events)
Deprecated.
|
public void clear()
clear
in interface NotificationRegistry
public void registerNotification(Notification notif, List<String> events)
registerNotification
in interface NotificationRegistry
@Deprecated public void unregisterNotification(Notification notif, List<String> events)
unregisterNotification
in interface NotificationRegistry
public void unregisterNotification(Notification notif)
NotificationRegistry
unregisterNotification
in interface NotificationRegistry
public Set<String> getNotificationEventNames()
NotificationRegistry
getNotificationEventNames
in interface NotificationRegistry
public List<Notification> getNotificationsForEvent(String eventId)
getNotificationsForEvent
in interface NotificationRegistry
public List<Notification> getNotifications()
getNotifications
in interface NotificationRegistry
public Map<String,List<Notification>> getNotificationRegistry()
public List<Notification> getNotificationsForSubscriptions(String parentType)
getNotificationsForSubscriptions
in interface NotificationRegistry
Copyright © 2015 Nuxeo SA. All rights reserved.