Package org.apache.jackrabbit.rmi.client
Class ClientNodeType
- java.lang.Object
-
- org.apache.jackrabbit.rmi.client.ClientObject
-
- org.apache.jackrabbit.rmi.client.ClientNodeType
-
- All Implemented Interfaces:
NodeType
,NodeTypeDefinition
@Deprecated(forRemoval=true) public class ClientNodeType extends ClientObject implements NodeType
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
RemoteNodeType
interface. This class makes a remote node type locally available using the JCRNodeType
interface.- See Also:
NodeType
,RemoteNodeType
-
-
Field Summary
-
Fields inherited from interface javax.jcr.nodetype.NodeType
MIX_CREATED, MIX_LANGUAGE, MIX_LAST_MODIFIED, MIX_LIFECYCLE, MIX_LOCKABLE, MIX_MIMETYPE, MIX_REFERENCEABLE, MIX_SHAREABLE, MIX_SIMPLE_VERSIONABLE, MIX_TITLE, MIX_VERSIONABLE, NT_ACTIVITY, NT_ADDRESS, NT_BASE, NT_CHILD_NODE_DEFINITION, NT_CONFIGURATION, NT_FILE, NT_FOLDER, NT_FROZEN_NODE, NT_HIERARCHY_NODE, NT_LINKED_FILE, NT_NODE_TYPE, NT_PROPERTY_DEFINITION, NT_QUERY, NT_RESOURCE, NT_UNSTRUCTURED, NT_VERSION, NT_VERSION_HISTORY, NT_VERSIONED_CHILD
-
-
Constructor Summary
Constructors Constructor Description ClientNodeType(RemoteNodeType 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canAddChildNode(String name)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
canAddChildNode(String name, String type)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
canRemoveItem(String name)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
canRemoveNode(String nodeName)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
canRemoveProperty(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
canSetProperty(String name, Value value)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
canSetProperty(String name, Value[] values)
Deprecated, for removal: This API element is subject to removal in a future version.NodeDefinition[]
getChildNodeDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.NodeDefinition[]
getDeclaredChildNodeDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.PropertyDefinition[]
getDeclaredPropertyDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeIterator
getDeclaredSubtypes()
Deprecated, for removal: This API element is subject to removal in a future version.String[]
getDeclaredSupertypeNames()
Deprecated, for removal: This API element is subject to removal in a future version.NodeType[]
getDeclaredSupertypes()
Deprecated, for removal: This API element is subject to removal in a future version.String
getName()
Deprecated, for removal: This API element is subject to removal in a future version.String
getPrimaryItemName()
Deprecated, for removal: This API element is subject to removal in a future version.protected PropertyDefinition[]
getPropertyDefArray(RemotePropertyDefinition[] remotes)
Deprecated, for removal: This API element is subject to removal in a future version.Utility method for creating an array of local property definition adapters for an array of remote property definitions.PropertyDefinition[]
getPropertyDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.NodeTypeIterator
getSubtypes()
Deprecated, for removal: This API element is subject to removal in a future version.NodeType[]
getSupertypes()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasOrderableChildNodes()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isAbstract()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isMixin()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isNodeType(String type)
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isQueryable()
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
-
ClientNodeType
public ClientNodeType(RemoteNodeType 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.- Parameters:
remote
- remote node typefactory
- local adapter factory
-
-
Method Detail
-
getPropertyDefArray
protected PropertyDefinition[] getPropertyDefArray(RemotePropertyDefinition[] remotes)
Deprecated, for removal: This API element is subject to removal in a future version.Utility method for creating an array of local property definition adapters for an array of remote property definitions. The property definition adapters are created using the local adapter factory.A
null
input is treated as an empty array.- Parameters:
remotes
- remote property definitions- Returns:
- local property definition array
-
getName
public String getName()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getName
in interfaceNodeTypeDefinition
-
isMixin
public boolean isMixin()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isMixin
in interfaceNodeTypeDefinition
-
hasOrderableChildNodes
public boolean hasOrderableChildNodes()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasOrderableChildNodes
in interfaceNodeTypeDefinition
-
getSupertypes
public NodeType[] getSupertypes()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSupertypes
in interfaceNodeType
-
getDeclaredSupertypes
public NodeType[] getDeclaredSupertypes()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDeclaredSupertypes
in interfaceNodeType
-
isNodeType
public boolean isNodeType(String type)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isNodeType
in interfaceNodeType
-
getPropertyDefinitions
public PropertyDefinition[] getPropertyDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPropertyDefinitions
in interfaceNodeType
-
getDeclaredPropertyDefinitions
public PropertyDefinition[] getDeclaredPropertyDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDeclaredPropertyDefinitions
in interfaceNodeTypeDefinition
-
getChildNodeDefinitions
public NodeDefinition[] getChildNodeDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getChildNodeDefinitions
in interfaceNodeType
-
getDeclaredChildNodeDefinitions
public NodeDefinition[] getDeclaredChildNodeDefinitions()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDeclaredChildNodeDefinitions
in interfaceNodeTypeDefinition
-
canSetProperty
public boolean canSetProperty(String name, Value value)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canSetProperty
in interfaceNodeType
-
canSetProperty
public boolean canSetProperty(String name, Value[] values)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canSetProperty
in interfaceNodeType
-
canAddChildNode
public boolean canAddChildNode(String name)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canAddChildNode
in interfaceNodeType
-
canAddChildNode
public boolean canAddChildNode(String name, String type)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canAddChildNode
in interfaceNodeType
-
canRemoveItem
public boolean canRemoveItem(String name)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canRemoveItem
in interfaceNodeType
-
getPrimaryItemName
public String getPrimaryItemName()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPrimaryItemName
in interfaceNodeTypeDefinition
-
canRemoveNode
public boolean canRemoveNode(String nodeName)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canRemoveNode
in interfaceNodeType
-
canRemoveProperty
public boolean canRemoveProperty(String propertyName)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
canRemoveProperty
in interfaceNodeType
-
getDeclaredSubtypes
public NodeTypeIterator getDeclaredSubtypes()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDeclaredSubtypes
in interfaceNodeType
-
getSubtypes
public NodeTypeIterator getSubtypes()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getSubtypes
in interfaceNodeType
-
getDeclaredSupertypeNames
public String[] getDeclaredSupertypeNames()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDeclaredSupertypeNames
in interfaceNodeTypeDefinition
-
isAbstract
public boolean isAbstract()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isAbstract
in interfaceNodeTypeDefinition
-
isQueryable
public boolean isQueryable()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isQueryable
in interfaceNodeTypeDefinition
-
-