public class ClientVersion extends ClientNode implements javax.jcr.version.Version
RemoteVersion
interface. This class makes a remote version locally available using
the JCR Version
interface.Version
,
RemoteVersion
Constructor and Description |
---|
ClientVersion(javax.jcr.Session session,
RemoteVersion remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote version.
|
Modifier and Type | Method and Description |
---|---|
javax.jcr.version.VersionHistory |
getContainingHistory() |
Calendar |
getCreated() |
javax.jcr.Node |
getFrozenNode() |
javax.jcr.version.Version |
getLinearPredecessor() |
javax.jcr.version.Version |
getLinearSuccessor() |
javax.jcr.version.Version[] |
getPredecessors() |
javax.jcr.version.Version[] |
getSuccessors() |
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, update
getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isSame, refresh, remove, save
getFactory, getItem, getNode, getNodeTypeArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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, restore, restoreByLabel, setPrimaryType, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, unlock, update
public ClientVersion(javax.jcr.Session session, RemoteVersion remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote versionfactory
- local adapter factorypublic Calendar getCreated() throws javax.jcr.RepositoryException
getCreated
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version[] getSuccessors() throws javax.jcr.RepositoryException
getSuccessors
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version[] getPredecessors() throws javax.jcr.RepositoryException
getPredecessors
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.VersionHistory getContainingHistory() throws javax.jcr.RepositoryException
getContainingHistory
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.Node getFrozenNode() throws javax.jcr.RepositoryException
getFrozenNode
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version getLinearPredecessor() throws javax.jcr.RepositoryException
getLinearPredecessor
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
public javax.jcr.version.Version getLinearSuccessor() throws javax.jcr.RepositoryException
getLinearSuccessor
in interface javax.jcr.version.Version
javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.