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(String name) |
boolean |
canAddChildNode(String name,
String type) |
boolean |
canRemoveItem(String name) |
boolean |
canRemoveNode(String nodeName) |
boolean |
canRemoveProperty(String propertyName) |
boolean |
canSetProperty(String name,
Value value) |
boolean |
canSetProperty(String name,
Value[] values) |
NodeDefinition[] |
getChildNodeDefinitions() |
NodeDefinition[] |
getDeclaredChildNodeDefinitions() |
PropertyDefinition[] |
getDeclaredPropertyDefinitions() |
NodeTypeIterator |
getDeclaredSubtypes() |
String[] |
getDeclaredSupertypeNames() |
NodeType[] |
getDeclaredSupertypes() |
String |
getName() |
String |
getPrimaryItemName() |
PropertyDefinition[] |
getPropertyDefinitions() |
NodeTypeIterator |
getSubtypes() |
NodeType[] |
getSupertypes() |
boolean |
hasOrderableChildNodes() |
boolean |
isAbstract() |
boolean |
isMixin() |
boolean |
isNodeType(String type) |
boolean |
isQueryable() |
public ClientNodeType(RemoteNodeType remote, LocalAdapterFactory factory)
remote
- remote node typefactory
- local adapter factorypublic String getName()
public boolean isMixin()
public boolean hasOrderableChildNodes()
public NodeType[] getSupertypes()
public NodeType[] getDeclaredSupertypes()
public boolean isNodeType(String type)
public PropertyDefinition[] getPropertyDefinitions()
public PropertyDefinition[] getDeclaredPropertyDefinitions()
public NodeDefinition[] getChildNodeDefinitions()
public NodeDefinition[] getDeclaredChildNodeDefinitions()
public boolean canSetProperty(String name, Value value)
public boolean canSetProperty(String name, Value[] values)
public boolean canAddChildNode(String name)
public boolean canRemoveItem(String name)
public String getPrimaryItemName()
public boolean canRemoveNode(String nodeName)
public boolean canRemoveProperty(String propertyName)
public NodeTypeIterator getDeclaredSubtypes()
public NodeTypeIterator getSubtypes()
public String[] getDeclaredSupertypeNames()
public boolean isAbstract()
public boolean isQueryable()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"