public class ContentDecoratorVersionHistoryWrapper extends ContentDecoratorNodeWrapper implements javax.jcr.version.VersionHistory
ContentDecorator
.wrapped
Constructor and Description |
---|
ContentDecoratorVersionHistoryWrapper(javax.jcr.version.VersionHistory versionHistory,
ContentDecorator contentDecorator) |
Modifier and Type | Method and Description |
---|---|
void |
addVersionLabel(String versionName,
String label,
boolean moveLabel) |
javax.jcr.NodeIterator |
getAllFrozenNodes() |
javax.jcr.NodeIterator |
getAllLinearFrozenNodes() |
javax.jcr.version.VersionIterator |
getAllLinearVersions() |
javax.jcr.version.VersionIterator |
getAllVersions() |
javax.jcr.version.Version |
getRootVersion() |
javax.jcr.version.Version |
getVersion(String versionName) |
String |
getVersionableIdentifier() |
String |
getVersionableUUID() |
javax.jcr.version.Version |
getVersionByLabel(String label) |
String[] |
getVersionLabels() |
String[] |
getVersionLabels(javax.jcr.version.Version version) |
javax.jcr.version.VersionHistory |
getWrappedVersionHistory() |
boolean |
hasVersionLabel(String label) |
boolean |
hasVersionLabel(javax.jcr.version.Version version,
String label) |
void |
removeVersion(String versionName) |
void |
removeVersionLabel(String label) |
void |
setWrappedNode(javax.jcr.Node node) |
addNode, addNode, checkin, equals, getAncestor, getBaseVersion, getContentDecorator, getNode, getNodes, getNodes, getNodes, getParent, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSession, getVersionHistory, getWeakReferences, getWeakReferences, hashCode, hasNode, hasNodes, isWrapping, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, wrapNode, wrapNodeIterator, wrapProperty, wrapPropertyIterator, wrapSession, wrapVersion, wrapVersionHistory, wrapVersionIterator
accept, addMixin, canAddMixin, cancelMerge, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getCorrespondingNodePath, getDefinition, getDepth, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getPath, getPrimaryItem, getPrimaryNodeType, getSharedSet, getUUID, getWrappedNode, hasProperties, hasProperty, holdsLock, initClone, isCheckedOut, isLocked, isModified, isNew, isNode, isNodeType, isSame, lock, merge, orderBefore, refresh, remove, removeMixin, removeShare, removeSharedSet, restore, restore, restore, restoreByLabel, save, setPrimaryType, toString, unlock, update
finalize, getClass, notify, notifyAll, 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 ContentDecoratorVersionHistoryWrapper(javax.jcr.version.VersionHistory versionHistory, ContentDecorator contentDecorator)
public javax.jcr.version.VersionHistory getWrappedVersionHistory()
public void setWrappedNode(javax.jcr.Node node)
setWrappedNode
in class ContentDecoratorNodeWrapper
public String getVersionableUUID() throws javax.jcr.RepositoryException
getVersionableUUID
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public String getVersionableIdentifier() throws javax.jcr.RepositoryException
getVersionableIdentifier
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public javax.jcr.version.Version getRootVersion() throws javax.jcr.RepositoryException
getRootVersion
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public javax.jcr.version.VersionIterator getAllLinearVersions() throws javax.jcr.RepositoryException
getAllLinearVersions
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public javax.jcr.version.VersionIterator getAllVersions() throws javax.jcr.RepositoryException
getAllVersions
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public javax.jcr.NodeIterator getAllLinearFrozenNodes() throws javax.jcr.RepositoryException
getAllLinearFrozenNodes
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public javax.jcr.NodeIterator getAllFrozenNodes() throws javax.jcr.RepositoryException
getAllFrozenNodes
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public javax.jcr.version.Version getVersion(String versionName) throws javax.jcr.version.VersionException, javax.jcr.RepositoryException
getVersion
in interface javax.jcr.version.VersionHistory
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public javax.jcr.version.Version getVersionByLabel(String label) throws javax.jcr.version.VersionException, javax.jcr.RepositoryException
getVersionByLabel
in interface javax.jcr.version.VersionHistory
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public void addVersionLabel(String versionName, String label, boolean moveLabel) throws javax.jcr.version.LabelExistsVersionException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
addVersionLabel
in interface javax.jcr.version.VersionHistory
javax.jcr.version.LabelExistsVersionException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public void removeVersionLabel(String label) throws javax.jcr.version.VersionException, javax.jcr.RepositoryException
removeVersionLabel
in interface javax.jcr.version.VersionHistory
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public boolean hasVersionLabel(String label) throws javax.jcr.RepositoryException
hasVersionLabel
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public boolean hasVersionLabel(javax.jcr.version.Version version, String label) throws javax.jcr.version.VersionException, javax.jcr.RepositoryException
hasVersionLabel
in interface javax.jcr.version.VersionHistory
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public String[] getVersionLabels() throws javax.jcr.RepositoryException
getVersionLabels
in interface javax.jcr.version.VersionHistory
javax.jcr.RepositoryException
public String[] getVersionLabels(javax.jcr.version.Version version) throws javax.jcr.version.VersionException, javax.jcr.RepositoryException
getVersionLabels
in interface javax.jcr.version.VersionHistory
javax.jcr.version.VersionException
javax.jcr.RepositoryException
public void removeVersion(String versionName) throws javax.jcr.ReferentialIntegrityException, javax.jcr.AccessDeniedException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.version.VersionException, javax.jcr.RepositoryException
removeVersion
in interface javax.jcr.version.VersionHistory
javax.jcr.ReferentialIntegrityException
javax.jcr.AccessDeniedException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.version.VersionException
javax.jcr.RepositoryException
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.