public interface NotificationRegistry extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Set<String> |
getNotificationEventNames()
Gets the list of event names used by notifications.
|
List<Notification> |
getNotifications() |
List<Notification> |
getNotificationsForEvent(String eventId) |
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.
|
void clear()
void registerNotification(Notification notif, List<String> events)
@Deprecated void unregisterNotification(Notification notif, List<String> events)
Set<String> getNotificationEventNames()
List<Notification> getNotificationsForEvent(String eventId)
List<Notification> getNotifications()
List<Notification> getNotificationsForSubscriptions(String parentType)
void unregisterNotification(Notification notif)
Copyright © 2017 Nuxeo. All rights reserved.