Class SyntheticWorkflowSession

java.lang.Object
com.adobe.acs.commons.workflow.synthetic.impl.granite.SyntheticWorkflowSession
All Implemented Interfaces:
InvocationHandler

public class SyntheticWorkflowSession extends Object implements InvocationHandler
  • Method Details

    • createSyntheticWorkflowSession

      public static SyntheticWorkflowSession createSyntheticWorkflowSession(com.adobe.acs.commons.workflow.synthetic.impl.SyntheticWorkflowRunnerImpl workflowService, javax.jcr.Session session)
    • invoke

      public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
      Specified by:
      invoke in interface InvocationHandler
      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

      public final Object getModel(Object[] args) throws com.adobe.granite.workflow.WorkflowException
      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

      public final com.adobe.granite.workflow.exec.WorkflowData newWorkflowData(String payloadType, Object payload)
    • updateWorkflowData

      public final void updateWorkflowData(com.adobe.granite.workflow.exec.Workflow workflow, com.adobe.granite.workflow.exec.WorkflowData workflowData)
    • adaptTo

      public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)