|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessControlListDAO
This abstracts the reading and writing of ACLs on nodes from particular node implementations.
Method Summary | |
---|---|
void |
forceCopy(NodeRef nodeRef)
|
DbAccessControlList |
getAccessControlList(NodeRef nodeRef)
Get the ACL from a node. |
DbAccessControlList |
getAccessControlList(StoreRef storeRef)
|
java.lang.Long |
getIndirectAcl(NodeRef nodeRef)
|
java.lang.Long |
getInheritedAcl(NodeRef nodeRef)
|
java.util.Map |
patchAcls()
|
void |
setAccessControlList(NodeRef nodeRef,
DbAccessControlList acl)
Set the ACL on a node. |
void |
setAccessControlList(NodeRef nodeRef,
java.lang.Long aclId)
Set the ACL on a node. |
void |
setAccessControlList(StoreRef storeRef,
DbAccessControlList acl)
|
java.util.List |
setInheritanceForChildren(NodeRef parent,
java.lang.Long inheritFrom)
Update inheritance |
void |
updateChangedAcls(NodeRef startingPoint,
java.util.List changes)
Update any associated ACLs |
Method Detail |
---|
DbAccessControlList getAccessControlList(NodeRef nodeRef)
nodeRef
- The reference to the node.
InvalidNodeRefException
void setAccessControlList(NodeRef nodeRef, DbAccessControlList acl)
nodeRef
- The reference to the node.acl
- The ACL.
InvalidNodeRefException
void setAccessControlList(NodeRef nodeRef, java.lang.Long aclId)
nodeRef
- The reference to the node.aclId
- The ID of the ACL entity.
InvalidNodeRefException
- if the noderef is invalidvoid updateChangedAcls(NodeRef startingPoint, java.util.List changes)
startingPoint
- chnages
- java.util.List setInheritanceForChildren(NodeRef parent, java.lang.Long inheritFrom)
parent
- inheritFrom
- previousId
-
java.lang.Long getIndirectAcl(NodeRef nodeRef)
java.lang.Long getInheritedAcl(NodeRef nodeRef)
void forceCopy(NodeRef nodeRef)
java.util.Map patchAcls()
DbAccessControlList getAccessControlList(StoreRef storeRef)
void setAccessControlList(StoreRef storeRef, DbAccessControlList acl)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |