public class PostCommitFileVersioningListener extends AbstractFileVersioning implements org.nuxeo.ecm.core.event.PostCommitFilteringEventListener
| Constructor and Description |
|---|
PostCommitFileVersioningListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptEvent(org.nuxeo.ecm.core.event.Event event)
Check documentCreated event and not aboutToCreate event to have dc:creator filled
(useful for permissions check like ToutaticeOwnerSecurityPolicy).
|
void |
handleEvent(org.nuxeo.ecm.core.event.EventBundle events) |
doVersioningpublic boolean acceptEvent(org.nuxeo.ecm.core.event.Event event)
acceptEvent in interface org.nuxeo.ecm.core.event.PostCommitFilteringEventListenerpublic void handleEvent(org.nuxeo.ecm.core.event.EventBundle events)
throws org.nuxeo.ecm.core.api.ClientException
handleEvent in interface org.nuxeo.ecm.core.event.PostCommitEventListenerorg.nuxeo.ecm.core.api.ClientExceptionCopyright © 2019. All rights reserved.