Local adapter for the JCR-RMI
RemoteVersion
interface. This class makes a remote version locally available using
the JCR Version interface.
@Deprecated public class ClientVersion extends ClientNode implements Version
Version,
RemoteVersionJCR_CHILD_NODE_DEFINITION, JCR_CONTENT, JCR_FROZEN_NODE, JCR_PROPERTY_DEFINITION, JCR_ROOT_VERSION, JCR_VERSION_LABELS| Constructor and Description |
|---|
ClientVersion(Session session,
RemoteVersion remote,
LocalAdapterFactory factory)
Deprecated.
Creates a local adapter for the given remote version.
|
| Modifier and Type | Method and Description |
|---|---|
VersionHistory |
getContainingHistory()
Deprecated.
|
Calendar |
getCreated()
Deprecated.
|
Node |
getFrozenNode()
Deprecated.
|
Version |
getLinearPredecessor()
Deprecated.
|
Version |
getLinearSuccessor()
Deprecated.
|
Version[] |
getPredecessors()
Deprecated.
|
Version[] |
getSuccessors()
Deprecated.
|
accept, 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, isNode, isNodeType, lock, merge, orderBefore, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, updategetAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isSame, refresh, remove, savegetFactory, getItem, getNode, getNodeTypeArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, updateaccept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, remove, savepublic ClientVersion(Session session, RemoteVersion remote, LocalAdapterFactory factory)
session - current sessionremote - remote versionfactory - local adapter factorypublic Calendar getCreated() throws RepositoryException
getCreated in interface VersionRepositoryExceptionpublic Version[] getSuccessors() throws RepositoryException
getSuccessors in interface VersionRepositoryExceptionpublic Version[] getPredecessors() throws RepositoryException
getPredecessors in interface VersionRepositoryExceptionpublic VersionHistory getContainingHistory() throws RepositoryException
getContainingHistory in interface VersionRepositoryExceptionpublic Node getFrozenNode() throws RepositoryException
getFrozenNode in interface VersionRepositoryExceptionpublic Version getLinearPredecessor() throws RepositoryException
getLinearPredecessor in interface VersionRepositoryExceptionpublic Version getLinearSuccessor() throws RepositoryException
getLinearSuccessor in interface VersionRepositoryExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.