Class Renovator

  • All Implemented Interfaces:
    FormProcessor

    public class Renovator
    extends ProcessDefinition
    Relocate Pages and/or Sites using a parallelized move process
    • Constructor Detail

      • Renovator

        public Renovator​(com.day.cq.wcm.api.PageManagerFactory pageManagerFactory,
                         com.day.cq.replication.Replicator replicator)
    • 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:
        buildProcess in class ProcessDefinition
        Throws:
        org.apache.sling.api.resource.LoginException
        javax.jcr.RepositoryException
      • identifyStructure

        protected void identifyStructure​(ActionManager manager)
      • identifyReferences

        protected void identifyReferences​(ActionManager manager)
      • validateAllAcls

        protected void validateAllAcls​(ActionManager manager)
      • buildStructures

        protected void buildStructures​(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