org.apache.jackrabbit.rmi.remote.security
Interface RemotePrivilege

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerPrivilege

public interface RemotePrivilege
extends Remote

Remote version of the JCR Privilege interface. Used by the ServerPrivilege and ClientPrivilege adapter base classes to provide transparent RMI access to remote item definitions.

The methods in this interface are documented only with a reference to a corresponding Privilege method. The remote object will simply forward the method call to the underlying Privilege instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values are returned as remote references to the corresponding remote interface. RMI errors are signaled with RemoteExceptions.

See Also:
Privilege, ClientPrivilege, ServerPrivilege

Method Summary
 RemotePrivilege[] getAggregatePrivileges()
           
 RemotePrivilege[] getDeclaredAggregatePrivileges()
           
 String getName()
           
 boolean isAbstract()
           
 boolean isAggregate()
           
 

Method Detail

getAggregatePrivileges

RemotePrivilege[] getAggregatePrivileges()
                                         throws RemoteException
Throws:
RemoteException
See Also:
Privilege.getAggregatePrivileges()

getDeclaredAggregatePrivileges

RemotePrivilege[] getDeclaredAggregatePrivileges()
                                                 throws RemoteException
Throws:
RemoteException
See Also:
Privilege.getDeclaredAggregatePrivileges()

getName

String getName()
               throws RemoteException
Throws:
RemoteException
See Also:
Privilege.getName()

isAbstract

boolean isAbstract()
                   throws RemoteException
Throws:
RemoteException
See Also:
Privilege.isAbstract()

isAggregate

boolean isAggregate()
                    throws RemoteException
Throws:
RemoteException
See Also:
Privilege.isAggregate()


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