org.nuxeo.ecm.platform.ec.notification
Class NotificationEventListener
java.lang.Object
org.nuxeo.ecm.platform.ec.notification.NotificationEventListener
- All Implemented Interfaces:
- PostCommitEventListener
public class NotificationEventListener
- extends Object
- implements PostCommitEventListener
NotificationEventListener
public NotificationEventListener()
handleEvent
public void handleEvent(EventBundle events)
throws ClientException
- Description copied from interface:
PostCommitEventListener
- Handles the set of events that were raised during the life of an user
operation.
The events are fired as a BundleEvent
after the transaction is
committed.
- Specified by:
handleEvent
in interface PostCommitEventListener
- Parameters:
events
- the events to handle
- Throws:
ClientException
sendNotification
public void sendNotification(Event event,
DocumentEventContext ctx)
throws ClientException
- Throws:
ClientException
isInterestedInNotification
public boolean isInterestedInNotification(Notification notif)
getDocLocator
public DocumentViewCodecManager getDocLocator()
getEmailHelper
public EmailHelper getEmailHelper()
setEmailHelper
public void setEmailHelper(EmailHelper emailHelper)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.