Package org.apache.jackrabbit.rmi.remote
Interface RemoteVersion
-
- All Superinterfaces:
Remote,RemoteItem,RemoteNode
- All Known Implementing Classes:
ServerVersion
@Deprecated public interface RemoteVersion extends RemoteNode
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
Versioninterface. Used by theServerVersionandClientVersionadapters 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 RemoteVersionHistorygetContainingHistory()Deprecated.Remote version of theVersion.getContainingHistory()method.CalendargetCreated()Deprecated.Remote version of theVersion.getCreated()method.RemoteNodegetFrozenNode()Deprecated.Remote version of theVersion.getFrozenNode()method.RemoteVersiongetLinearPredecessor()Deprecated.Remote version of theVersion.getLinearPredecessor()method.RemoteVersiongetLinearSuccessor()Deprecated.Remote version of theVersion.getLinearSuccessor()method.RemoteVersion[]getPredecessors()Deprecated.Remote version of theVersion.getPredecessors()method.RemoteVersion[]getSuccessors()Deprecated.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.Remote version of theVersion.getContainingHistory()method.- Returns:
- a
RemoteVersionHistoryobject. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getCreated
Calendar getCreated() throws RepositoryException, RemoteException
Deprecated.Remote version of theVersion.getCreated()method.- Returns:
- a
Calendarobject. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getLinearSuccessor
RemoteVersion getLinearSuccessor() throws RepositoryException, RemoteException
Deprecated.Remote version of theVersion.getLinearSuccessor()method.- Returns:
- a
RemoteVersionornullif no linear successor exists. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
RemoteVersionHistory.getAllLinearVersions()
-
getSuccessors
RemoteVersion[] getSuccessors() throws RepositoryException, RemoteException
Deprecated.Remote version of theVersion.getSuccessors()method.- Returns:
- a
RemoteVersionarray. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getLinearPredecessor
RemoteVersion getLinearPredecessor() throws RepositoryException, RemoteException
Deprecated.Remote version of theVersion.getLinearPredecessor()method.- Returns:
- a
RemoteVersionornullif no linear predecessor exists. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors- See Also:
RemoteVersionHistory.getAllLinearVersions()
-
getPredecessors
RemoteVersion[] getPredecessors() throws RepositoryException, RemoteException
Deprecated.Remote version of theVersion.getPredecessors()method.- Returns:
- a
RemoteVersionarray. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
getFrozenNode
RemoteNode getFrozenNode() throws RepositoryException, RemoteException
Deprecated.Remote version of theVersion.getFrozenNode()method.- Returns:
- a
RemoteNodeobject. - Throws:
RepositoryException- on repository errorsRemoteException- on RMI errors
-
-