JCR_CHILD_NODE_DEFINITION, JCR_CONTENT, JCR_FROZEN_NODE, JCR_PROPERTY_DEFINITION, JCR_ROOT_VERSION, JCR_VERSION_LABELS| Constructor and Description |
|---|
VersionImpl(SessionImpl session,
NodeState state,
ItemLifeCycleListener[] listeners) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkIsWritable()
Always throws ConstraintViolationException since the version storage is
protected.
|
VersionHistory |
getContainingHistory() |
Calendar |
getCreated() |
Node |
getFrozenNode() |
Version |
getLinearPredecessor() |
Version |
getLinearSuccessor() |
Version[] |
getPredecessors() |
Version[] |
getSuccessors() |
boolean |
isSame(Item otherItem) |
protected boolean |
isWritable()
Always returns false
|
accept, addMixin, addNode, addNode, canAddMixin, cancelMerge, checkin, checkout, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getNode, getNode, getNodes, getNodes, getNodes, getPrimaryItem, getPrimaryNodeType, getProperties, getProperties, getProperties, getProperty, getProperty, getReferences, getReferences, getSharedSet, getUUID, getVersionHistory, getWeakReferences, getWeakReferences, hasNode, hasNodes, hasProperties, hasProperty, holdsLock, isCheckedOut, isLocked, isNode, isNodeType, lock, lock, merge, 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, updatecheckStatus, getAncestor, getDepth, getItemManager, getItemState, getParent, getPath, getSession, isModified, isNew, refresh, remove, save, statusChangedclone, 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, refresh, remove, savepublic VersionImpl(SessionImpl session, NodeState state, ItemLifeCycleListener[] listeners)
public VersionHistory getContainingHistory() throws RepositoryException
getContainingHistory in interface VersionRepositoryExceptionVersion.getContainingHistory()public Calendar getCreated() throws RepositoryException
getCreated in interface VersionRepositoryExceptionVersion.getCreated()public Version[] getSuccessors() throws RepositoryException
getSuccessors in interface VersionRepositoryExceptionVersion.getSuccessors()public Version getLinearSuccessor() throws RepositoryException
getLinearSuccessor in interface VersionRepositoryExceptionVersion.getLinearSuccessor()public Version[] getPredecessors() throws RepositoryException
getPredecessors in interface VersionRepositoryExceptionVersion.getPredecessors()public Version getLinearPredecessor() throws RepositoryException
getLinearPredecessor in interface VersionRepositoryExceptionVersion.getLinearPredecessor()public Node getFrozenNode() throws RepositoryException
getFrozenNode in interface VersionRepositoryExceptionVersion.getFrozenNode()public boolean isSame(Item otherItem) throws RepositoryException
isSame in interface ItemisSame in class ItemImplotherItem - RepositoryExceptionItem.isSame(Item)protected void checkIsWritable()
throws UnsupportedRepositoryOperationException,
ConstraintViolationException,
RepositoryException
checkIsWritable in class ItemImplUnsupportedRepositoryOperationExceptionConstraintViolationExceptionRepositoryExceptionItemStateValidatorprotected boolean isWritable()
throws RepositoryException
isWritable in class ItemImplRepositoryExceptionUnsupportedRepositoryOperationExceptionItemImpl.isWritable()Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.