public interface ACLManagement
AccessControlManagement
...Modifier and Type | Method and Description |
---|---|
void |
clearACL(Node node)
Removes all ACLs from the given node.
|
boolean |
ensureAccessControllable(Node node,
java.lang.String policyPrimaryType)
Checks if the given node is access controllable, i.e.
|
boolean |
isAccessControllableMixin(java.lang.String name)
Checks if the given node type name is use as access controllable
mixin.
|
boolean |
isACLNode(Node node)
Checks if the given node is an ACL node.
|
boolean |
isACLNodeType(java.lang.String name)
Checks if the given node type name is used for ACLs
|
boolean isACLNodeType(java.lang.String name)
name
- the node type nametrue
if used for ACLsboolean isAccessControllableMixin(java.lang.String name)
name
- the node type nametrue
if the name is the mixin nameboolean isACLNode(Node node) throws RepositoryException
node
- the nodetrue
if it's an ACL node.RepositoryException
- if an error occursboolean ensureAccessControllable(Node node, java.lang.String policyPrimaryType) throws RepositoryException
node
- the node to checkpolicyPrimaryType
- Primary node type of policytrue
if was made access controllableRepositoryException
- if an error occursvoid clearACL(Node node) throws RepositoryException
node
- the nodeRepositoryException
- if an error occurs"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"