|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.rmi.api.client.ClientObject
org.exoplatform.services.jcr.rmi.api.client.ClientNodeType
public class ClientNodeType
Local adapter for the JCR-RMI RemoteNodeType inteface. This class makes a remote node type locally available using the JCR
NodeType interface.
NodeType,
rmi.api.remote.RemoteNodeType| 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 |
canSetProperty(java.lang.String name,
javax.jcr.Value value)
|
boolean |
canSetProperty(java.lang.String name,
javax.jcr.Value[] values)
|
boolean |
equals(java.lang.Object obj)
|
javax.jcr.nodetype.NodeDefinition[] |
getChildNodeDefinitions()
|
javax.jcr.nodetype.NodeDefinition[] |
getDeclaredChildNodeDefinitions()
|
javax.jcr.nodetype.PropertyDefinition[] |
getDeclaredPropertyDefinitions()
|
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.NodeType[] |
getSupertypes()
|
boolean |
hasOrderableChildNodes()
|
boolean |
isMixin()
|
boolean |
isNodeType(java.lang.String type)
|
| Methods inherited from class org.exoplatform.services.jcr.rmi.api.client.ClientObject |
|---|
getFactory, getItem, getNode, getNodeTypeArray |
| Methods inherited from class java.lang.Object |
|---|
clone, 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 |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectprotected 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.NodeTypepublic boolean isMixin()
isMixin in interface javax.jcr.nodetype.NodeTypepublic boolean hasOrderableChildNodes()
hasOrderableChildNodes in interface javax.jcr.nodetype.NodeTypepublic javax.jcr.nodetype.NodeType[] getSupertypes()
getSupertypes in interface javax.jcr.nodetype.NodeTypepublic javax.jcr.nodetype.NodeType[] getDeclaredSupertypes()
getDeclaredSupertypes in interface javax.jcr.nodetype.NodeTypepublic boolean isNodeType(java.lang.String type)
isNodeType in interface javax.jcr.nodetype.NodeTypepublic javax.jcr.nodetype.PropertyDefinition[] getPropertyDefinitions()
getPropertyDefinitions in interface javax.jcr.nodetype.NodeTypepublic javax.jcr.nodetype.PropertyDefinition[] getDeclaredPropertyDefinitions()
getDeclaredPropertyDefinitions in interface javax.jcr.nodetype.NodeTypepublic javax.jcr.nodetype.NodeDefinition[] getChildNodeDefinitions()
getChildNodeDefinitions in interface javax.jcr.nodetype.NodeTypepublic javax.jcr.nodetype.NodeDefinition[] getDeclaredChildNodeDefinitions()
getDeclaredChildNodeDefinitions in interface javax.jcr.nodetype.NodeType
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.NodeTypepublic 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.NodeTypepublic boolean canRemoveItem(java.lang.String name)
canRemoveItem in interface javax.jcr.nodetype.NodeTypepublic java.lang.String getPrimaryItemName()
getPrimaryItemName in interface javax.jcr.nodetype.NodeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||