Remote adapter for the JCR Version interface.
This class makes a local version available as an RMI service using
the RemoteVersion
interface.
@Deprecated public class ServerVersion extends ServerNode implements RemoteVersion
Version,
RemoteVersion,
Serialized Formref| Constructor and Description |
|---|
ServerVersion(Version version,
RemoteAdapterFactory factory)
Deprecated.
Creates a remote adapter for the given local version.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteVersionHistory |
getContainingHistory()
Deprecated.
Remote version of the
Version.getContainingHistory() method. |
Calendar |
getCreated()
Deprecated.
Remote version of the
Version.getCreated() method. |
RemoteNode |
getFrozenNode()
Deprecated.
Remote version of the
Version.getFrozenNode() method. |
RemoteVersion |
getLinearPredecessor()
Deprecated.
Remote version of the
Version.getLinearPredecessor() method. |
RemoteVersion |
getLinearSuccessor()
Deprecated.
Remote version of the
Version.getLinearSuccessor() method. |
RemoteVersion[] |
getPredecessors()
Deprecated.
Remote version of the
Version.getPredecessors() method. |
RemoteVersion[] |
getSuccessors()
Deprecated.
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, getVersionByUUID, 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, updategetAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, savegetFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValuesclone, exportObject, exportObject, exportObject, unexportObjectgetClientHost, getLog, setLogequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitaddMixin, 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, updategetAncestor, getDepth, getName, getParent, getPath, isModified, isNew, refresh, remove, savepublic ServerVersion(Version version, RemoteAdapterFactory factory) throws RemoteException
version - local versionfactory - remote adapter factoryRemoteException - on RMI errorspublic RemoteVersionHistory getContainingHistory() throws RepositoryException, RemoteException
Version.getContainingHistory() method.getContainingHistory in interface RemoteVersionRemoteVersionHistory object.RepositoryException - on repository errorsRemoteException - on RMI errorspublic Calendar getCreated() throws RepositoryException
Version.getCreated() method.getCreated in interface RemoteVersionCalendar object.RepositoryException - on repository errorspublic RemoteVersion getLinearSuccessor() throws RepositoryException, RemoteException
Version.getLinearSuccessor() method.getLinearSuccessor in interface RemoteVersionRemoteVersion or null if no linear
successor exists.RepositoryException - on repository errorsRemoteException - on RMI errorsRemoteVersionHistory.getAllLinearVersions()public RemoteVersion[] getSuccessors() throws RepositoryException, RemoteException
Version.getSuccessors() method.getSuccessors in interface RemoteVersionRemoteVersion array.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteVersion getLinearPredecessor() throws RepositoryException, RemoteException
Version.getLinearPredecessor() method.getLinearPredecessor in interface RemoteVersionRemoteVersion or null if no linear
predecessor exists.RepositoryException - on repository errorsRemoteException - on RMI errorsRemoteVersionHistory.getAllLinearVersions()public RemoteVersion[] getPredecessors() throws RepositoryException, RemoteException
Version.getPredecessors() method.getPredecessors in interface RemoteVersionRemoteVersion array.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteNode getFrozenNode() throws RepositoryException, RemoteException
Version.getFrozenNode() method.getFrozenNode in interface RemoteVersionRemoteNode object.RepositoryException - on repository errorsRemoteException - on RMI errorsCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.