org.apache.jackrabbit.rmi.client.security
Class ClientPrivilege

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.security.ClientPrivilege
All Implemented Interfaces:
Privilege

public class ClientPrivilege
extends ClientObject
implements Privilege

Local adapter for the JCR-RMI RemotePrivilege interface. This class makes a remote Privilege locally available using the JCR Privilege interface.

See Also:
Privilege, RemotePrivilege

Field Summary
 
Fields inherited from interface javax.jcr.security.Privilege
JCR_ADD_CHILD_NODES, JCR_ALL, JCR_LIFECYCLE_MANAGEMENT, JCR_LOCK_MANAGEMENT, JCR_MODIFY_ACCESS_CONTROL, JCR_MODIFY_PROPERTIES, JCR_NODE_TYPE_MANAGEMENT, JCR_READ, JCR_READ_ACCESS_CONTROL, JCR_REMOVE_CHILD_NODES, JCR_REMOVE_NODE, JCR_RETENTION_MANAGEMENT, JCR_VERSION_MANAGEMENT, JCR_WRITE
 
Constructor Summary
ClientPrivilege(RemotePrivilege rp, LocalAdapterFactory factory)
           
 
Method Summary
 boolean equals(Object obj)
           
 Privilege[] getAggregatePrivileges()
          
 Privilege[] getDeclaredAggregatePrivileges()
          
 String getName()
          
 int hashCode()
           
 boolean isAbstract()
          
 boolean isAggregate()
          
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientPrivilege

public ClientPrivilege(RemotePrivilege rp,
                       LocalAdapterFactory factory)
Method Detail

getAggregatePrivileges

public Privilege[] getAggregatePrivileges()

Specified by:
getAggregatePrivileges in interface Privilege

getDeclaredAggregatePrivileges

public Privilege[] getDeclaredAggregatePrivileges()

Specified by:
getDeclaredAggregatePrivileges in interface Privilege

getName

public String getName()

Specified by:
getName in interface Privilege

isAbstract

public boolean isAbstract()

Specified by:
isAbstract in interface Privilege

isAggregate

public boolean isAggregate()

Specified by:
isAggregate in interface Privilege

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.