org.activiti.engine.history
接口 HistoricProcessInstance

所有已知实现类:
HistoricProcessInstanceEntity

public interface HistoricProcessInstance

A single execution of a whole process definition that is stored permanently.

作者:
Christian Stettler

方法摘要
 String getBusinessKey()
          The user provided unique reference to this process instance.
 String getDeleteReason()
          Obtains the reason for the process instance's deletion.
 Long getDurationInMillis()
          The difference between getEndTime() and getStartTime() .
 String getEndActivityId()
          已过时。 
 Date getEndTime()
          The time the process was ended.
 String getId()
          The process instance id (== as the id for the runtime process instance).
 String getProcessDefinitionId()
          The process definition reference.
 Map<String,Object> getProcessVariables()
          Returns the process variables if requested in the process instance query
 String getStartActivityId()
          The start activity.
 Date getStartTime()
          The time the process was started.
 String getStartUserId()
          The authenticated user that started this process instance.
 String getSuperProcessInstanceId()
          The process instance id of a potential super process instance or null if no super process instance exists
 

方法详细信息

getId

String getId()
The process instance id (== as the id for the runtime process instance).


getBusinessKey

String getBusinessKey()
The user provided unique reference to this process instance.


getProcessDefinitionId

String getProcessDefinitionId()
The process definition reference.


getStartTime

Date getStartTime()
The time the process was started.


getEndTime

Date getEndTime()
The time the process was ended.


getDurationInMillis

Long getDurationInMillis()
The difference between getEndTime() and getStartTime() .


getEndActivityId

@Deprecated
String getEndActivityId()
已过时。 

Reference to the activity in which this process instance ended. Note that a process instance can have multiple end events, in this case it might not be deterministic which activity id will be referenced here. Use a HistoricActivityInstanceQuery instead to query for end events of the process instance (use the activityTYpe attribute)


getStartUserId

String getStartUserId()
The authenticated user that started this process instance.

另请参见:
IdentityService.setAuthenticatedUserId(String)

getStartActivityId

String getStartActivityId()
The start activity.


getDeleteReason

String getDeleteReason()
Obtains the reason for the process instance's deletion.


getSuperProcessInstanceId

String getSuperProcessInstanceId()
The process instance id of a potential super process instance or null if no super process instance exists


getProcessVariables

Map<String,Object> getProcessVariables()
Returns the process variables if requested in the process instance query



Copyright © 2013 Alfresco. All rights reserved.