|
||||||||||
| 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. |
|
| 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 NodeTypeDefinitionpublic boolean isMixin()
isMixin in interface NodeTypeDefinitionpublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface NodeTypeDefinitionpublic 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 NodeTypeDefinitionpublic NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions in interface NodeTypepublic 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 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 NodeTypeDefinitionpublic boolean canRemoveNode(String nodeName)
canRemoveNode in interface NodeTypepublic boolean canRemoveProperty(String propertyName)
canRemoveProperty in interface NodeTypepublic NodeTypeIterator getDeclaredSubtypes()
getDeclaredSubtypes in interface NodeTypepublic NodeTypeIterator getSubtypes()
getSubtypes in interface NodeTypepublic String[] getDeclaredSupertypeNames()
getDeclaredSupertypeNames in interface NodeTypeDefinitionpublic boolean isAbstract()
isAbstract in interface NodeTypeDefinitionpublic boolean isQueryable()
isQueryable in interface NodeTypeDefinition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||