public class MgnlVersioningNodeWrapper extends ContentDecoratorNodeWrapper<MgnlVersioningContentDecorator>
wrapped
Constructor and Description |
---|
MgnlVersioningNodeWrapper(javax.jcr.Node node)
Deprecated.
|
MgnlVersioningNodeWrapper(javax.jcr.Node node,
MgnlVersioningContentDecorator mgnlVersioningContentDecorator)
Deprecated.
|
MgnlVersioningNodeWrapper(javax.jcr.Node node,
MgnlVersioningContentDecorator mgnlVersioningContentDecorator,
RepositoryManager repositoryManager)
Deprecated.
|
MgnlVersioningNodeWrapper(javax.jcr.Node node,
MgnlVersioningContentDecorator mgnlVersioningContentDecorator,
VersionManager versionManager) |
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, 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, setWrappedNode, 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, removeMixin, removeShare, removeSharedSet, save, setPrimaryType, toString, unlock, update
public MgnlVersioningNodeWrapper(javax.jcr.Node node, MgnlVersioningContentDecorator mgnlVersioningContentDecorator, VersionManager versionManager)
@Deprecated public MgnlVersioningNodeWrapper(javax.jcr.Node node)
MgnlVersioningNodeWrapper(Node, MgnlVersioningContentDecorator, VersionManager)
.@Deprecated public MgnlVersioningNodeWrapper(javax.jcr.Node node, MgnlVersioningContentDecorator mgnlVersioningContentDecorator)
MgnlVersioningNodeWrapper(Node, MgnlVersioningContentDecorator, VersionManager)
.@Deprecated public MgnlVersioningNodeWrapper(javax.jcr.Node node, MgnlVersioningContentDecorator mgnlVersioningContentDecorator, RepositoryManager repositoryManager)
MgnlVersioningNodeWrapper(Node, MgnlVersioningContentDecorator, VersionManager)
.public void restore(String versionName, boolean removeExisting) throws javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
restore
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version version, boolean removeExisting) throws javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
restore
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public void restore(javax.jcr.version.Version version, String relPath, boolean removeExisting) throws javax.jcr.RepositoryException
restore
in interface javax.jcr.Node
restore
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public void restoreByLabel(String versionLabel, boolean removeExisting) throws javax.jcr.RepositoryException
restoreByLabel
in interface javax.jcr.Node
restoreByLabel
in class DelegateNodeWrapper
javax.jcr.RepositoryException
public void remove() throws javax.jcr.RepositoryException
Session.removeItem(String)
? This was introduced before JCR 2.0. So just got forgotten during upgrade..
How can we ever keep this in sync?remove
in interface javax.jcr.Item
remove
in class DelegateNodeWrapper
javax.jcr.RepositoryException
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.