public class PermissionListener extends Object implements EventListener
Constructor and Description |
---|
PermissionListener() |
Modifier and Type | Method and Description |
---|---|
protected List<org.nuxeo.ecm.permissions.PermissionListener.ACLDiff> |
extractACLDiffs(ACP oldACP,
ACP newACP) |
protected void |
firePermissionNotificationEvent(DocumentEventContext docCtx,
String aclName,
ACE ace) |
void |
handleEvent(Event event)
Handle the given event.
|
protected void |
handleReplaceACE(DocumentEventContext docCtx,
String changedACLName,
ACE oldACE,
ACE newACE) |
protected void |
handleUpdateACP(DocumentEventContext docCtx,
ACP oldACP,
ACP newACP) |
protected List<String> |
toACLNames(ACP acp) |
protected void |
updateDirectory(DocumentEventContext docCtx) |
public PermissionListener()
public void handleEvent(Event event)
EventListener
Event.cancel()
handleEvent
in interface EventListener
event
- the eventprotected void updateDirectory(DocumentEventContext docCtx)
protected void handleUpdateACP(DocumentEventContext docCtx, ACP oldACP, ACP newACP)
protected void handleReplaceACE(DocumentEventContext docCtx, String changedACLName, ACE oldACE, ACE newACE)
protected List<org.nuxeo.ecm.permissions.PermissionListener.ACLDiff> extractACLDiffs(ACP oldACP, ACP newACP)
protected List<String> toACLNames(ACP acp)
protected void firePermissionNotificationEvent(DocumentEventContext docCtx, String aclName, ACE ace)
Copyright © 2015 Nuxeo SA. All rights reserved.