Class TagReporter

java.lang.Object
com.adobe.acs.commons.mcp.ProcessDefinition
com.adobe.acs.commons.mcp.impl.processes.TagReporter
All Implemented Interfaces:
FormProcessor, Serializable

public class TagReporter extends ProcessDefinition implements Serializable
Creates a report of the tags in an AEM instance, showing how many times they are referenced
See Also:
  • Field Details

  • Constructor Details

    • TagReporter

      public TagReporter()
  • Method Details

    • 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
    • getReport

      public GenericBlobReport getReport()
    • getReportRows

      public List<EnumMap<TagReporter.ReportColumns,Object>> getReportRows()
    • init

      public void init() throws javax.jcr.RepositoryException
      Specified by:
      init in interface FormProcessor
      Throws:
      javax.jcr.RepositoryException
    • recordTags

      public void recordTags(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
    • traverseTags

      public void traverseTags(ActionManager manager) throws Exception
      Throws:
      Exception