Package org.apache.jackrabbit.rmi.remote
Interface RemoteNodeDefinition
-
- All Superinterfaces:
Remote
,RemoteItemDefinition
- All Known Implementing Classes:
ServerNodeDefinition
@Deprecated(forRemoval=true) public interface RemoteNodeDefinition extends RemoteItemDefinition
Deprecated, for removal: This API element is subject to removal in a future version.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
NodeDefinition
interface. Used by theServerNodeDefinition
andClientNodeDefinition
adapters 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
NodeType
return values are returned as remote references to theRemoteNodeType
interface. 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 boolean
allowsSameNameSiblings()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.allowSameNameSibs()
method.RemoteNodeType
getDefaultPrimaryType()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryType()
method.String
getDefaultPrimaryTypeName()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryTypeName()
method.String[]
getRequiredPrimaryTypeNames()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypeNames()
method.RemoteNodeType[]
getRequiredPrimaryTypes()
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypes()
method.- Returns:
- required primary node types
- Throws:
RemoteException
- on RMI errors
-
getDefaultPrimaryType
RemoteNodeType getDefaultPrimaryType() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryType()
method.- Returns:
- default primary node type
- Throws:
RemoteException
- on RMI errors
-
allowsSameNameSiblings
boolean allowsSameNameSiblings() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.allowSameNameSibs()
method.- Returns:
true
if same name siblings are allowed,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getDefaultPrimaryTypeName
String getDefaultPrimaryTypeName() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getDefaultPrimaryTypeName()
method.- Returns:
- a String
- Throws:
RemoteException
- on RMI errors
-
getRequiredPrimaryTypeNames
String[] getRequiredPrimaryTypeNames() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theNodeDef.getRequiredPrimaryTypeNames()
method.- Returns:
- a String array
- Throws:
RemoteException
- on RMI errors
-
-