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:
@@ -27,7 +27,6 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.repo.domain.DbAccessControlList;
|
||||
import org.alfresco.service.cmr.dictionary.DictionaryService;
|
||||
import org.alfresco.service.cmr.dictionary.InvalidAspectException;
|
||||
import org.alfresco.service.cmr.repository.AssociationExistsException;
|
||||
@@ -557,24 +556,4 @@ public class NodeServiceImpl implements NodeService, VersionModel
|
||||
{
|
||||
throw new UnsupportedOperationException(MSG_UNSUPPORTED);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the access control list on a node. Defer to DbNodeService.
|
||||
* @param nodeRef The reference to the node.
|
||||
* @param acl The list to set.
|
||||
*/
|
||||
public void setAccessControlList(NodeRef nodeRef, DbAccessControlList acl)
|
||||
{
|
||||
dbNodeService.setAccessControlList(nodeRef, acl);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the access control list on a node. Defer to DbNodeService.
|
||||
* @param nodeRef The reference to the node.
|
||||
* @return The list.
|
||||
*/
|
||||
public DbAccessControlList getAccessControlList(NodeRef nodeRef)
|
||||
{
|
||||
return dbNodeService.getAccessControlList(nodeRef);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user