public class ClientVersion extends ClientNode
RemoteVersion
interface. This class makes a remote version locally available using
the JCR Version
interface.Version
,
RemoteVersion
Constructor and Description |
---|
ClientVersion(Session session,
RemoteVersion remote,
LocalAdapterFactory factory)
Creates a local adapter for the given remote version.
|
Modifier and Type | Method and Description |
---|---|
VersionHistory |
getContainingHistory() |
Calendar |
getCreated() |
Node |
getFrozenNode() |
Version |
getLinearPredecessor() |
Version |
getLinearSuccessor() |
Version[] |
getPredecessors() |
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
public ClientVersion(Session session, RemoteVersion remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote versionfactory
- local adapter factorypublic Calendar getCreated() throws RepositoryException
RepositoryException
public Version[] getSuccessors() throws RepositoryException
RepositoryException
public Version[] getPredecessors() throws RepositoryException
RepositoryException
public VersionHistory getContainingHistory() throws RepositoryException
RepositoryException
public Node getFrozenNode() throws RepositoryException
RepositoryException
public Version getLinearPredecessor() throws RepositoryException
RepositoryException
public Version getLinearSuccessor() throws RepositoryException
RepositoryException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"