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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssetReport.Column
-
Constructor Summary
Constructors Constructor Description AssetReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)voidevaluateDeepStructure(ActionManager manager)voidevaluateStructure(ActionManager manager)voidexamineAssets(ActionManager manager)intgetDepth(String path)voidinit()booleanisAsset(org.apache.sling.api.resource.Resource r)voidstoreReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr)-
Methods inherited from class com.adobe.acs.commons.mcp.ProcessDefinition
getName, setName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.acs.commons.mcp.form.FormProcessor
parseInputs
-
-
-
-
Field Detail
-
SHA1
public static final transient String SHA1
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init() throws javax.jcr.RepositoryException- Specified by:
initin interfaceFormProcessor- 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:
buildProcessin classProcessDefinition- Throws:
org.apache.sling.api.resource.LoginExceptionjavax.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:
storeReportin classProcessDefinition- Throws:
javax.jcr.RepositoryExceptionorg.apache.sling.api.resource.PersistenceException
-
-