org.apache.jackrabbit.rmi.client.principal
Class ClientGroup

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.principal.ClientPrincipal
      extended by org.apache.jackrabbit.rmi.client.principal.ClientGroup
All Implemented Interfaces:
Group, Principal

public class ClientGroup
extends ClientPrincipal
implements Group

Local adapter for the JCR-RMI RemoteGroup interface. This class makes a remote group locally available using the Java Group interface.

See Also:
Group, RemoteGroup

Constructor Summary
ClientGroup(RemotePrincipal p, LocalAdapterFactory factory)
           
 
Method Summary
 boolean addMember(Principal user)
           
 boolean isMember(Principal member)
           
 Enumeration<? extends Principal> members()
          
 boolean removeMember(Principal user)
           
 
Methods inherited from class org.apache.jackrabbit.rmi.client.principal.ClientPrincipal
getName, getRemotePrincipal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Constructor Detail

ClientGroup

public ClientGroup(RemotePrincipal p,
                   LocalAdapterFactory factory)
Method Detail

addMember

public boolean addMember(Principal user)
Specified by:
addMember in interface Group
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet

isMember

public boolean isMember(Principal member)
Specified by:
isMember in interface Group
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet

members

public Enumeration<? extends Principal> members()

Specified by:
members in interface Group

removeMember

public boolean removeMember(Principal user)
Specified by:
removeMember in interface Group
Throws:
UnsupportedRepositoryOperationException - This method is not implemented yet


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.