org.pentaho.platform.api.repository2.unified
Class RepositoryFileAcl
java.lang.Object
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl
- All Implemented Interfaces:
- Serializable
public class RepositoryFileAcl
- extends Object
- implements Serializable
Immutable repository file access control list (ACL). Use the RepositoryFileAcl.Builder
to create instances.
Same abstraction as org.springframework.security.acls.Acl
except it contains no logic and is
GWT-compatible.
- Author:
- mlowery
- See Also:
- Serialized Form
RepositoryFileAcl
public RepositoryFileAcl(Serializable id,
RepositoryFileSid owner)
RepositoryFileAcl
public RepositoryFileAcl(RepositoryFileSid owner)
- This constructor is only valid on createFile and createFolder calls since the repository must know what file to
associate this ACL with (which is implied as it is supplied on the create call).
getAces
public List<RepositoryFileAce> getAces()
getId
public Serializable getId()
getOwner
public RepositoryFileSid getOwner()
isEntriesInheriting
public boolean isEntriesInheriting()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object