Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.notification.api
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
 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, List<String> events)
           
 

Method Detail

clear

void clear()

registerNotification

void registerNotification(Notification notif,
                          List<String> events)

unregisterNotification

void unregisterNotification(Notification notif,
                            List<String> events)

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.