Class ProcessDisplayProvider
java.lang.Object
com.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.data.task.ProcessDisplayProvider
- All Implemented Interfaces:
IPageFlowScopeAdapter
,EventListener
,HttpSessionBindingListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IBpmProcess
Current instance of ad-hoc workflow process associated with current taskFields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean
fExpireWithPageFlow
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean
DATA_BINDING_CLIENTS, EMPTY_RESOURCES, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns display name of the user who created ad-hoc workflow processReturns display name of the user who last modified ad-hoc workflow process.getName()
Returns ad-hoc workflow process nameReturns ID of the parent process if there is one.Returns ID of the task step in the parent process if there is one.Returns instance of ad-hoc workflow processReturns display name of the current ad-hoc workflow process statusReturns 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 instancevoid
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, createMethodExpression, createValueBinding, createValueExpression, createValueExpression, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue
-
Field Details
-
m_process
Current instance of ad-hoc workflow process associated with current task
-
-
Constructor Details
-
ProcessDisplayProvider
public ProcessDisplayProvider()
-
-
Method Details
-
setProcessID
-
setProcess
Sets ad-hoc workflow process instance -
getProcessID
-
getProcess
Returns instance of ad-hoc workflow process -
getName
Returns ad-hoc workflow process name -
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
Returns ID of the task step in the parent process if there is one. The parent process is typically from Process Engine -
getStatusDisplayName
Returns display name of the current ad-hoc workflow process status -
getCreatedByDisplayName
Returns display name of the user who created ad-hoc workflow process -
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 classBaseFacesSessionBean
-
getStatusMap
Returns static map of all valid statuses for ad-hoc workflow process (status -> name)- Returns:
-