org.activiti.engine.history
Interface HistoricProcessInstance


public interface HistoricProcessInstance

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

Author:
Christian Stettler

Method Summary
 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()
          Reference to the activity in which this process instance ended.
 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.
 String getStartActivityId()
          The start activity.
 Date getStartTime()
          The time the process was started.
 String getStartUserId()
          The authenticated user that started this process instance.
 

Method Detail

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

String getEndActivityId()
Reference to the activity in which this process instance ended.


getStartUserId

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

See Also:
IdentityService.setAuthenticatedUserId(String)

getStartActivityId

String getStartActivityId()
The start activity.


getDeleteReason

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



Copyright © 2012 Alfresco. All Rights Reserved.