Remote adapter for the JCR NodeType
interface. This class makes a local node type available as an RMI service
using the
RemoteNodeType
interface.
@Deprecated public class ServerNodeType extends ServerObject implements RemoteNodeType
NodeType,
RemoteNodeType,
Serialized Formref| Constructor and Description |
|---|
ServerNodeType(NodeType type,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local node type.
|
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogpublic ServerNodeType(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, 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, 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–2024 The Apache Software Foundation. All rights reserved.