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.
javax.jcr.version.Version
,
ClientVersion
,
ServerVersion
Modifier and Type | Method and Description |
---|---|
RemoteVersionHistory |
getContainingHistory()
Remote version of the
Version.getContainingHistory() method. |
java.util.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, java.rmi.RemoteException
Version.getContainingHistory()
method.RemoteVersionHistory
object.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errorsjava.util.Calendar getCreated() throws RepositoryException, java.rmi.RemoteException
Version.getCreated()
method.Calendar
object.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errorsRemoteVersion getLinearSuccessor() throws RepositoryException, java.rmi.RemoteException
Version.getLinearSuccessor()
method.RemoteVersion
or null
if no linear
successor exists.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errorsRemoteVersionHistory.getAllLinearVersions()
RemoteVersion[] getSuccessors() throws RepositoryException, java.rmi.RemoteException
Version.getSuccessors()
method.RemoteVersion
array.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errorsRemoteVersion getLinearPredecessor() throws RepositoryException, java.rmi.RemoteException
Version.getLinearPredecessor()
method.RemoteVersion
or null
if no linear
predecessor exists.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errorsRemoteVersionHistory.getAllLinearVersions()
RemoteVersion[] getPredecessors() throws RepositoryException, java.rmi.RemoteException
Version.getPredecessors()
method.RemoteVersion
array.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errorsRemoteNode getFrozenNode() throws RepositoryException, java.rmi.RemoteException
Version.getFrozenNode()
method.RemoteNode
object.RepositoryException
- on repository errorsjava.rmi.RemoteException
- on RMI errors"Copyright © 2010 - 2019 Adobe Systems Incorporated. All Rights Reserved"