public interface RemoteVersion extends RemoteNode
Version
interface.
Used by the ServerVersion
and ClientVersion
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.
Version
,
ClientVersion
,
ServerVersion
Modifier and Type | Method and Description |
---|---|
RemoteVersionHistory |
getContainingHistory()
Remote version of the
Version.getContainingHistory() method. |
Calendar |
getCreated()
Remote version of the
Version.getCreated() method. |
RemoteNode |
getFrozenNode()
Remote version of the
Version.getFrozenNode() method. |
RemoteVersion |
getLinearPredecessor()
Remote version of the
Version.getLinearPredecessor() method. |
RemoteVersion |
getLinearSuccessor()
Remote version of the
Version.getLinearSuccessor() method. |
RemoteVersion[] |
getPredecessors()
Remote version of the
Version.getPredecessors() method. |
RemoteVersion[] |
getSuccessors()
Remote version of the
Version.getSuccessors() method. |
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
getAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, save
RemoteVersionHistory getContainingHistory() throws RepositoryException, RemoteException
Version.getContainingHistory()
method.RemoteVersionHistory
object.RepositoryException
- on repository errorsRemoteException
- on RMI errorsCalendar getCreated() throws RepositoryException, RemoteException
Version.getCreated()
method.Calendar
object.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteVersion getLinearSuccessor() throws RepositoryException, RemoteException
Version.getLinearSuccessor()
method.RemoteVersion
or null
if no linear
successor exists.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteVersionHistory.getAllLinearVersions()
RemoteVersion[] getSuccessors() throws RepositoryException, RemoteException
Version.getSuccessors()
method.RemoteVersion
array.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteVersion getLinearPredecessor() throws RepositoryException, RemoteException
Version.getLinearPredecessor()
method.RemoteVersion
or null
if no linear
predecessor exists.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteVersionHistory.getAllLinearVersions()
RemoteVersion[] getPredecessors() throws RepositoryException, RemoteException
Version.getPredecessors()
method.RemoteVersion
array.RepositoryException
- on repository errorsRemoteException
- on RMI errorsRemoteNode getFrozenNode() throws RepositoryException, RemoteException
Version.getFrozenNode()
method.RemoteNode
object.RepositoryException
- on repository errorsRemoteException
- on RMI errorsCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.