SAIL-388 - PermissionDAO: Remove redundant DbAccessControlList entity (and associated helper methods)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20999 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2010-07-08 13:55:14 +00:00
parent 2d024b3f88
commit 927575fcf2
27 changed files with 252 additions and 325 deletions

View File

@@ -36,8 +36,8 @@ import org.alfresco.model.WCMModel;
import org.alfresco.repo.avm.util.AVMUtil;
import org.alfresco.repo.avm.util.RawServices;
import org.alfresco.repo.avm.util.SimplePath;
import org.alfresco.repo.domain.DbAccessControlList;
import org.alfresco.repo.domain.PropertyValue;
import org.alfresco.repo.domain.permissions.Acl;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
import org.alfresco.repo.security.permissions.ACLCopyMode;
import org.alfresco.repo.security.permissions.AccessDeniedException;
@@ -101,7 +101,7 @@ public class AVMStoreImpl implements AVMStore
/**
* Acl for this store.
*/
private DbAccessControlList fACL;
private Acl fACL;
/**
* The AVMRepository.
@@ -1168,12 +1168,12 @@ public class AVMStoreImpl implements AVMStore
/* (non-Javadoc)
* @see org.alfresco.repo.avm.AVMStore#getAcl()
*/
public DbAccessControlList getStoreAcl()
public Acl getStoreAcl()
{
return fACL;
}
public void setStoreAcl(DbAccessControlList acl)
public void setStoreAcl(Acl acl)
{
fACL = acl;
}
@@ -1772,7 +1772,7 @@ public class AVMStoreImpl implements AVMStore
* @param path The path to the node.
* @param acl The ACL to set.
*/
public void setACL(String path, DbAccessControlList acl)
public void setACL(String path, Acl acl)
{
Lookup lPath = lookup(-1, path, true, true);
if (lPath == null)
@@ -1796,7 +1796,7 @@ public class AVMStoreImpl implements AVMStore
* @param path The path to the node.
* @return The ACL.
*/
public DbAccessControlList getACL(int version, String path)
public Acl getACL(int version, String path)
{
Lookup lPath = lookup(version, path, false, false);
if (lPath == null)