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
,
RemoteVersion
JCR_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, 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
accept, getAncestor, getDepth, getName, getParent, getPath, getSession, isModified, isNew, isNode, isSame, refresh, remove, save
public ClientVersion(Session session, RemoteVersion remote, LocalAdapterFactory factory)
session
- current sessionremote
- remote versionfactory
- local adapter factorypublic Calendar getCreated() throws RepositoryException
getCreated
in interface Version
RepositoryException
public Version[] getSuccessors() throws RepositoryException
getSuccessors
in interface Version
RepositoryException
public Version[] getPredecessors() throws RepositoryException
getPredecessors
in interface Version
RepositoryException
public VersionHistory getContainingHistory() throws RepositoryException
getContainingHistory
in interface Version
RepositoryException
public Node getFrozenNode() throws RepositoryException
getFrozenNode
in interface Version
RepositoryException
public Version getLinearPredecessor() throws RepositoryException
getLinearPredecessor
in interface Version
RepositoryException
public Version getLinearSuccessor() throws RepositoryException
getLinearSuccessor
in interface Version
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.