|
||||||||||
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
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 | |
---|---|
ClientNodeType(RemoteNodeType remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote node type. |
Method Summary | |
---|---|
boolean |
canAddChildNode(java.lang.String name)
|
boolean |
canAddChildNode(java.lang.String name,
java.lang.String type)
|
boolean |
canRemoveItem(java.lang.String name)
|
boolean |
canRemoveNode(java.lang.String nodeName)
|
boolean |
canRemoveProperty(java.lang.String propertyName)
|
boolean |
canSetProperty(java.lang.String name,
javax.jcr.Value value)
|
boolean |
canSetProperty(java.lang.String name,
javax.jcr.Value[] values)
|
javax.jcr.nodetype.NodeDefinition[] |
getChildNodeDefinitions()
|
javax.jcr.nodetype.NodeDefinition[] |
getDeclaredChildNodeDefinitions()
|
javax.jcr.nodetype.PropertyDefinition[] |
getDeclaredPropertyDefinitions()
|
javax.jcr.nodetype.NodeTypeIterator |
getDeclaredSubtypes()
|
java.lang.String[] |
getDeclaredSupertypeNames()
|
javax.jcr.nodetype.NodeType[] |
getDeclaredSupertypes()
|
java.lang.String |
getName()
|
java.lang.String |
getPrimaryItemName()
|
protected javax.jcr.nodetype.PropertyDefinition[] |
getPropertyDefArray(RemotePropertyDefinition[] remotes)
Utility method for creating an array of local property definition adapters for an array of remote property definitions. |
javax.jcr.nodetype.PropertyDefinition[] |
getPropertyDefinitions()
|
javax.jcr.nodetype.NodeTypeIterator |
getSubtypes()
|
javax.jcr.nodetype.NodeType[] |
getSupertypes()
|
boolean |
hasOrderableChildNodes()
|
boolean |
isAbstract()
|
boolean |
isMixin()
|
boolean |
isNodeType(java.lang.String type)
|
boolean |
isQueryable()
|
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 javax.jcr.nodetype.PropertyDefinition[] getPropertyDefArray(RemotePropertyDefinition[] remotes)
A null
input is treated as an empty array.
remotes
- remote property definitions
public java.lang.String getName()
getName
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean isMixin()
isMixin
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean hasOrderableChildNodes()
hasOrderableChildNodes
in interface javax.jcr.nodetype.NodeTypeDefinition
public javax.jcr.nodetype.NodeType[] getSupertypes()
getSupertypes
in interface javax.jcr.nodetype.NodeType
public javax.jcr.nodetype.NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes
in interface javax.jcr.nodetype.NodeType
public boolean isNodeType(java.lang.String type)
isNodeType
in interface javax.jcr.nodetype.NodeType
public javax.jcr.nodetype.PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions
in interface javax.jcr.nodetype.NodeType
public javax.jcr.nodetype.PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions
in interface javax.jcr.nodetype.NodeTypeDefinition
public javax.jcr.nodetype.NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions
in interface javax.jcr.nodetype.NodeType
public javax.jcr.nodetype.NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean canSetProperty(java.lang.String name, javax.jcr.Value value)
canSetProperty
in interface javax.jcr.nodetype.NodeType
public boolean canSetProperty(java.lang.String name, javax.jcr.Value[] values)
canSetProperty
in interface javax.jcr.nodetype.NodeType
public boolean canAddChildNode(java.lang.String name)
canAddChildNode
in interface javax.jcr.nodetype.NodeType
public boolean canAddChildNode(java.lang.String name, java.lang.String type)
canAddChildNode
in interface javax.jcr.nodetype.NodeType
public boolean canRemoveItem(java.lang.String name)
canRemoveItem
in interface javax.jcr.nodetype.NodeType
public java.lang.String getPrimaryItemName()
getPrimaryItemName
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean canRemoveNode(java.lang.String nodeName)
canRemoveNode
in interface javax.jcr.nodetype.NodeType
public boolean canRemoveProperty(java.lang.String propertyName)
canRemoveProperty
in interface javax.jcr.nodetype.NodeType
public javax.jcr.nodetype.NodeTypeIterator getDeclaredSubtypes()
getDeclaredSubtypes
in interface javax.jcr.nodetype.NodeType
public javax.jcr.nodetype.NodeTypeIterator getSubtypes()
getSubtypes
in interface javax.jcr.nodetype.NodeType
public java.lang.String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean isAbstract()
isAbstract
in interface javax.jcr.nodetype.NodeTypeDefinition
public boolean isQueryable()
isQueryable
in interface javax.jcr.nodetype.NodeTypeDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |