public interface RemoteNodeType extends Remote
NodeType
interface. Used by the
ServerNodeType and
ClientNodeType
adapters to provide transparent RMI access to remote node types.
The methods in this interface are documented only with a reference to a corresponding NodeType method. The remote object will simply forward the method call to the underlying NodeType instance. Return values and possible exceptions are copied over the network. Complex return values (like NodeTypes and PropertyDefs) are returned as remote references to the corresponding remote interfaces. RMI errors are signaled with RemoteExceptions.
NodeType,
ClientNodeType,
ServerNodeType| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddChildNode(String name)
Remote version of the
NodeType.canAddChildNode(String)
method. |
boolean |
canAddChildNode(String name,
String type)
Remote version of the
NodeType.canAddChildNode(String,String)
method. |
boolean |
canRemoveItem(String name)
Remote version of the
NodeType.canRemoveItem(String)
method. |
boolean |
canRemoveNode(String nodeName)
Remote version of the
NodeType.canRemoveNode()
method. |
boolean |
canRemoveProperty(String propertyName)
Remote version of the
NodeType.canRemoveProperty()
method. |
boolean |
canSetProperty(String name,
javax.jcr.Value value)
Remote version of the
NodeType.canSetProperty(String,Value)
method. |
boolean |
canSetProperty(String name,
javax.jcr.Value[] values)
Remote version of the
NodeType.canSetProperty(String,Value[])
method. |
RemoteNodeDefinition[] |
getChildNodeDefs()
Remote version of the
NodeType.getChildNodeDefinitions()
method. |
RemoteNodeDefinition[] |
getDeclaredChildNodeDefs()
Remote version of the
NodeType.getDeclaredChildNodeDefinitions()
method. |
RemotePropertyDefinition[] |
getDeclaredPropertyDefs()
Remote version of the
NodeType.getDeclaredPropertyDefinitions()
method. |
RemoteIterator |
getDeclaredSubtypes()
Remote version of the
NodeType.getDeclaredSubtypes()
method. |
String[] |
getDeclaredSupertypeNames()
Remote version of the
NodeType.getDeclaredSupertypeNames()
method. |
RemoteNodeType[] |
getDeclaredSupertypes()
Remote version of the
NodeType.getDeclaredSupertypes()
method. |
String |
getName()
Remote version of the
NodeType.getName() method. |
String |
getPrimaryItemName()
Remote version of the
NodeType.getPrimaryItemName()
method. |
RemotePropertyDefinition[] |
getPropertyDefs()
Remote version of the
NodeType.getPropertyDefinitions()
method. |
RemoteIterator |
getSubtypes()
Remote version of the
NodeType.getSubtypes()
method. |
RemoteNodeType[] |
getSupertypes()
Remote version of the
NodeType.getSupertypes()
method. |
boolean |
hasOrderableChildNodes()
Remote version of the
NodeType.hasOrderableChildNodes()
method. |
boolean |
isAbstract()
Remote version of the
NodeType.isAbstract() method. |
boolean |
isMixin()
Remote version of the
NodeType.isMixin() method. |
boolean |
isNodeType(String type)
Remote version of the
NodeType.isNodeType(String)
method. |
boolean |
isQueryable()
Remote version of the
NodeType.isQueryable()
method. |
String getName() throws RemoteException
NodeType.getName() method.RemoteException - on RMI errorsboolean isMixin()
throws RemoteException
NodeType.isMixin() method.true if this is a mixin type,
false otherwiseRemoteException - on RMI errorsboolean isAbstract()
throws RemoteException
NodeType.isAbstract() method.true if this is an abstract type,
false otherwiseRemoteException - on RMI errorsboolean hasOrderableChildNodes()
throws RemoteException
NodeType.hasOrderableChildNodes()
method.true if nodes of this type has orderable
child nodes, false otherwiseRemoteException - on RMI errorsRemoteNodeType[] getSupertypes() throws RemoteException
NodeType.getSupertypes()
method.RemoteException - on RMI errorsRemoteNodeType[] getDeclaredSupertypes() throws RemoteException
NodeType.getDeclaredSupertypes()
method.RemoteException - on RMI errorsboolean isNodeType(String type) throws RemoteException
NodeType.isNodeType(String)
method.type - node type nametrue if this node type is or extends the
given node type, false otherwiseRemoteException - on RMI errorsRemotePropertyDefinition[] getPropertyDefs() throws RemoteException
NodeType.getPropertyDefinitions()
method.RemoteException - on RMI errorsRemotePropertyDefinition[] getDeclaredPropertyDefs() throws RemoteException
NodeType.getDeclaredPropertyDefinitions()
method.RemoteException - on RMI errorsRemoteNodeDefinition[] getChildNodeDefs() throws RemoteException
NodeType.getChildNodeDefinitions()
method.RemoteException - on RMI errorsRemoteNodeDefinition[] getDeclaredChildNodeDefs() throws RemoteException
NodeType.getDeclaredChildNodeDefinitions()
method.RemoteException - on RMI errorsboolean canSetProperty(String name, javax.jcr.Value value) throws RemoteException
NodeType.canSetProperty(String,Value)
method.name - property namevalue - property valuetrue if the property can be set,
false otherwiseRemoteException - on RMI errorsboolean canSetProperty(String name, javax.jcr.Value[] values) throws RemoteException
NodeType.canSetProperty(String,Value[])
method.name - property namevalues - property valuestrue if the property can be set,
false otherwiseRemoteException - on RMI errorsboolean canAddChildNode(String name) throws RemoteException
NodeType.canAddChildNode(String)
method.name - child node nametrue if the child node can be added,
false otherwiseRemoteException - on RMI errorsboolean canAddChildNode(String name, String type) throws RemoteException
NodeType.canAddChildNode(String,String)
method.name - child node nametype - child node typetrue if the child node can be added,
false otherwiseRemoteException - on RMI errorsboolean canRemoveItem(String name) throws RemoteException
NodeType.canRemoveItem(String)
method.name - item nametrue if the item can be removed,
false otherwiseRemoteException - on RMI errorsString getPrimaryItemName() throws RemoteException
NodeType.getPrimaryItemName()
method.RemoteException - on RMI errorsboolean canRemoveNode(String nodeName) throws RemoteException
NodeType.canRemoveNode()
method.RemoteException - on RMI errorsboolean canRemoveProperty(String propertyName) throws RemoteException
NodeType.canRemoveProperty()
method.RemoteException - on RMI errorsString[] getDeclaredSupertypeNames() throws RemoteException
NodeType.getDeclaredSupertypeNames()
method.RemoteException - on RMI errorsboolean isQueryable()
throws RemoteException
NodeType.isQueryable()
method.RemoteException - on RMI errorsRemoteIterator getDeclaredSubtypes() throws RemoteException
NodeType.getDeclaredSubtypes()
method.RemoteException - on RMI errorsRemoteIterator getSubtypes() throws RemoteException
NodeType.getSubtypes()
method.RemoteException - on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.