Class TreeReplication
java.lang.Object
com.adobe.acs.commons.mcp.ProcessDefinition
com.adobe.acs.commons.mcp.impl.processes.TreeReplication
- All Implemented Interfaces:
FormProcessor
Replace folder thumbnails under a user-definable set of circumstances As a
business user, I would like an easy way to scan and repair missing
thumbnails, or just regenerate all thumbnails under a given tree of the DAM.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumprotected static enumprotected static enumstatic enum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) voidinit()static BooleanisFolderOrPage(org.apache.sling.api.resource.Resource res) voidstoreReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) Methods inherited from class com.adobe.acs.commons.mcp.ProcessDefinition
getName, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adobe.acs.commons.mcp.form.FormProcessor
parseInputs
-
Field Details
-
ASYNC_LIMIT
public static final int ASYNC_LIMIT- See Also:
-
-
Constructor Details
-
TreeReplication
public TreeReplication(com.day.cq.replication.Replicator replicator)
-
-
Method Details
-
init
public void init() -
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
-
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
-
isFolderOrPage
-