com.webmethods.caf.faces.data.task
Class ProcessDisplayProvider

java.lang.Object
  extended by com.webmethods.caf.faces.bean.BaseFacesBean
      extended by com.webmethods.caf.faces.bean.BaseFacesSessionBean
          extended by com.webmethods.caf.faces.data.task.ProcessDisplayProvider
All Implemented Interfaces:
IPageFlowScopeAdapter

public class ProcessDisplayProvider
extends BaseFacesSessionBean


Field Summary
protected  IBpmProcess m_process
          Current instance of ad-hoc workflow process associated with current task
 
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
fExpireWithPageFlow
 
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
 
Constructor Summary
ProcessDisplayProvider()
           
 
Method Summary
 String getCreatedByDisplayName()
          Returns display name of the user who created ad-hoc workflow process
 String getLastModifiedByDisplayName()
          Returns display name of the user who last modified ad-hoc workflow process.
 String getName()
          Returns ad-hoc workflow process name
 String getParentProcessID()
          Returns ID of the parent process if there is one.
 String getParentStepID()
          Returns ID of the task step in the parent process if there is one.
 IBpmProcess getProcess()
          Returns instance of ad-hoc workflow process
 String getProcessID()
           
 String getStatusDisplayName()
          Returns display name of the current ad-hoc workflow process status
static Map getStatusMap()
          Returns static map of all valid statuses for ad-hoc workflow process (status -> name)
protected  void release()
          Override this method to release any resources associated with this session.
 void setProcess(IBpmProcess process)
          Sets ad-hoc workflow process instance
 void setProcessID(String processID)
           
 
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound
 
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_process

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

Constructor Detail

ProcessDisplayProvider

public ProcessDisplayProvider()
Method Detail

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 getStatusMap()
Returns static map of all valid statuses for ad-hoc workflow process (status -> name)

Returns: