Package org.apache.jackrabbit.rmi.remote
Interface RemoteNodeTypeManager
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
ServerNodeTypeManager
@Deprecated(forRemoval=true) public interface RemoteNodeTypeManager extends Remote
Deprecated, for removal: This API element is subject to removal in a future version.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
NodeTypeManager
interface. Used by theServerNodeTypeManager
andClientNodeTypeManager
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 theRemoteNodeType
interface. Iterator values are transmitted as object arrays. RMI errors are signaled with RemoteExceptions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RemoteIterator
getAllNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getAllNodeTypes()
method.RemoteIterator
getMixinNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getMixinNodeTypes()
method.RemoteNodeType
getNodeType(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getNodeType(String)
method.RemoteIterator
getPrimaryNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getPrimaryNodeTypes()
method.boolean
hasNodeType(String name)
Deprecated, for removal: This API element is subject to removal in a future version.void
unregisterNodeTypes(String[] names)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getNodeType
RemoteNodeType getNodeType(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getNodeType(String)
method.- Parameters:
name
- node type name- Returns:
- node type
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getAllNodeTypes
RemoteIterator getAllNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getAllNodeTypes()
method.- Returns:
- all node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getPrimaryNodeTypes
RemoteIterator getPrimaryNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getPrimaryNodeTypes()
method.- Returns:
- primary node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getMixinNodeTypes
RemoteIterator getMixinNodeTypes() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeTypeManager.getMixinNodeTypes()
method.- Returns:
- mixin node types
- Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
hasNodeType
boolean hasNodeType(String name) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
RepositoryException
RemoteException
-
unregisterNodeTypes
void unregisterNodeTypes(String[] names) throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
RepositoryException
RemoteException
-
-