Added ACLs to Attributes. Can't do much with them yet, but the column is in place.

Fixed failing AttrQueryTest.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-04-23 19:44:31 +00:00
parent 3322e78a09
commit e9b75a288b
5 changed files with 62 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ import java.util.Collection;
import java.util.Map;
import java.util.Set;
import org.alfresco.repo.domain.DbAccessControlList;
/**
* Interface for polymorphic attributes.
* @author britt
@@ -50,6 +52,18 @@ public interface Attribute extends Serializable
MAP
};
/**
* Set the ACL on this Attribute.
* @param acl The ACL.
*/
public void setAcl(DbAccessControlList acl);
/**
* Get the (possibly null ACL) on this Attribute.
* @return The ACL or null.
*/
public DbAccessControlList getAcl();
/**
* Get the value type for this node.
* @return