|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.rmi.client.ClientObject org.apache.jackrabbit.rmi.client.ClientNodeType
public class ClientNodeType
Local adapter for the JCR-RMI
RemoteNodeType
interface. This class makes a remote node type locally available using
the JCR NodeType
interface.
NodeType
,
RemoteNodeType
Constructor Summary | |
---|---|
ClientNodeType(RemoteNodeType remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote node type. |
Method Summary | |
---|---|
boolean |
canAddChildNode(String name)
|
boolean |
canAddChildNode(String name,
String type)
|
boolean |
canRemoveItem(String name)
|
boolean |
canSetProperty(String name,
Value value)
|
boolean |
canSetProperty(String name,
Value[] values)
|
NodeDefinition[] |
getChildNodeDefinitions()
|
NodeDefinition[] |
getDeclaredChildNodeDefinitions()
|
PropertyDefinition[] |
getDeclaredPropertyDefinitions()
|
NodeType[] |
getDeclaredSupertypes()
|
String |
getName()
|
String |
getPrimaryItemName()
|
protected PropertyDefinition[] |
getPropertyDefArray(RemotePropertyDefinition[] remotes)
Utility method for creating an array of local property definition adapters for an array of remote property definitions. |
PropertyDefinition[] |
getPropertyDefinitions()
|
NodeType[] |
getSupertypes()
|
boolean |
hasOrderableChildNodes()
|
boolean |
isMixin()
|
boolean |
isNodeType(String type)
|
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject |
---|
getFactory, getItem, getNode, getNodeTypeArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientNodeType(RemoteNodeType remote, LocalAdapterFactory factory)
remote
- remote node typefactory
- local adapter factoryMethod Detail |
---|
protected PropertyDefinition[] getPropertyDefArray(RemotePropertyDefinition[] remotes)
A null
input is treated as an empty array.
remotes
- remote property definitions
public String getName()
getName
in interface NodeType
public boolean isMixin()
isMixin
in interface NodeType
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface NodeType
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 NodeType
public NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions
in interface NodeType
public NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions
in interface NodeType
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 NodeType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |