public class PermissionListener extends Object implements EventListener
| Constructor and Description | 
|---|
PermissionListener()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addToken(ACE ace)  | 
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)
Deprecated. 
 
since 8.1. Not used anymore. 
 | 
protected void | 
handleUpdateACP(DocumentEventContext docCtx,
               ACP oldACP,
               ACP newACP)  | 
protected void | 
removeToken(DocumentModel doc,
           ACE deletedAce)  | 
protected List<String> | 
toACLNames(ACP acp)  | 
protected void | 
updateDirectory(DocumentEventContext docCtx)  | 
public PermissionListener()
public void handleEvent(Event event)
EventListenerEvent.cancel()handleEvent in interface EventListenerevent - the eventprotected void updateDirectory(DocumentEventContext docCtx)
protected void handleUpdateACP(DocumentEventContext docCtx, ACP oldACP, ACP newACP)
@Deprecated 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)
protected void removeToken(DocumentModel doc, ACE deletedAce)
Copyright © 2019 Nuxeo. All rights reserved.