|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jcr.wrapper.DelegateSessionWrapper info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper<MgnlPropertySettingContentDecorator> info.magnolia.jcr.wrapper.MgnlPropertySettingContentDecorator.MgnlPropertySettingSessionWrapper
public class MgnlPropertySettingContentDecorator.MgnlPropertySettingSessionWrapper
Updates all specific properties upon certain actions. Right now it's just updating the destination parent page or content mgnl:lastModified property on move.
Field Summary |
---|
Fields inherited from class info.magnolia.jcr.wrapper.DelegateSessionWrapper |
---|
wrapped |
Fields inherited from interface javax.jcr.Session |
---|
ACTION_ADD_NODE, ACTION_READ, ACTION_REMOVE, ACTION_SET_PROPERTY |
Constructor Summary | |
---|---|
MgnlPropertySettingContentDecorator.MgnlPropertySettingSessionWrapper(javax.jcr.Session session,
MgnlPropertySettingContentDecorator contentDecorator)
|
Method Summary | |
---|---|
protected void |
applyPendingChanges(javax.jcr.Session session)
|
void |
move(String srcAbsPath,
String destAbsPath)
|
void |
save()
|
Methods inherited from class info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper |
---|
getContentDecorator, getItem, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRootNode, getWorkspace, itemExists, nodeExists, propertyExists, removeItem, wrapNode, wrapProperty, wrapWorkspace |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jcr.Session |
---|
addLockToken, checkPermission, exportDocumentView, exportDocumentView, exportSystemView, exportSystemView, getAccessControlManager, getAttribute, getAttributeNames, getImportContentHandler, getItem, getLockTokens, getNamespacePrefix, getNamespacePrefixes, getNamespaceURI, getNode, getNodeByIdentifier, getNodeByUUID, getProperty, getRepository, getRetentionManager, getRootNode, getUserID, getValueFactory, getWorkspace, hasCapability, hasPendingChanges, hasPermission, impersonate, importXML, isLive, itemExists, logout, nodeExists, propertyExists, refresh, removeItem, removeLockToken, setNamespacePrefix |
Constructor Detail |
---|
public MgnlPropertySettingContentDecorator.MgnlPropertySettingSessionWrapper(javax.jcr.Session session, MgnlPropertySettingContentDecorator contentDecorator)
Method Detail |
---|
public void move(String srcAbsPath, String destAbsPath) throws javax.jcr.ItemExistsException, javax.jcr.PathNotFoundException, javax.jcr.version.VersionException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.lock.LockException, javax.jcr.RepositoryException
move
in interface javax.jcr.Session
move
in class ContentDecoratorSessionWrapper<MgnlPropertySettingContentDecorator>
javax.jcr.ItemExistsException
javax.jcr.PathNotFoundException
javax.jcr.version.VersionException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.lock.LockException
javax.jcr.RepositoryException
public void save() throws javax.jcr.AccessDeniedException, javax.jcr.ItemExistsException, javax.jcr.ReferentialIntegrityException, javax.jcr.nodetype.ConstraintViolationException, javax.jcr.InvalidItemStateException, javax.jcr.version.VersionException, javax.jcr.lock.LockException, javax.jcr.nodetype.NoSuchNodeTypeException, javax.jcr.RepositoryException
save
in interface javax.jcr.Session
save
in class DelegateSessionWrapper
javax.jcr.AccessDeniedException
javax.jcr.ItemExistsException
javax.jcr.ReferentialIntegrityException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.InvalidItemStateException
javax.jcr.version.VersionException
javax.jcr.lock.LockException
javax.jcr.nodetype.NoSuchNodeTypeException
javax.jcr.RepositoryException
protected void applyPendingChanges(javax.jcr.Session session) throws javax.jcr.RepositoryException, javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
javax.jcr.PathNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |