public class ClientNodeType extends ClientObject
RemoteNodeType
interface. This class makes a remote node type locally available using
the JCR NodeType interface.javax.jcr.nodetype.NodeType,
RemoteNodeType| Constructor and Description |
|---|
ClientNodeType(RemoteNodeType remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote node type.
|
| Modifier and Type | Method and Description |
|---|---|
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,
Value value) |
boolean |
canSetProperty(java.lang.String name,
Value[] values) |
NodeDefinition[] |
getChildNodeDefinitions() |
NodeDefinition[] |
getDeclaredChildNodeDefinitions() |
PropertyDefinition[] |
getDeclaredPropertyDefinitions() |
NodeTypeIterator |
getDeclaredSubtypes() |
java.lang.String[] |
getDeclaredSupertypeNames() |
NodeType[] |
getDeclaredSupertypes() |
java.lang.String |
getName() |
java.lang.String |
getPrimaryItemName() |
PropertyDefinition[] |
getPropertyDefinitions() |
NodeTypeIterator |
getSubtypes() |
NodeType[] |
getSupertypes() |
boolean |
hasOrderableChildNodes() |
boolean |
isAbstract() |
boolean |
isMixin() |
boolean |
isNodeType(java.lang.String type) |
boolean |
isQueryable() |
public ClientNodeType(RemoteNodeType remote, LocalAdapterFactory factory)
remote - remote node typefactory - local adapter factorypublic java.lang.String getName()
public boolean isMixin()
public boolean hasOrderableChildNodes()
public NodeType[] getSupertypes()
public NodeType[] getDeclaredSupertypes()
public boolean isNodeType(java.lang.String type)
public PropertyDefinition[] getPropertyDefinitions()
public PropertyDefinition[] getDeclaredPropertyDefinitions()
public NodeDefinition[] getChildNodeDefinitions()
public NodeDefinition[] getDeclaredChildNodeDefinitions()
public boolean canSetProperty(java.lang.String name,
Value value)
public boolean canSetProperty(java.lang.String name,
Value[] values)
public boolean canAddChildNode(java.lang.String name)
public boolean canAddChildNode(java.lang.String name,
java.lang.String type)
public boolean canRemoveItem(java.lang.String name)
public java.lang.String getPrimaryItemName()
public boolean canRemoveNode(java.lang.String nodeName)
public boolean canRemoveProperty(java.lang.String propertyName)
public NodeTypeIterator getDeclaredSubtypes()
public NodeTypeIterator getSubtypes()
public java.lang.String[] getDeclaredSupertypeNames()
public boolean isAbstract()
public boolean isQueryable()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"