Class Renovator
- java.lang.Object
-
- com.adobe.acs.commons.mcp.ProcessDefinition
-
- com.adobe.acs.commons.mcp.impl.processes.renovator.Renovator
-
- All Implemented Interfaces:
FormProcessor
public class Renovator extends ProcessDefinition
Relocate Pages and/or Sites using a parallelized move process
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRenovator.PublishMethod
-
Field Summary
Fields Modifier and Type Field Description Renovator.PublishMethodpublishMethod
-
Constructor Summary
Constructors Constructor Description Renovator(com.day.cq.wcm.api.PageManagerFactory pageManagerFactory, com.day.cq.replication.Replicator replicator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivateNew(ActionManager step3)protected voidactivateReferences(ActionManager step4)protected voidactivateTreeStructure(ActionManager manager)voidbuildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)protected voidbuildStructures(ActionManager manager)voidcheckNodeAcls(org.apache.sling.api.resource.ResourceResolver res, String path, javax.jcr.security.Privilege[] prvlgs)protected voiddeactivateOld(ActionManager step5)voidfindReferences(org.apache.sling.api.resource.ResourceResolver rr, MovingNode node)protected voididentifyReferences(ActionManager manager)protected voididentifyStructure(ActionManager manager)voidinit()protected booleanisActivationPath(String path)protected booleanisDeactivationPath(String path)protected booleanisForeignPath(String path)protected voidmoveTree(ActionManager manager)protected voidremoveSource(ActionManager manager)voidstoreReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)protected voidvalidateAllAcls(ActionManager manager)-
Methods inherited from class com.adobe.acs.commons.mcp.ProcessDefinition
getName, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.acs.commons.mcp.form.FormProcessor
parseInputs
-
-
-
-
Field Detail
-
publishMethod
public Renovator.PublishMethod publishMethod
-
-
Method Detail
-
init
public void init() throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
buildProcess
public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException, javax.jcr.RepositoryException
- Specified by:
buildProcessin classProcessDefinition- Throws:
org.apache.sling.api.resource.LoginExceptionjavax.jcr.RepositoryException
-
identifyStructure
protected void identifyStructure(ActionManager manager)
-
findReferences
public void findReferences(org.apache.sling.api.resource.ResourceResolver rr, MovingNode node) throws IllegalAccessException- Throws:
IllegalAccessException
-
identifyReferences
protected void identifyReferences(ActionManager manager)
-
validateAllAcls
protected void validateAllAcls(ActionManager manager)
-
buildStructures
protected void buildStructures(ActionManager manager)
-
moveTree
protected void moveTree(ActionManager manager)
-
activateTreeStructure
protected void activateTreeStructure(ActionManager manager)
-
activateNew
protected void activateNew(ActionManager step3)
-
activateReferences
protected void activateReferences(ActionManager step4)
-
deactivateOld
protected void deactivateOld(ActionManager step5)
-
isDeactivationPath
protected boolean isDeactivationPath(String path)
-
isActivationPath
protected boolean isActivationPath(String path)
-
isForeignPath
protected boolean isForeignPath(String path)
-
removeSource
protected void removeSource(ActionManager manager)
-
storeReport
public void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.PersistenceException
- Specified by:
storeReportin classProcessDefinition- Throws:
javax.jcr.RepositoryExceptionorg.apache.sling.api.resource.PersistenceException
-
checkNodeAcls
public void checkNodeAcls(org.apache.sling.api.resource.ResourceResolver res, String path, javax.jcr.security.Privilege[] prvlgs) throws javax.jcr.RepositoryException- Throws:
javax.jcr.RepositoryException
-
-