|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 factory| Method 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 NodeTypepublic boolean isMixin()
isMixin in interface NodeTypepublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface NodeTypepublic NodeType[] getSupertypes()
getSupertypes in interface NodeTypepublic NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes in interface NodeTypepublic boolean isNodeType(String type)
isNodeType in interface NodeTypepublic PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions in interface NodeTypepublic PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface NodeTypepublic NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions in interface NodeTypepublic 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 NodeTypepublic boolean canAddChildNode(String name)
canAddChildNode in interface NodeType
public boolean canAddChildNode(String name,
String type)
canAddChildNode in interface NodeTypepublic boolean canRemoveItem(String name)
canRemoveItem in interface NodeTypepublic String getPrimaryItemName()
getPrimaryItemName in interface NodeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||