public class TagCreator extends ProcessDefinition implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TagCreator.ReportRowSatus |
static class |
TagCreator.TagBuilder |
protected static class |
TagCreator.TagRootResolver |
protected static class |
TagCreator.TagsLocation |
| Modifier and Type | Field and Description |
|---|---|
InputStream |
excelFile |
TagCreator.TagBuilder |
fallback |
static String |
NAME |
TagCreator.TagBuilder |
primary |
| Constructor and Description |
|---|
TagCreator(Map<String,ResourceDefinitionBuilder> resourceDefinitionBuilders) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildProcess(ProcessInstance instance,
org.apache.sling.api.resource.ResourceResolver rr) |
void |
importTags(ActionManager manager)
Perform the tag creation based on the successfully parsed values in parseTags(..).
|
void |
init() |
void |
parseTags(ActionManager manager)
Parses the input Excel file and creates a list of TagDefinition objects to process.
|
void |
storeReport(ProcessInstance instance,
org.apache.sling.api.resource.ResourceResolver rr) |
getName, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseInputspublic static final String NAME
public transient InputStream excelFile
public TagCreator.TagBuilder primary
public TagCreator.TagBuilder fallback
public TagCreator(Map<String,ResourceDefinitionBuilder> resourceDefinitionBuilders)
public void init()
throws javax.jcr.RepositoryException
init in interface FormProcessorjavax.jcr.RepositoryExceptionpublic void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException, javax.jcr.RepositoryException
buildProcess in class ProcessDefinitionorg.apache.sling.api.resource.LoginExceptionjavax.jcr.RepositoryExceptionpublic void parseTags(ActionManager manager) throws Exception
manager - the action managerIOExceptionExceptionpublic void importTags(ActionManager manager)
manager - the action managerpublic void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.PersistenceException
storeReport in class ProcessDefinitionjavax.jcr.RepositoryExceptionorg.apache.sling.api.resource.PersistenceExceptionCopyright © 2013–2020 Adobe. All rights reserved.