public class ServerNodeDefinition extends ServerItemDefinition implements RemoteNodeDefinition
NodeDefinition
interface. This class makes a local node definition available as an
RMI service using the
RemoteNodeDefinition
interface.NodeDefinition
,
RemoteNodeDefinition
,
Serialized Formref
Constructor and Description |
---|
ServerNodeDefinition(javax.jcr.nodetype.NodeDefinition def,
RemoteAdapterFactory factory)
Creates a remote adapter for the given local node definition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsSameNameSiblings()
Remote version of the
NodeDef.allowSameNameSibs()
method. |
RemoteNodeType |
getDefaultPrimaryType()
Remote version of the
NodeDef.getDefaultPrimaryType()
method. |
String |
getDefaultPrimaryTypeName()
Remote version of the
NodeDef.getDefaultPrimaryTypeName()
method. |
String[] |
getRequiredPrimaryTypeNames()
Remote version of the
NodeDef.getRequiredPrimaryTypeNames()
method. |
RemoteNodeType[] |
getRequiredPrimaryTypes()
Remote version of the
NodeDef.getRequiredPrimaryTypes()
method. |
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
clone, exportObject, exportObject, exportObject, unexportObject
getClientHost, getLog, setLog
equals, getRef, hashCode, toString, toStub
finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
public ServerNodeDefinition(javax.jcr.nodetype.NodeDefinition def, RemoteAdapterFactory factory) throws RemoteException
def
- local node definitionfactory
- remote adapter factoryRemoteException
- on RMI errorspublic RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException
NodeDef.getRequiredPrimaryTypes()
method.getRequiredPrimaryTypes
in interface RemoteNodeDefinition
RemoteException
- on RMI errorspublic RemoteNodeType getDefaultPrimaryType() throws RemoteException
NodeDef.getDefaultPrimaryType()
method.getDefaultPrimaryType
in interface RemoteNodeDefinition
RemoteException
- on RMI errorspublic boolean allowsSameNameSiblings() throws RemoteException
NodeDef.allowSameNameSibs()
method.allowsSameNameSiblings
in interface RemoteNodeDefinition
true
if same name siblings are allowed,
false
otherwiseRemoteException
- on RMI errorspublic String getDefaultPrimaryTypeName() throws RemoteException
NodeDef.getDefaultPrimaryTypeName()
method.getDefaultPrimaryTypeName
in interface RemoteNodeDefinition
RemoteException
- on RMI errorspublic String[] getRequiredPrimaryTypeNames() throws RemoteException
NodeDef.getRequiredPrimaryTypeNames()
method.getRequiredPrimaryTypeNames
in interface RemoteNodeDefinition
RemoteException
- on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.