Interface NotificationRegistry
- 
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 NotificationRegistryImpl
public interface NotificationRegistry extends Serializable
This class holds data about the notifications.- Author:
 - Narcis Paslaru
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()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)voidregisterNotification(Notification notif, List<String> events)voidunregisterNotification(Notification notif)Unregister notification contribution and remove reference in event registry 
 - 
 
- 
- 
Method Detail
- 
clear
void clear()
 
- 
registerNotification
void registerNotification(Notification notif, List<String> events)
 
- 
unregisterNotification
void unregisterNotification(Notification notif)
Unregister notification contribution and remove reference in event registry- Since:
 - 5.6
 
 
- 
getNotificationEventNames
Set<String> getNotificationEventNames()
Gets the list of event names used by notifications.- Since:
 - 5.4.2
 
 
- 
getNotificationsForEvent
List<Notification> getNotificationsForEvent(String eventId)
 
- 
getNotifications
List<Notification> getNotifications()
 
- 
getNotificationsForSubscriptions
List<Notification> getNotificationsForSubscriptions(String parentType)
 
 - 
 
 -