Interface IBpmProcessManager


public interface IBpmProcessManager
Manager for BPM processes and process definitions
  • Method Details

    • createProcessDefinition

      IBpmProcessDefinition createProcessDefinition() throws Exception
      Creates new process definition.
      Throws:
      Exception
    • deleteProcessDefinition

      void deleteProcessDefinition(String processDefID) throws Exception
      Deletes process definition by its ID
      Parameters:
      processDefID -
      Throws:
      Exception
    • getProcessDefinition

      IBpmProcessDefinition getProcessDefinition(String processDefID) throws Exception
      Fetches and returns process definition by its ID
      Parameters:
      processDefID -
      Throws:
      Exception
    • updateProcessDefinition

      void updateProcessDefinition(IBpmProcessDefinition processDef) throws Exception
      Updates (persists changes) process definition
      Parameters:
      processDef -
      Throws:
      Exception
    • searchProcesses

      List<IBpmProcess> searchProcesses(BpmProcessSearchQuery searchQuery) throws Exception
      Search process instances according to specified search query
      Parameters:
      searchQuery -
      Throws:
      Exception
    • createProcess

      IBpmProcess createProcess(String processDefID) throws Exception
      Creates process instance for given process definition ID
      Parameters:
      processDefID -
      Throws:
      Exception
    • createSubprocess

      IBpmProcess createSubprocess(String processDefID, String parentProcessID, String parentStepID, short parentInstanceIteration) throws Exception
      Creates subprocess for given process definition ID and parent process information
      Parameters:
      processDefID -
      parentProcessID -
      parentStepID -
      Throws:
      Exception
    • getProcess

      IBpmProcess getProcess(String processID) throws Exception
      Fetches and returns process instance by its ID
      Parameters:
      processID -
      Throws:
      Exception
    • deleteProcess

      void deleteProcess(String processID) throws Exception
      Deletes process instance by its ID
      Parameters:
      processID -
      Throws:
      Exception
    • updateProcess

      void updateProcess(IBpmProcess process) throws Exception
      Updates (persists changes) in the process instance
      Parameters:
      process -
      Throws:
      Exception
    • createStatusRecord

      void createStatusRecord(IBpmStepStatusChange stepStatusChange) throws Exception
      Create a new status record in the PRT Audit database
      Parameters:
      stepStatusChange - - container for step status change info
      Throws:
      Exception