Class BulkPageTagger
java.lang.Object
com.adobe.acs.commons.mcp.ProcessDefinition
com.adobe.acs.commons.mcp.impl.processes.BulkPageTagger
- All Implemented Interfaces:
FormProcessor,Serializable
The type Bulk page tagger.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe enum Report row satus. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) voidinit()voidparseExcel(ActionManager manager) Parse input excel.voidstoreReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) voidtagPages(ActionManager manager) Tag pages from the excel file with cq:tags.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
-
NAME
The constant NAME.- See Also:
-
excelFile
The Excel file.
-
-
Constructor Details
-
BulkPageTagger
public BulkPageTagger()
-
-
Method Details
-
init
public void init() throws javax.jcr.RepositoryException- Specified by:
initin interfaceFormProcessor- Throws:
javax.jcr.RepositoryException
-
buildProcess
public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException - Specified by:
buildProcessin classProcessDefinition- Throws:
org.apache.sling.api.resource.LoginException
-
parseExcel
Parse input excel.- Parameters:
manager- the manager- Throws:
Exception- the exception
-
tagPages
Tag pages from the excel file with cq:tags.- Parameters:
manager- the manager- Throws:
Exception- the exception
-
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
-