public class NuxeoDriveFileSystemDeletionListener extends Object implements EventListener
Constructor and Description |
---|
NuxeoDriveFileSystemDeletionListener() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireVirtualEventLogEntry(DocumentModel doc,
String eventName,
Principal principal,
String impactedUserName) |
protected boolean |
handleAboutToRemove(DocumentModel doc) |
protected DocumentModel |
handleBeforeDocUpdate(DocumentEventContext ctx,
DocumentModel doc) |
void |
handleEvent(Event event)
Handle the given event.
|
protected boolean |
handleLifeCycleTransition(DocumentEventContext ctx) |
public NuxeoDriveFileSystemDeletionListener()
public void handleEvent(Event event)
EventListener
Event.cancel()
handleEvent
in interface EventListener
event
- the eventprotected DocumentModel handleBeforeDocUpdate(DocumentEventContext ctx, DocumentModel doc)
protected boolean handleLifeCycleTransition(DocumentEventContext ctx)
protected boolean handleAboutToRemove(DocumentModel doc)
protected void fireVirtualEventLogEntry(DocumentModel doc, String eventName, Principal principal, String impactedUserName)
Copyright © 2015 Nuxeo SA. All rights reserved.