org.apache.jackrabbit.rmi.client
Class ClientNodeTypeManager

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.ClientNodeTypeManager
All Implemented Interfaces:
NodeTypeManager
Direct Known Subclasses:
ClientJackrabbitNodeTypeManager

public class ClientNodeTypeManager
extends ClientObject
implements NodeTypeManager

Local adapter for the JCR-RMI RemoteNodeTypeManager interface. This class makes a remote node type manager locally available using the JCR NodeTypeManager interface.

See Also:
NodeTypeManager, RemoteNodeTypeManager

Constructor Summary
ClientNodeTypeManager(RemoteNodeTypeManager remote, LocalAdapterFactory factory)
          Creates a local adapter for the given remote node type manager.
 
Method Summary
 NodeTypeIterator getAllNodeTypes()
          
 NodeTypeIterator getMixinNodeTypes()
          
 NodeType getNodeType(String name)
          
 NodeTypeIterator getPrimaryNodeTypes()
          
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientNodeTypeManager

public ClientNodeTypeManager(RemoteNodeTypeManager remote,
                             LocalAdapterFactory factory)
Creates a local adapter for the given remote node type manager.

Parameters:
remote - remote node type manager
factory - local adapter factory
Method Detail

getNodeType

public NodeType getNodeType(String name)
                     throws RepositoryException

Specified by:
getNodeType in interface NodeTypeManager
Throws:
RepositoryException

getAllNodeTypes

public NodeTypeIterator getAllNodeTypes()
                                 throws RepositoryException

Specified by:
getAllNodeTypes in interface NodeTypeManager
Throws:
RepositoryException

getPrimaryNodeTypes

public NodeTypeIterator getPrimaryNodeTypes()
                                     throws RepositoryException

Specified by:
getPrimaryNodeTypes in interface NodeTypeManager
Throws:
RepositoryException

getMixinNodeTypes

public NodeTypeIterator getMixinNodeTypes()
                                   throws RepositoryException

Specified by:
getMixinNodeTypes in interface NodeTypeManager
Throws:
RepositoryException


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