org.apache.jackrabbit.rmi.client
Class ClientNodeTypeManager
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientNodeTypeManager
public ClientNodeTypeManager(RemoteNodeTypeManager remote,
LocalAdapterFactory factory)
- Creates a local adapter for the given remote node type manager.
- Parameters:
remote
- remote node type managerfactory
- local adapter factory
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.