Class SyntheticWorkflowSession
java.lang.Object
com.adobe.acs.commons.workflow.synthetic.impl.granite.SyntheticWorkflowSession
- All Implemented Interfaces:
InvocationHandler
-
Method Summary
Modifier and TypeMethodDescription<AdapterType>
AdapterTypefinal voidcomplete(com.adobe.granite.workflow.exec.WorkItem workItem, com.adobe.granite.workflow.exec.Route route) static SyntheticWorkflowSessioncreateSyntheticWorkflowSession(com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl workflowService, javax.jcr.Session session) final List<com.adobe.granite.workflow.exec.Route>final Objectfinal List<com.adobe.granite.workflow.exec.Route>final booleanfinal com.adobe.granite.workflow.exec.WorkflowDatanewWorkflowData(String payloadType, Object payload) final voidrestartWorkflow(com.adobe.granite.workflow.exec.Workflow workflow) final voidterminateWorkflow(com.adobe.granite.workflow.exec.Workflow workflow) final voidupdateWorkflowData(com.adobe.granite.workflow.exec.Workflow workflow, com.adobe.granite.workflow.exec.WorkflowData workflowData)
-
Method Details
-
createSyntheticWorkflowSession
public static SyntheticWorkflowSession createSyntheticWorkflowSession(com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl workflowService, javax.jcr.Session session) -
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
terminateWorkflow
public final void terminateWorkflow(com.adobe.granite.workflow.exec.Workflow workflow) throws com.adobe.granite.workflow.WorkflowException - Throws:
com.adobe.granite.workflow.WorkflowException
-
complete
public final void complete(com.adobe.granite.workflow.exec.WorkItem workItem, com.adobe.granite.workflow.exec.Route route) throws com.adobe.granite.workflow.WorkflowException - Throws:
com.adobe.granite.workflow.WorkflowException
-
restartWorkflow
public final void restartWorkflow(com.adobe.granite.workflow.exec.Workflow workflow) throws com.adobe.granite.workflow.WorkflowException - Throws:
com.adobe.granite.workflow.WorkflowException
-
isSuperuser
public final boolean isSuperuser() -
getModel
- Throws:
com.adobe.granite.workflow.WorkflowException
-
getRoutes
public final List<com.adobe.granite.workflow.exec.Route> getRoutes() throws com.adobe.granite.workflow.WorkflowException- Throws:
com.adobe.granite.workflow.WorkflowException
-
getBackRoutes
public final List<com.adobe.granite.workflow.exec.Route> getBackRoutes() throws com.adobe.granite.workflow.WorkflowException- Throws:
com.adobe.granite.workflow.WorkflowException
-
newWorkflowData
-
updateWorkflowData
public final void updateWorkflowData(com.adobe.granite.workflow.exec.Workflow workflow, com.adobe.granite.workflow.exec.WorkflowData workflowData) -
adaptTo
-