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

java.lang.Object
  extended by org.pentaho.platform.api.repository2.unified.RepositoryFileSid
All Implemented Interfaces:
Serializable

public class RepositoryFileSid
extends Object
implements Serializable

Repository file security identifier (SID) used as file owners and permission recipients in access control entries.

Same abstraction as org.springframework.security.acls.sid.Sid.

See Also:
Serialized Form

Nested Class Summary
static class RepositoryFileSid.Type
           
 
Constructor Summary
RepositoryFileSid(String name)
          Creates a new Sid with given name and type of RepositoryFileSid.Type.USER.
RepositoryFileSid(String name, RepositoryFileSid.Type type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 RepositoryFileSid.Type getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryFileSid

public RepositoryFileSid(String name)
Creates a new Sid with given name and type of RepositoryFileSid.Type.USER.


RepositoryFileSid

public RepositoryFileSid(String name,
                         RepositoryFileSid.Type type)
Method Detail

getName

public String getName()

getType

public RepositoryFileSid.Type getType()

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