info.magnolia.jcr.wrapper
Class MgnlPropertySettingContentDecorator.MgnlPropertySettingWorkspaceWrapper

java.lang.Object
  extended by info.magnolia.jcr.wrapper.DelegateWorkspaceWrapper
      extended by info.magnolia.jcr.decoration.ContentDecoratorWorkspaceWrapper
          extended by info.magnolia.jcr.wrapper.MgnlPropertySettingContentDecorator.MgnlPropertySettingWorkspaceWrapper
All Implemented Interfaces:
javax.jcr.Workspace
Direct Known Subclasses:
MgnlPropertySettingContentDecorator.LastUpdateWorkspaceWrapper
Enclosing class:
MgnlPropertySettingContentDecorator

public class MgnlPropertySettingContentDecorator.MgnlPropertySettingWorkspaceWrapper
extends ContentDecoratorWorkspaceWrapper
implements javax.jcr.Workspace

Updates destination parent page or parent content mgnl:lastUpdated property on move or copy operations.


Field Summary
 
Fields inherited from class info.magnolia.jcr.wrapper.DelegateWorkspaceWrapper
wrapped
 
Fields inherited from interface javax.jcr.Workspace
NAME_ACTIVITIES_NODE, NAME_CONFIGURATIONS_NODE, NAME_JCR_XMLCHARACTERS, NAME_JCR_XMLTEXT, NAME_NODE_TYPES_NODE, NAME_SYSTEM_NODE, NAME_UNFILED_NODE, NAME_VERSION_STORAGE_NODE, NAME_WORKSPACE_ROOT, PATH_ACTIVITIES_NODE, PATH_CONFIGURATIONS_NODE, PATH_NODE_TYPES_NODE, PATH_SYSTEM_NODE, PATH_UNFILED_NODE, PATH_VERSION_STORAGE_NODE, PATH_WORKSPACE_ROOT, RELPATH_JCR_XMLCHARACTERS
 
Constructor Summary
protected MgnlPropertySettingContentDecorator.MgnlPropertySettingWorkspaceWrapper(javax.jcr.Workspace workspace, ContentDecorator contentDecorator)
           
 
Method Summary
 void clone(String srcWorkspace, String srcAbsPath, String destAbsPath, boolean removeExisting)
           
 void copy(String srcAbsPath, String destAbsPath)
           
 void copy(String srcWorkspace, String srcAbsPath, String destAbsPath)
           
 void move(String srcAbsPath, String destAbsPath)
           
 
Methods inherited from class info.magnolia.jcr.decoration.ContentDecoratorWorkspaceWrapper
getSession, wrapSession
 
Methods inherited from class info.magnolia.jcr.wrapper.DelegateWorkspaceWrapper
createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getVersionManager, getWrappedWorkspace, importXML, restore, setWrappedWorkspace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jcr.Workspace
createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, getVersionManager, importXML, restore
 

Constructor Detail

MgnlPropertySettingContentDecorator.MgnlPropertySettingWorkspaceWrapper

protected MgnlPropertySettingContentDecorator.MgnlPropertySettingWorkspaceWrapper(javax.jcr.Workspace workspace,
                                                                                  ContentDecorator contentDecorator)
Method Detail

move

public void move(String srcAbsPath,
                 String destAbsPath)
          throws javax.jcr.nodetype.ConstraintViolationException,
                 javax.jcr.version.VersionException,
                 javax.jcr.AccessDeniedException,
                 javax.jcr.PathNotFoundException,
                 javax.jcr.ItemExistsException,
                 javax.jcr.lock.LockException,
                 javax.jcr.RepositoryException
Specified by:
move in interface javax.jcr.Workspace
Overrides:
move in class DelegateWorkspaceWrapper
Throws:
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException

copy

public void copy(String srcAbsPath,
                 String destAbsPath)
          throws javax.jcr.nodetype.ConstraintViolationException,
                 javax.jcr.version.VersionException,
                 javax.jcr.AccessDeniedException,
                 javax.jcr.PathNotFoundException,
                 javax.jcr.ItemExistsException,
                 javax.jcr.lock.LockException,
                 javax.jcr.RepositoryException
Specified by:
copy in interface javax.jcr.Workspace
Overrides:
copy in class DelegateWorkspaceWrapper
Throws:
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException

copy

public void copy(String srcWorkspace,
                 String srcAbsPath,
                 String destAbsPath)
          throws javax.jcr.NoSuchWorkspaceException,
                 javax.jcr.nodetype.ConstraintViolationException,
                 javax.jcr.version.VersionException,
                 javax.jcr.AccessDeniedException,
                 javax.jcr.PathNotFoundException,
                 javax.jcr.ItemExistsException,
                 javax.jcr.lock.LockException,
                 javax.jcr.RepositoryException
Specified by:
copy in interface javax.jcr.Workspace
Overrides:
copy in class DelegateWorkspaceWrapper
Throws:
javax.jcr.NoSuchWorkspaceException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException

clone

public void clone(String srcWorkspace,
                  String srcAbsPath,
                  String destAbsPath,
                  boolean removeExisting)
           throws javax.jcr.NoSuchWorkspaceException,
                  javax.jcr.nodetype.ConstraintViolationException,
                  javax.jcr.version.VersionException,
                  javax.jcr.AccessDeniedException,
                  javax.jcr.PathNotFoundException,
                  javax.jcr.ItemExistsException,
                  javax.jcr.lock.LockException,
                  javax.jcr.RepositoryException
Specified by:
clone in interface javax.jcr.Workspace
Overrides:
clone in class DelegateWorkspaceWrapper
Throws:
javax.jcr.NoSuchWorkspaceException
javax.jcr.nodetype.ConstraintViolationException
javax.jcr.version.VersionException
javax.jcr.AccessDeniedException
javax.jcr.PathNotFoundException
javax.jcr.ItemExistsException
javax.jcr.lock.LockException
javax.jcr.RepositoryException


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.