public class ServerVersion extends ServerNode implements RemoteVersion
Version interface.
 This class makes a local version available as an RMI service using
 the RemoteVersion
 interface.Version, 
RemoteVersion, 
Serialized Formref| Constructor and Description | 
|---|
| ServerVersion(javax.jcr.version.Version version,
             RemoteAdapterFactory factory)Creates a remote adapter for the given local version. | 
| 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, 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(javax.jcr.version.Version version,
             RemoteAdapterFactory factory)
              throws RemoteException
version - local versionfactory - remote adapter factoryRemoteException - on RMI errorspublic RemoteVersionHistory getContainingHistory() throws javax.jcr.RepositoryException, RemoteException
Version.getContainingHistory() method.getContainingHistory in interface RemoteVersionRemoteVersionHistory object.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic Calendar getCreated() throws javax.jcr.RepositoryException
Version.getCreated() method.getCreated in interface RemoteVersionCalendar object.javax.jcr.RepositoryException - on repository errorspublic RemoteVersion getLinearSuccessor() throws javax.jcr.RepositoryException, RemoteException
Version.getLinearSuccessor() method.getLinearSuccessor in interface RemoteVersionRemoteVersion or null if no linear
         successor exists.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRemoteVersionHistory.getAllLinearVersions()public RemoteVersion[] getSuccessors() throws javax.jcr.RepositoryException, RemoteException
Version.getSuccessors() method.getSuccessors in interface RemoteVersionRemoteVersion array.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteVersion getLinearPredecessor() throws javax.jcr.RepositoryException, RemoteException
Version.getLinearPredecessor() method.getLinearPredecessor in interface RemoteVersionRemoteVersion or null if no linear
         predecessor exists.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsRemoteVersionHistory.getAllLinearVersions()public RemoteVersion[] getPredecessors() throws javax.jcr.RepositoryException, RemoteException
Version.getPredecessors() method.getPredecessors in interface RemoteVersionRemoteVersion array.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorspublic RemoteNode getFrozenNode() throws javax.jcr.RepositoryException, RemoteException
Version.getFrozenNode() method.getFrozenNode in interface RemoteVersionRemoteNode object.javax.jcr.RepositoryException - on repository errorsRemoteException - on RMI errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.