Package fr.becpg.repo.security.plugins
Interface SecurityServicePlugin
- All Known Implementing Classes:
DefaultSecurityServicePlugin
public interface SecurityServicePlugin
SecurityServicePlugin interface.
- Version:
- $Id: $Id
- Author:
- matthieu
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(org.alfresco.service.namespace.QName nodeType) accept.booleancheckIsInSecurityGroup(org.alfresco.service.cmr.repository.NodeRef nodeRef, List<org.alfresco.service.cmr.repository.NodeRef> groups) checkIsInSecurityGroup.default intgetMaxAccessMode(org.alfresco.service.cmr.repository.NodeRef nodeRef) getMaxAccessMode.
-
Method Details
-
checkIsInSecurityGroup
boolean checkIsInSecurityGroup(org.alfresco.service.cmr.repository.NodeRef nodeRef, List<org.alfresco.service.cmr.repository.NodeRef> groups) checkIsInSecurityGroup.
- Parameters:
nodeRef- aNodeRefobjectgroups- aListobject- Returns:
- a boolean
-
accept
boolean accept(org.alfresco.service.namespace.QName nodeType) accept.
- Parameters:
nodeType- aQNameobject- Returns:
- a boolean
-
getMaxAccessMode
default int getMaxAccessMode(org.alfresco.service.cmr.repository.NodeRef nodeRef) getMaxAccessMode.
Returns the maximum access mode this plugin allows for the given node. This method should return the plugin's own access restriction without considering the input access mode.- Parameters:
nodeRef- aNodeRefobject- Returns:
- a int representing the maximum allowed access mode
-