public interface AccessControlListDAO
| Modifier and Type | Method and Description |
|---|---|
void |
forceCopy(NodeRef nodeRef) |
Acl |
getAccessControlList(NodeRef nodeRef)
Get the ACL from a node.
|
Acl |
getAccessControlList(StoreRef storeRef) |
Long |
getIndirectAcl(NodeRef nodeRef) |
Long |
getInheritedAcl(NodeRef nodeRef) |
Map<ACLType,Integer> |
patchAcls() |
void |
setAccessControlList(NodeRef nodeRef,
Acl acl)
Set the ACL on a node.
|
void |
setAccessControlList(NodeRef nodeRef,
Long aclId)
Set the ACL on a node.
|
void |
setAccessControlList(StoreRef storeRef,
Acl acl) |
void |
setFixedAcls(Long nodeId,
Long inheritFrom,
Long mergeFrom,
Long sharedAclToReplace,
List<AclChange> changes,
boolean set) |
List<AclChange> |
setInheritanceForChildren(NodeRef parent,
Long inheritFrom,
Long sharedAclToReplace)
Update inheritance
|
List<AclChange> |
setInheritanceForChildren(NodeRef parent,
Long inheritFrom,
Long sharedAclToReplace,
boolean asyncCall)
Set the inheritance on a given node and it's children.
|
void |
updateChangedAcls(NodeRef startingPoint,
List<AclChange> changes)
Update any associated ACLs
|
void |
updateInheritance(Long childNodeId,
Long oldParentAclId,
Long newParentAclId) |
Acl getAccessControlList(NodeRef nodeRef)
nodeRef - The reference to the node.InvalidNodeRefExceptionvoid setAccessControlList(NodeRef nodeRef, Acl acl)
nodeRef - The reference to the node.acl - The ACL.InvalidNodeRefExceptionvoid setAccessControlList(NodeRef nodeRef, Long aclId)
nodeRef - The reference to the node.aclId - The ID of the ACL entity.InvalidNodeRefException - if the noderef is invalidvoid updateChangedAcls(NodeRef startingPoint, List<AclChange> changes)
List<AclChange> setInheritanceForChildren(NodeRef parent, Long inheritFrom, Long sharedAclToReplace)
List<AclChange> setInheritanceForChildren(NodeRef parent, Long inheritFrom, Long sharedAclToReplace, boolean asyncCall)
void forceCopy(NodeRef nodeRef)
void updateInheritance(Long childNodeId, Long oldParentAclId, Long newParentAclId)
Copyright © 2005–2020 Alfresco Software. All rights reserved.