mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Cleanup of ACL reading/writing for PermissionsDaoComponent. All access is
through the AccessControlListDAO interface. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -588,19 +588,4 @@ public interface AVMService
|
||||
* @return Whether the given node has the given aspect.
|
||||
*/
|
||||
public boolean hasAspect(int version, String path, QName aspectName);
|
||||
|
||||
/**
|
||||
* Get the ACL on a given node.
|
||||
* @param version The version to look under.
|
||||
* @param path The path to the node.
|
||||
* @return The ACL.
|
||||
*/
|
||||
public DbAccessControlList getACL(int version, String path);
|
||||
|
||||
/**
|
||||
* Set the ACL on a given node.
|
||||
* @param path The path to the node.
|
||||
* @param acl The ACL to set.
|
||||
*/
|
||||
public void setACL(String path, DbAccessControlList acl);
|
||||
}
|
||||
|
@@ -561,20 +561,4 @@ public interface NodeService
|
||||
NodeRef destinationParentNodeRef,
|
||||
QName assocTypeQName,
|
||||
QName assocQName);
|
||||
|
||||
/**
|
||||
* Get the access control list associated with a Node.
|
||||
* @param nodeRef The reference to the Node.
|
||||
* @return The access control list.
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"nodeRef"})
|
||||
public DbAccessControlList getAccessControlList(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Set the access control list on a node.
|
||||
* @param nodeRef The node reference.
|
||||
* @param acl The list to set.
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"nodeRef", "acl"})
|
||||
public void setAccessControlList(NodeRef nodeRef, DbAccessControlList acl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user