public class BulkWorkflow extends ProcessDefinition implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
BulkWorkflow.ItemStatus |
static class |
BulkWorkflow.QueryLanguage |
static class |
BulkWorkflow.ReportColumns |
| Modifier and Type | Field and Description |
|---|---|
static String |
PROCESS_NAME |
BulkWorkflow.QueryLanguage |
queryLanguage |
String |
queryStatement |
String |
relativePayloadPath |
String |
workflowId |
| Constructor and Description |
|---|
BulkWorkflow(QueryHelper queryHelper,
SyntheticWorkflowRunner syntheticWorkflowRunner) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildProcess(ProcessInstance instance,
org.apache.sling.api.resource.ResourceResolver rr) |
GenericReport |
getReport() |
void |
init() |
protected void |
prepareSyntheticWorkflowModel(ActionManager manager) |
void |
processPayloads(ActionManager manager) |
protected void |
queryPayloads(ActionManager manager) |
protected void |
record(String path,
BulkWorkflow.ItemStatus status,
long timeTaken) |
void |
storeReport(ProcessInstance instance,
org.apache.sling.api.resource.ResourceResolver resourceResolver) |
getName, setNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseInputspublic static final String PROCESS_NAME
public String workflowId
public BulkWorkflow.QueryLanguage queryLanguage
public String queryStatement
public String relativePayloadPath
public BulkWorkflow(QueryHelper queryHelper, SyntheticWorkflowRunner syntheticWorkflowRunner)
public void buildProcess(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver rr) throws org.apache.sling.api.resource.LoginException
buildProcess in class ProcessDefinitionorg.apache.sling.api.resource.LoginExceptionprotected void queryPayloads(ActionManager manager) throws Exception
Exceptionprotected void prepareSyntheticWorkflowModel(ActionManager manager) throws Exception
Exceptionpublic void processPayloads(ActionManager manager) throws Exception
Exceptionpublic GenericReport getReport()
public void init()
throws javax.jcr.RepositoryException
init in interface FormProcessorjavax.jcr.RepositoryExceptionprotected void record(String path, BulkWorkflow.ItemStatus status, long timeTaken)
public void storeReport(ProcessInstance instance, org.apache.sling.api.resource.ResourceResolver resourceResolver) 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.