public class ServerNodeType extends ServerObject implements RemoteNodeType
NodeType
interface. This class makes a local node type available as an RMI service
using the
RemoteNodeType
interface.NodeType,
RemoteNodeType,
Serialized Formref| Constructor and Description |
|---|
ServerNodeType(javax.jcr.nodetype.NodeType type,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local node type.
|
| 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. |
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerNodeType(javax.jcr.nodetype.NodeType type,
RemoteAdapterFactory factory)
throws RemoteException
type - local node typefactory - remote adapter factoryRemoteException - on RMI errorspublic String getName() throws RemoteException
NodeType.getName() method.getName in interface RemoteNodeTypeRemoteException - on RMI errorspublic boolean isMixin()
throws RemoteException
NodeType.isMixin() method.isMixin in interface RemoteNodeTypetrue if this is a mixin type,
false otherwiseRemoteException - on RMI errorspublic boolean isAbstract()
throws RemoteException
NodeType.isAbstract() method.isAbstract in interface RemoteNodeTypetrue if this is an abstract type,
false otherwiseRemoteException - on RMI errorspublic boolean hasOrderableChildNodes()
throws RemoteException
NodeType.hasOrderableChildNodes()
method.hasOrderableChildNodes in interface RemoteNodeTypetrue if nodes of this type has orderable
child nodes, false otherwiseRemoteException - on RMI errorspublic RemoteNodeType[] getSupertypes() throws RemoteException
NodeType.getSupertypes()
method.getSupertypes in interface RemoteNodeTypeRemoteException - on RMI errorspublic RemoteNodeType[] getDeclaredSupertypes() throws RemoteException
NodeType.getDeclaredSupertypes()
method.getDeclaredSupertypes in interface RemoteNodeTypeRemoteException - on RMI errorspublic boolean isNodeType(String type) throws RemoteException
NodeType.isNodeType(String)
method.isNodeType in interface RemoteNodeTypetype - node type nametrue if this node type is or extends the
given node type, false otherwiseRemoteException - on RMI errorspublic RemotePropertyDefinition[] getPropertyDefs() throws RemoteException
NodeType.getPropertyDefinitions()
method.getPropertyDefs in interface RemoteNodeTypeRemoteException - on RMI errorspublic RemotePropertyDefinition[] getDeclaredPropertyDefs() throws RemoteException
NodeType.getDeclaredPropertyDefinitions()
method.getDeclaredPropertyDefs in interface RemoteNodeTypeRemoteException - on RMI errorspublic RemoteNodeDefinition[] getChildNodeDefs() throws RemoteException
NodeType.getChildNodeDefinitions()
method.getChildNodeDefs in interface RemoteNodeTypeRemoteException - on RMI errorspublic RemoteNodeDefinition[] getDeclaredChildNodeDefs() throws RemoteException
NodeType.getDeclaredChildNodeDefinitions()
method.getDeclaredChildNodeDefs in interface RemoteNodeTypeRemoteException - on RMI errorspublic boolean canSetProperty(String name, javax.jcr.Value value) throws RemoteException
NodeType.canSetProperty(String,Value)
method.canSetProperty in interface RemoteNodeTypename - property namevalue - property valuetrue if the property can be set,
false otherwiseRemoteException - on RMI errorspublic boolean canSetProperty(String name, javax.jcr.Value[] values) throws RemoteException
NodeType.canSetProperty(String,Value[])
method.canSetProperty in interface RemoteNodeTypename - property namevalues - property valuestrue if the property can be set,
false otherwiseRemoteException - on RMI errorspublic boolean canAddChildNode(String name) throws RemoteException
NodeType.canAddChildNode(String)
method.canAddChildNode in interface RemoteNodeTypename - child node nametrue if the child node can be added,
false otherwiseRemoteException - on RMI errorspublic boolean canAddChildNode(String name, String type) throws RemoteException
NodeType.canAddChildNode(String,String)
method.canAddChildNode in interface RemoteNodeTypename - child node nametype - child node typetrue if the child node can be added,
false otherwiseRemoteException - on RMI errorspublic boolean canRemoveItem(String name) throws RemoteException
NodeType.canRemoveItem(String)
method.canRemoveItem in interface RemoteNodeTypename - item nametrue if the item can be removed,
false otherwiseRemoteException - on RMI errorspublic String getPrimaryItemName() throws RemoteException
NodeType.getPrimaryItemName()
method.getPrimaryItemName in interface RemoteNodeTypeRemoteException - on RMI errorspublic boolean canRemoveNode(String nodeName)
NodeType.canRemoveNode()
method.canRemoveNode in interface RemoteNodeTypepublic boolean canRemoveProperty(String propertyName)
NodeType.canRemoveProperty()
method.canRemoveProperty in interface RemoteNodeTypepublic String[] getDeclaredSupertypeNames()
NodeType.getDeclaredSupertypeNames()
method.getDeclaredSupertypeNames in interface RemoteNodeTypepublic boolean isQueryable()
NodeType.isQueryable()
method.isQueryable in interface RemoteNodeTypepublic RemoteIterator getDeclaredSubtypes() throws RemoteException
NodeType.getDeclaredSubtypes()
method.getDeclaredSubtypes in interface RemoteNodeTypeRemoteException - on RMI errorspublic RemoteIterator getSubtypes() throws RemoteException
NodeType.getSubtypes()
method.getSubtypes in interface RemoteNodeTypeRemoteException - on RMI errorsCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.