public class MgnlVersioningNodeWrapper extends ContentDecoratorNodeWrapper<MgnlVersioningContentDecorator>
wrapped
Constructor and Description |
---|
MgnlVersioningNodeWrapper(javax.jcr.Node node) |
MgnlVersioningNodeWrapper(javax.jcr.Node node,
MgnlVersioningContentDecorator mgnlVersioningContentDecorator) |
Modifier and Type | Method and Description |
---|---|
void |
remove()
Remove version history while removing the content.
|
void |
restore(String versionName,
boolean removeExisting) |
void |
restore(javax.jcr.version.Version version,
boolean removeExisting) |
void |
restore(javax.jcr.version.Version version,
String relPath,
boolean removeExisting) |
void |
restoreByLabel(String versionLabel,
boolean removeExisting) |
addNode, addNode, equals, getAncestor, getContentDecorator, getNode, getNodes, getNodes, getNodes, getParent, getProperties, getProperties, getProperties, getProperty, getReferences, getReferences, getSession, getWeakReferences, getWeakReferences, hashCode, hasNode, hasNodes, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setWrappedNode, wrapNode, wrapNodeIterator, wrapProperty, wrapPropertyIterator, wrapSession
accept, addMixin, canAddMixin, cancelMerge, checkin, checkout, clone, deepUnwrap, doneMerge, followLifecycleTransition, getAllowedLifecycleTransistions, getBaseVersion, getCorrespondingNodePath, getDefinition, getDepth, getIdentifier, getIndex, getLock, getMixinNodeTypes, getName, getPath, getPrimaryItem, getPrimaryNodeType, getSharedSet, getUUID, getVersionHistory, getWrappedNode, hasProperties, hasProperty, holdsLock, initClone, isCheckedOut, isLocked, isModified, isNew, isNode, isNodeType, isSame, lock, merge, orderBefore, refresh, removeMixin, removeShare, removeSharedSet, save, setPrimaryType, toString, unlock, update
public MgnlVersioningNodeWrapper(javax.jcr.Node node)
public MgnlVersioningNodeWrapper(javax.jcr.Node node, MgnlVersioningContentDecorator mgnlVersioningContentDecorator)
public void restore(String versionName, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
restore
in class DelegateNodeWrapper
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version version, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.InvalidItemStateException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
restore
in class DelegateNodeWrapper
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.InvalidItemStateException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version version, String relPath, boolean removeExisting) throws javax.jcr.PathNotFoundException, javax.jcr.ItemExistsException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
restore
in class DelegateNodeWrapper
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void restoreByLabel(String versionLabel, boolean removeExisting) throws javax.jcr.version.VersionException, javax.jcr.ItemExistsException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.lock.LockException, javax.jcr.InvalidItemStateException, javax.jcr.RepositoryException
restoreByLabel
in interface javax.jcr.Node
restoreByLabel
in class DelegateNodeWrapper
javax.jcr.version.VersionException
javax.jcr.ItemExistsException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.lock.LockException
javax.jcr.InvalidItemStateException
javax.jcr.RepositoryException
public void remove() throws javax.jcr.RepositoryException
remove
in interface javax.jcr.Item
remove
in class DelegateNodeWrapper
javax.jcr.RepositoryException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.