Package org.apache.jackrabbit.rmi.remote
Interface RemoteItemDefinition
-
- All Superinterfaces:
Remote
- All Known Subinterfaces:
RemoteNodeDefinition
,RemotePropertyDefinition
- All Known Implementing Classes:
ServerItemDefinition
,ServerNodeDefinition
,ServerPropertyDefinition
@Deprecated(forRemoval=true) public interface RemoteItemDefinition extends Remote
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
ItemDef
interface. Used by theServerItemDefinition
andClientItemDefinition
adapter 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
NodeType
return values are returned as remote references to theRemoteNodeType
interface. 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 RemoteNodeType
getDeclaringNodeType()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.getDeclaringNodeType()
method.String
getName()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.getName()
method.int
getOnParentVersion()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.getOnParentVersion()
method.boolean
isAutoCreated()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.isAutoCreate()
method.boolean
isMandatory()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.isMandatory()
method.boolean
isProtected()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.isProtected()
method.
-
-
-
Method Detail
-
getDeclaringNodeType
RemoteNodeType getDeclaringNodeType() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.getDeclaringNodeType()
method.- Returns:
- declaring node type
- Throws:
RemoteException
- on RMI errors
-
getName
String getName() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.getName()
method.- Returns:
- item name
- Throws:
RemoteException
- on RMI errors
-
isAutoCreated
boolean isAutoCreated() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.isAutoCreate()
method.- Returns:
true
if the item is automatically created,false
otherwise- Throws:
RemoteException
- on RMI errors
-
isMandatory
boolean isMandatory() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.isMandatory()
method.- Returns:
true
if the item is mandatory,false
otherwise- Throws:
RemoteException
- on RMI errors
-
getOnParentVersion
int getOnParentVersion() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.getOnParentVersion()
method.- Returns:
- parent version behaviour
- Throws:
RemoteException
- on RMI errors
-
isProtected
boolean isProtected() throws RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theItemDef.isProtected()
method.- Returns:
true
if the item is protected,false
otherwise- Throws:
RemoteException
- on RMI errors
-
-