org.apache.jackrabbit.rmi.remote
Interface RemoteNodeTypeManager

All Superinterfaces:
Remote
All Known Implementing Classes:
ServerNodeTypeManager

public interface RemoteNodeTypeManager
extends Remote

Remote version of the JCR NodeTypeManager interface. Used by the ServerNodeTypeManager and ClientNodeTypeManager adapters to provide transparent RMI access to remote node type managers.

The methods in this interface are documented only with a reference to a corresponding NodeTypeManager method. The remote object will simply forward the method call to the underlying NodeTypeManager instance. Arguments and possible exceptions are copied over the network. Complex NodeType values are returned as remote references to the RemoteNodeType interface. Iterator values are transmitted as object arrays. RMI errors are signalled with RemoteExceptions.

Author:
Jukka Zitting
See Also:
NodeTypeManager, ClientNodeTypeManager, ServerNodeTypeManager

Method Summary
 RemoteIterator getAllNodeTypes()
          Remote version of the NodeTypeManager.getAllNodeTypes() method.
 RemoteIterator getMixinNodeTypes()
          Remote version of the NodeTypeManager.getMixinNodeTypes() method.
 RemoteNodeType getNodeType(String name)
          Remote version of the NodeTypeManager.getNodeType(String) method.
 RemoteIterator getPrimaryNodeTypes()
          Remote version of the NodeTypeManager.getPrimaryNodeTypes() method.
 

Method Detail

getNodeType

public RemoteNodeType getNodeType(String name)
                           throws RepositoryException,
                                  RemoteException
Remote version of the NodeTypeManager.getNodeType(String) method.

Parameters:
name - node type name
Returns:
node type
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getAllNodeTypes

public RemoteIterator getAllNodeTypes()
                               throws RepositoryException,
                                      RemoteException
Remote version of the NodeTypeManager.getAllNodeTypes() method.

Returns:
all node types
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getPrimaryNodeTypes

public RemoteIterator getPrimaryNodeTypes()
                                   throws RepositoryException,
                                          RemoteException
Remote version of the NodeTypeManager.getPrimaryNodeTypes() method.

Returns:
primary node types
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors

getMixinNodeTypes

public RemoteIterator getMixinNodeTypes()
                                 throws RepositoryException,
                                        RemoteException
Remote version of the NodeTypeManager.getMixinNodeTypes() method.

Returns:
mixin node types
Throws:
RepositoryException - on repository errors
RemoteException - on RMI errors


Copyright © 2004-2006 . All Rights Reserved.