org.pentaho.platform.api.repository2.unified
Class RepositoryFileAcl

java.lang.Object
  extended by 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

Nested Class Summary
static class RepositoryFileAcl.Builder
           
 
Constructor Summary
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).
RepositoryFileAcl(Serializable id, RepositoryFileSid owner)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<RepositoryFileAce> getAces()
           
 Serializable getId()
           
 RepositoryFileSid getOwner()
           
 int hashCode()
           
 boolean isEntriesInheriting()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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).

Method Detail

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