Package org.apache.jackrabbit.rmi.remote
Interface RemoteNodeDefinition
-
- All Superinterfaces:
Remote,RemoteItemDefinition
- All Known Implementing Classes:
ServerNodeDefinition
@Deprecated public interface RemoteNodeDefinition extends RemoteItemDefinition
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.Remote version of the JCR
NodeDefinitioninterface. Used by theServerNodeDefinitionandClientNodeDefinitionadapters to provide transparent RMI access to remote node definitions.The methods in this interface are documented only with a reference to a corresponding NodeDef method. The remote object will simply forward the method call to the underlying NodeDef instance. Return values and possible exceptions are copied over the network. Complex
NodeTypereturn values are returned as remote references to theRemoteNodeTypeinterface. RMI errors are signaled with RemoteExceptions.- See Also:
NodeDefinition,ClientNodeDefinition,ServerNodeDefinition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanallowsSameNameSiblings()Deprecated.Remote version of theNodeDef.allowSameNameSibs()method.RemoteNodeTypegetDefaultPrimaryType()Deprecated.Remote version of theNodeDef.getDefaultPrimaryType()method.StringgetDefaultPrimaryTypeName()Deprecated.Remote version of theNodeDef.getDefaultPrimaryTypeName()method.String[]getRequiredPrimaryTypeNames()Deprecated.Remote version of theNodeDef.getRequiredPrimaryTypeNames()method.RemoteNodeType[]getRequiredPrimaryTypes()Deprecated.Remote version of theNodeDef.getRequiredPrimaryTypes()method.-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
getDeclaringNodeType, getName, getOnParentVersion, isAutoCreated, isMandatory, isProtected
-
-
-
-
Method Detail
-
getRequiredPrimaryTypes
RemoteNodeType[] getRequiredPrimaryTypes() throws RemoteException
Deprecated.Remote version of theNodeDef.getRequiredPrimaryTypes()method.- Returns:
- required primary node types
- Throws:
RemoteException- on RMI errors
-
getDefaultPrimaryType
RemoteNodeType getDefaultPrimaryType() throws RemoteException
Deprecated.Remote version of theNodeDef.getDefaultPrimaryType()method.- Returns:
- default primary node type
- Throws:
RemoteException- on RMI errors
-
allowsSameNameSiblings
boolean allowsSameNameSiblings() throws RemoteExceptionDeprecated.Remote version of theNodeDef.allowSameNameSibs()method.- Returns:
trueif same name siblings are allowed,falseotherwise- Throws:
RemoteException- on RMI errors
-
getDefaultPrimaryTypeName
String getDefaultPrimaryTypeName() throws RemoteException
Deprecated.Remote version of theNodeDef.getDefaultPrimaryTypeName()method.- Returns:
- a String
- Throws:
RemoteException- on RMI errors
-
getRequiredPrimaryTypeNames
String[] getRequiredPrimaryTypeNames() throws RemoteException
Deprecated.Remote version of theNodeDef.getRequiredPrimaryTypeNames()method.- Returns:
- a String array
- Throws:
RemoteException- on RMI errors
-
-