public class MagnoliaSessionWrapper extends ContentDecoratorSessionWrapper
sameNameSiblings
attribute in
nodetype definitions.
However, parents also need to be covered, but there is no such
attribute. It is therefore the goal of this SessionWrapper
. It
will throw an exception if a node already exists where we intent to
move it.wrapped
Constructor and Description |
---|
MagnoliaSessionWrapper(javax.jcr.Session wrapped,
ContentDecorator magnoliaSessionContentDecorator) |
Modifier and Type | Method and Description |
---|---|
void |
move(String srcAbsPath,
String destAbsPath) |
getContentDecorator, getItem, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRootNode, getWorkspace, itemExists, nodeExists, propertyExists, removeItem, wrapNode, wrapProperty, wrapWorkspace
addLockToken, checkPermission, clone, deepUnwrap, equals, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getRepository, getRetentionManager, getUserID, getValueFactory, getWrappedSession, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, initClone, isLive, logout, refresh, removeLockToken, save, setNamespacePrefix, setWrappedSession, toString, unwrap
public MagnoliaSessionWrapper(javax.jcr.Session wrapped, ContentDecorator magnoliaSessionContentDecorator)
public void move(String srcAbsPath, String destAbsPath) throws javax.jcr.RepositoryException
move
in interface javax.jcr.Session
move
in class ContentDecoratorSessionWrapper
javax.jcr.RepositoryException
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.