public class AuditEventLogger extends Object implements PostCommitFilteringEventListener
EventBundle
into the Audit log.Constructor and Description |
---|
AuditEventLogger() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptEvent(Event event)
Checks if this event is worth passing to the asynchronous
PostCommitEventListener.handleEvent(org.nuxeo.ecm.core.event.EventBundle) . |
void |
handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user
operation.
|
public boolean acceptEvent(Event event)
PostCommitFilteringEventListener
PostCommitEventListener.handleEvent(org.nuxeo.ecm.core.event.EventBundle)
.acceptEvent
in interface PostCommitFilteringEventListener
event
- the eventtrue
to accept it, or false
to ignore itpublic void handleEvent(EventBundle events) throws ClientException
PostCommitEventListener
The events are fired as a BundleEvent
after the transaction is
committed.
handleEvent
in interface PostCommitEventListener
events
- the events to handleClientException
Copyright © 2012 Nuxeo SA. All Rights Reserved.