Interface ACLManagement
- 
@ProviderType public interface ACLManagementAccessControlManagement... 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearACL(javax.jcr.Node node)Removes all ACLs from the given node.booleanensureAccessControllable(javax.jcr.Node node, java.lang.String policyPrimaryType)Checks if the given node is access controllable, i.e.@NotNull java.util.Map<java.lang.String,java.util.List<? extends javax.jcr.security.AccessControlPolicy>>getPrincipalAcls(javax.jcr.Node node)booleanisAccessControllableMixin(java.lang.String name)Checks if the given node type name is use as access controllable mixin.booleanisACLNode(javax.jcr.Node node)Checks if the given node is an ACL node.booleanisACLNodeType(java.lang.String name)Checks if the given node type name is used for ACLs 
 - 
 
- 
- 
Method Detail
- 
isACLNodeType
boolean isACLNodeType(java.lang.String name)
Checks if the given node type name is used for ACLs- Parameters:
 name- the node type name- Returns:
 trueif used for ACLs
 
- 
isAccessControllableMixin
boolean isAccessControllableMixin(java.lang.String name)
Checks if the given node type name is use as access controllable mixin.- Parameters:
 name- the node type name- Returns:
 trueif the name is the mixin name
 
- 
isACLNode
boolean isACLNode(javax.jcr.Node node) throws javax.jcr.RepositoryExceptionChecks if the given node is an ACL node.- Parameters:
 node- the node- Returns:
 trueif it's an ACL node.- Throws:
 javax.jcr.RepositoryException- if an error occurs
 
- 
ensureAccessControllable
boolean ensureAccessControllable(javax.jcr.Node node, java.lang.String policyPrimaryType) throws javax.jcr.RepositoryExceptionChecks if the given node is access controllable, i.e. has the respective mixin and adds it if missing.- Parameters:
 node- the node to checkpolicyPrimaryType- Primary node type of policy- Returns:
 trueif was made access controllable- Throws:
 javax.jcr.RepositoryException- if an error occurs
 
- 
clearACL
void clearACL(javax.jcr.Node node) throws javax.jcr.RepositoryExceptionRemoves all ACLs from the given node.- Parameters:
 node- the node- Throws:
 javax.jcr.RepositoryException- if an error occurs
 
- 
getPrincipalAcls
@NotNull @NotNull java.util.Map<java.lang.String,java.util.List<? extends javax.jcr.security.AccessControlPolicy>> getPrincipalAcls(javax.jcr.Node node) throws javax.jcr.RepositoryException- Parameters:
 node- the start node from where to collect principal policies- Returns:
 - all collected principal access control policies per principal name inside the given node (even nested ones)
 - Throws:
 javax.jcr.RepositoryException- in case some error occurred while collecting the principal policies- Since:
 - 3.7.0
 - See Also:
 - Access Control
 
 
 - 
 
 -