Package org.apache.jackrabbit.rmi.remote
Interface RemoteVersion
-
- All Superinterfaces:
Remote
,RemoteItem
,RemoteNode
- All Known Implementing Classes:
ServerVersion
@Deprecated(forRemoval=true) public interface RemoteVersion extends RemoteNode
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
Version
interface. Used by theServerVersion
andClientVersion
adapters to provide transparent RMI access to remote versions.The methods in this interface are documented only with a reference to a corresponding Version method. The remote object will simply forward the method call to the underlying Version instance. Argument and return values, as well as possible exceptions, are copied over the network. Complex return values (like Versions) are returned as remote references to the corresponding remote interfaces. Iterator values are transmitted as object arrays. RMI errors are signaled with RemoteExceptions.
- See Also:
Version
,ClientVersion
,ServerVersion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RemoteVersionHistory
getContainingHistory()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getContainingHistory()
method.Calendar
getCreated()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getCreated()
method.RemoteNode
getFrozenNode()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getFrozenNode()
method.RemoteVersion
getLinearPredecessor()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearPredecessor()
method.RemoteVersion
getLinearSuccessor()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearSuccessor()
method.RemoteVersion[]
getPredecessors()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getPredecessors()
method.RemoteVersion[]
getSuccessors()
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getSuccessors()
method.-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteItem
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
-
Methods inherited from interface org.apache.jackrabbit.rmi.remote.RemoteNode
addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restoreByLabel, restoreByUUID, setPrimaryType, setProperty, setProperty, setProperty, setProperty, unlock, update
-
-
-
-
Method Detail
-
getContainingHistory
RemoteVersionHistory getContainingHistory() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getContainingHistory()
method.- Returns:
- a
RemoteVersionHistory
object. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getCreated
Calendar getCreated() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getCreated()
method.- Returns:
- a
Calendar
object. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getLinearSuccessor
RemoteVersion getLinearSuccessor() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearSuccessor()
method.- Returns:
- a
RemoteVersion
ornull
if no linear successor exists. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
RemoteVersionHistory.getAllLinearVersions()
-
getSuccessors
RemoteVersion[] getSuccessors() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getSuccessors()
method.- Returns:
- a
RemoteVersion
array. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getLinearPredecessor
RemoteVersion getLinearPredecessor() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getLinearPredecessor()
method.- Returns:
- a
RemoteVersion
ornull
if no linear predecessor exists. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors- See Also:
RemoteVersionHistory.getAllLinearVersions()
-
getPredecessors
RemoteVersion[] getPredecessors() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getPredecessors()
method.- Returns:
- a
RemoteVersion
array. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
getFrozenNode
RemoteNode getFrozenNode() throws RepositoryException, RemoteException
Deprecated, for removal: This API element is subject to removal in a future version.Remote version of theVersion.getFrozenNode()
method.- Returns:
- a
RemoteNode
object. - Throws:
RepositoryException
- on repository errorsRemoteException
- on RMI errors
-
-