Package 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
@Deprecated(forRemoval=true) public class ClientNodeTypeManager extends ClientObject implements NodeTypeManager
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.Local adapter for the JCR-RMI
RemoteNodeTypeManager
interface. This class makes a remote node type manager locally available using the JCRNodeTypeManager
interface.- See Also:
NodeTypeManager
,RemoteNodeTypeManager
-
-
Constructor Summary
Constructors Constructor Description ClientNodeTypeManager(RemoteNodeTypeManager remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a local adapter for the given remote node type manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NodeDefinitionTemplate
createNodeDefinitionTemplate()
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeTemplate
createNodeTypeTemplate()
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeTemplate
createNodeTypeTemplate(NodeTypeDefinition ntd)
Deprecated, for removal: This API element is subject to removal in a future version.PropertyDefinitionTemplate
createPropertyDefinitionTemplate()
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeIterator
getAllNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeIterator
getMixinNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.NodeType
getNodeType(String name)
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeIterator
getPrimaryNodeTypes()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasNodeType(String name)
Deprecated, for removal: This API element is subject to removal in a future version.NodeType
registerNodeType(NodeTypeDefinition ntd, boolean allowUpdate)
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeIterator
registerNodeTypes(NodeTypeDefinition[] ntds, boolean allowUpdate)
Deprecated, for removal: This API element is subject to removal in a future version.void
unregisterNodeType(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.-
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
-
-
-
-
Constructor Detail
-
ClientNodeTypeManager
public ClientNodeTypeManager(RemoteNodeTypeManager remote, LocalAdapterFactory factory)
Deprecated, for removal: This API element is subject to removal in a future version.Creates a local adapter for the given remote node type manager.- Parameters:
remote
- remote node type managerfactory
- local adapter factory
-
-
Method Detail
-
getNodeType
public NodeType getNodeType(String name) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getNodeType
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
getAllNodeTypes
public NodeTypeIterator getAllNodeTypes() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getAllNodeTypes
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
getPrimaryNodeTypes
public NodeTypeIterator getPrimaryNodeTypes() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPrimaryNodeTypes
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
getMixinNodeTypes
public NodeTypeIterator getMixinNodeTypes() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getMixinNodeTypes
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
createNodeDefinitionTemplate
public NodeDefinitionTemplate createNodeDefinitionTemplate() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createNodeDefinitionTemplate
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
createNodeTypeTemplate
public NodeTypeTemplate createNodeTypeTemplate() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createNodeTypeTemplate
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
createNodeTypeTemplate
public NodeTypeTemplate createNodeTypeTemplate(NodeTypeDefinition ntd) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createNodeTypeTemplate
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
createPropertyDefinitionTemplate
public PropertyDefinitionTemplate createPropertyDefinitionTemplate() throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createPropertyDefinitionTemplate
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
hasNodeType
public boolean hasNodeType(String name) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasNodeType
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
registerNodeType
public NodeType registerNodeType(NodeTypeDefinition ntd, boolean allowUpdate) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
registerNodeType
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
registerNodeTypes
public NodeTypeIterator registerNodeTypes(NodeTypeDefinition[] ntds, boolean allowUpdate) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
registerNodeTypes
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
unregisterNodeType
public void unregisterNodeType(String name) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
unregisterNodeType
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
unregisterNodeTypes
public void unregisterNodeTypes(String[] names) throws RepositoryException
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
unregisterNodeTypes
in interfaceNodeTypeManager
- Throws:
RepositoryException
-
-