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
  • Field Details

  • 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:
      buildProcess in class ProcessDefinition
      Throws:
      org.apache.sling.api.resource.LoginException
      javax.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:
      storeReport in class ProcessDefinition
      Throws:
      javax.jcr.RepositoryException
      org.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