Class Renovator
java.lang.Object
com.adobe.acs.commons.mcp.ProcessDefinition
com.adobe.acs.commons.mcp.impl.processes.renovator.Renovator
- All Implemented Interfaces:
FormProcessor
Relocate Pages and/or Sites using a parallelized move process
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRenovator(com.day.cq.wcm.api.PageManagerFactory pageManagerFactory, com.day.cq.replication.Replicator replicator, com.day.cq.audit.AuditLog auditLog) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adobe.acs.commons.mcp.form.FormProcessor
parseInputs
-
Field Details
-
publishMethod
-
-
Constructor Details
-
Renovator
public Renovator(com.day.cq.wcm.api.PageManagerFactory pageManagerFactory, com.day.cq.replication.Replicator replicator, com.day.cq.audit.AuditLog auditLog)
-
-
Method Details
-
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
-
findReferences
public void findReferences(org.apache.sling.api.resource.ResourceResolver rr, MovingNode node) throws IllegalAccessException - Throws:
IllegalAccessException
-
identifyReferences
-
validateAllAcls
-
buildStructures
-
moveTree
-
activateTreeStructure
-
activateNew
-
activateReferences
-
deactivateOld
-
isDeactivationPath
-
isActivationPath
-
isForeignPath
-
removeSource
-
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
-