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