Class AssetReport

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

public class AssetReport extends ProcessDefinition implements Serializable
Reports number and size of assets within a given folder structure.
See Also:
  • Field Details

  • Constructor Details

    • AssetReport

      public AssetReport()
  • Method Details

    • init

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

      public int getDepth(String path)
    • 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
    • evaluateStructure

      public void evaluateStructure(ActionManager manager)
    • evaluateDeepStructure

      public void evaluateDeepStructure(ActionManager manager)
    • examineAssets

      public void examineAssets(ActionManager manager)
    • isAsset

      public boolean isAsset(org.apache.sling.api.resource.Resource r)
    • 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