Class ProcessDisplayProvider

All Implemented Interfaces:
IPageFlowScopeAdapter, EventListener, HttpSessionBindingListener

public class ProcessDisplayProvider extends BaseFacesSessionBean
  • Field Details

    • m_process

      protected IBpmProcess m_process
      Current instance of ad-hoc workflow process associated with current task
  • Constructor Details

    • ProcessDisplayProvider

      public ProcessDisplayProvider()
  • Method Details

    • setProcessID

      public void setProcessID(String processID)
    • setProcess

      public void setProcess(IBpmProcess process)
      Sets ad-hoc workflow process instance
    • getProcessID

      public String getProcessID()
    • getProcess

      public IBpmProcess getProcess()
      Returns instance of ad-hoc workflow process
    • getName

      public String getName()
      Returns ad-hoc workflow process name
    • getParentProcessID

      public String getParentProcessID()
      Returns ID of the parent process if there is one. The parent process ID typically would be the ID of the ProcessEngine process
    • getParentStepID

      public String getParentStepID()
      Returns ID of the task step in the parent process if there is one. The parent process is typically from Process Engine
    • getStatusDisplayName

      public String getStatusDisplayName()
      Returns display name of the current ad-hoc workflow process status
    • getCreatedByDisplayName

      public String getCreatedByDisplayName()
      Returns display name of the user who created ad-hoc workflow process
    • getLastModifiedByDisplayName

      public String getLastModifiedByDisplayName()
      Returns display name of the user who last modified ad-hoc workflow process. E.g. added new tasks or modified existing tasks in the ad-hoc workflow
    • release

      protected void release()
      Description copied from class: BaseFacesSessionBean
      Override this method to release any resources associated with this session. Please note, the FacesContext is not valid for this function
      Specified by:
      release in class BaseFacesSessionBean
    • getStatusMap

      public static Map<Integer,String> getStatusMap()
      Returns static map of all valid statuses for ad-hoc workflow process (status -> name)
      Returns: