Local adapter for the JCR-RMI
RemoteNodeType
interface. This class makes a remote node type locally available using
the JCR NodeType
interface.
@Deprecated public class ClientNodeType extends ClientObject implements NodeType
NodeType
,
RemoteNodeType
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 and Description |
---|
ClientNodeType(RemoteNodeType remote,
LocalAdapterFactory factory)
Deprecated.
Creates a local adapter for the given remote node type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAddChildNode(String name)
Deprecated.
|
boolean |
canAddChildNode(String name,
String type)
Deprecated.
|
boolean |
canRemoveItem(String name)
Deprecated.
|
boolean |
canRemoveNode(String nodeName)
Deprecated.
|
boolean |
canRemoveProperty(String propertyName)
Deprecated.
|
boolean |
canSetProperty(String name,
Value value)
Deprecated.
|
boolean |
canSetProperty(String name,
Value[] values)
Deprecated.
|
NodeDefinition[] |
getChildNodeDefinitions()
Deprecated.
|
NodeDefinition[] |
getDeclaredChildNodeDefinitions()
Deprecated.
|
PropertyDefinition[] |
getDeclaredPropertyDefinitions()
Deprecated.
|
NodeTypeIterator |
getDeclaredSubtypes()
Deprecated.
|
String[] |
getDeclaredSupertypeNames()
Deprecated.
|
NodeType[] |
getDeclaredSupertypes()
Deprecated.
|
String |
getName()
Deprecated.
|
String |
getPrimaryItemName()
Deprecated.
|
protected PropertyDefinition[] |
getPropertyDefArray(RemotePropertyDefinition[] remotes)
Deprecated.
Utility method for creating an array of local property definition
adapters for an array of remote property definitions.
|
PropertyDefinition[] |
getPropertyDefinitions()
Deprecated.
|
NodeTypeIterator |
getSubtypes()
Deprecated.
|
NodeType[] |
getSupertypes()
Deprecated.
|
boolean |
hasOrderableChildNodes()
Deprecated.
|
boolean |
isAbstract()
Deprecated.
|
boolean |
isMixin()
Deprecated.
|
boolean |
isNodeType(String type)
Deprecated.
|
boolean |
isQueryable()
Deprecated.
|
getFactory, getItem, getNode, getNodeTypeArray
public ClientNodeType(RemoteNodeType remote, LocalAdapterFactory factory)
remote
- remote node typefactory
- local adapter factoryprotected PropertyDefinition[] getPropertyDefArray(RemotePropertyDefinition[] remotes)
A null
input is treated as an empty array.
remotes
- remote property definitionspublic String getName()
getName
in interface NodeTypeDefinition
public boolean isMixin()
isMixin
in interface NodeTypeDefinition
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface NodeTypeDefinition
public NodeType[] getSupertypes()
getSupertypes
in interface NodeType
public NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes
in interface NodeType
public boolean isNodeType(String type)
isNodeType
in interface NodeType
public PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions
in interface NodeType
public PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions
in interface NodeTypeDefinition
public NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions
in interface NodeType
public NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions
in interface NodeTypeDefinition
public boolean canSetProperty(String name, Value value)
canSetProperty
in interface NodeType
public boolean canSetProperty(String name, Value[] values)
canSetProperty
in interface NodeType
public boolean canAddChildNode(String name)
canAddChildNode
in interface NodeType
public boolean canAddChildNode(String name, String type)
canAddChildNode
in interface NodeType
public boolean canRemoveItem(String name)
canRemoveItem
in interface NodeType
public String getPrimaryItemName()
getPrimaryItemName
in interface NodeTypeDefinition
public boolean canRemoveNode(String nodeName)
canRemoveNode
in interface NodeType
public boolean canRemoveProperty(String propertyName)
canRemoveProperty
in interface NodeType
public NodeTypeIterator getDeclaredSubtypes()
getDeclaredSubtypes
in interface NodeType
public NodeTypeIterator getSubtypes()
getSubtypes
in interface NodeType
public String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames
in interface NodeTypeDefinition
public boolean isAbstract()
isAbstract
in interface NodeTypeDefinition
public boolean isQueryable()
isQueryable
in interface NodeTypeDefinition
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.