public interface IWFProcessContext
Interface that represents the context of process instance.
This interface is inherited by IWFProcess to provide access to the process instance information,
also is referred by IWFActivityInstance.getProcessContext()
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the process instance attribute by a name string.
|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns the name/value pairs of process instance attributes.
|
java.lang.String |
getCreatedBy()
Returns the user name who created the process instance
|
java.util.Date |
getCreatedDate()
Returns the creation date
|
WFProcessCriticality |
getCriticality()
Returns the ciriticality of the process instance.
|
java.util.Date |
getDueDate()
Returns the due date of the process instance.
|
Id |
getId()
Returns the identifier of the process instance.
|
IWFTransition |
getLastTransition()
Returns the last transition
|
java.lang.String |
getLastTransitionBy()
Returns the user name who processed the last transition
|
IWFTransitionComment |
getLastTransitionComment()
Returns the comment provided by the user on the last transition.
|
java.util.Date |
getLastTransitionDate()
Returns the last transition date
|
java.lang.String |
getModifiedBy()
Returns the user name who last modified the process instance
|
java.util.Date |
getModifiedDate()
Returns the last modified date
|
java.util.List<java.lang.String> |
getOwners()
Returns the process oversight user/group names for the process instance.
|
Id |
getProcessVersionId()
Returns the identifier of the process definition version.
|
IResource |
getResourceContext()
Returns the context of resource to retrieve system fields without susequent fetch operation.
|
Id |
getResourceId()
Returns the identifier of the resource where the process instance is associated to.
|
WFProcessState |
getState()
Returns the state of the process instance.
|
java.lang.String |
getStatusMessage()
Returns the status message of the process instance.
|
java.lang.String |
getStatusMessageLabel()
Returns the localized status message for the user session.
|
java.util.List<ILabel> |
getStatusMessageLabels()
Returns the process status message labels for all locales
|
WFProcessType |
getType()
Returns the type of the process instance.
|
void |
setOwners(java.util.List<java.lang.String> owners)
Sets the list of oversight user/group name via custom transition actions.
|
Id getId()
Id getProcessVersionId()
Id getResourceId()
IResource getResourceContext()
WFProcessState getState()
IWFProcess for more detail.WFProcessType getType()
WFProcessCriticality getCriticality()
java.util.Date getDueDate()
java.lang.String getStatusMessage()
java.lang.String getStatusMessageLabel()
java.util.List<ILabel> getStatusMessageLabels()
ILabel the process status message labeljava.util.List<java.lang.String> getOwners()
void setOwners(java.util.List<java.lang.String> owners)
owners - java.util.Map<java.lang.String,java.lang.Object> getAttributes()
IWFProcessDefinition.getAttributes()
when the process is started, but can be referenced/altered by transition actions.java.lang.Object getAttribute(java.lang.String name)
name - java.util.Date getModifiedDate()
java.lang.String getModifiedBy()
java.util.Date getCreatedDate()
java.lang.String getCreatedBy()
IWFTransitionComment getLastTransitionComment()
IWFTransition getLastTransition()
java.util.Date getLastTransitionDate()
java.lang.String getLastTransitionBy()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.