Package org.apache.jackrabbit.rmi.remote
Interface RemoteItemDefinition
-
- All Superinterfaces:
Remote
- All Known Subinterfaces:
RemoteNodeDefinition,RemotePropertyDefinition
- All Known Implementing Classes:
ServerItemDefinition,ServerNodeDefinition,ServerPropertyDefinition
@Deprecated public interface RemoteItemDefinition extends Remote
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
ItemDefinterface. Used by theServerItemDefinitionandClientItemDefinitionadapter base classes to provide transparent RMI access to remote item definitions.The methods in this interface are documented only with a reference to a corresponding ItemDef method. The remote object will simply forward the method call to the underlying ItemDef instance. Argument and return values, as well as 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:
ItemDefinition,ClientItemDefinition,ServerItemDefinition
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RemoteNodeTypegetDeclaringNodeType()Deprecated.Remote version of theItemDef.getDeclaringNodeType()method.StringgetName()Deprecated.Remote version of theItemDef.getName()method.intgetOnParentVersion()Deprecated.Remote version of theItemDef.getOnParentVersion()method.booleanisAutoCreated()Deprecated.Remote version of theItemDef.isAutoCreate()method.booleanisMandatory()Deprecated.Remote version of theItemDef.isMandatory()method.booleanisProtected()Deprecated.Remote version of theItemDef.isProtected()method.
-
-
-
Method Detail
-
getDeclaringNodeType
RemoteNodeType getDeclaringNodeType() throws RemoteException
Deprecated.Remote version of theItemDef.getDeclaringNodeType()method.- Returns:
- declaring node type
- Throws:
RemoteException- on RMI errors
-
getName
String getName() throws RemoteException
Deprecated.Remote version of theItemDef.getName()method.- Returns:
- item name
- Throws:
RemoteException- on RMI errors
-
isAutoCreated
boolean isAutoCreated() throws RemoteExceptionDeprecated.Remote version of theItemDef.isAutoCreate()method.- Returns:
trueif the item is automatically created,falseotherwise- Throws:
RemoteException- on RMI errors
-
isMandatory
boolean isMandatory() throws RemoteExceptionDeprecated.Remote version of theItemDef.isMandatory()method.- Returns:
trueif the item is mandatory,falseotherwise- Throws:
RemoteException- on RMI errors
-
getOnParentVersion
int getOnParentVersion() throws RemoteExceptionDeprecated.Remote version of theItemDef.getOnParentVersion()method.- Returns:
- parent version behaviour
- Throws:
RemoteException- on RMI errors
-
isProtected
boolean isProtected() throws RemoteExceptionDeprecated.Remote version of theItemDef.isProtected()method.- Returns:
trueif the item is protected,falseotherwise- Throws:
RemoteException- on RMI errors
-
-