Package org.camunda.bpm.engine.history
Interface HistoricCaseActivityInstance
- All Known Implementing Classes:
HistoricCaseActivityInstanceEntity
public interface HistoricCaseActivityInstance
Represents one execution of a case activity which is stored permanent for statistics, audit and other business intelligence purposes.
- Author:
- Sebastian Menski
-
Method Summary
Modifier and TypeMethodDescriptionThe corresponding case in case of a case task activity.The corresponding process in case of a process task activity.The unique identifier of the case activity in the case.The display name for the case activity.The display type for the case activity.The case definition reference.The case execution reference.The case instance reference.The time when the case activity was created.Difference betweengetEndTime()
andgetCreateTime()
.The time when the case activity endedgetId()
The id of the case activity instance (== as the id of the runtime activity).The id of the parent case activity instance.The corresponding task in case of a human task activity.The id of the tenant this historic case activity instance belongs to.boolean
isActive()
Check if the case activity is active.boolean
Check if the case activity is available.boolean
Check if the case activity is completed.boolean
Check if the case activity is disabled.boolean
Check if the case activity is enabled.boolean
Check if the case activity is required.boolean
Check if the case activity is terminated.
-
Method Details
-
getId
String getId()The id of the case activity instance (== as the id of the runtime activity). -
getParentCaseActivityInstanceId
String getParentCaseActivityInstanceId()The id of the parent case activity instance. -
getCaseActivityId
String getCaseActivityId()The unique identifier of the case activity in the case. -
getCaseActivityName
String getCaseActivityName()The display name for the case activity. -
getCaseActivityType
String getCaseActivityType()The display type for the case activity. -
getCaseDefinitionId
String getCaseDefinitionId()The case definition reference. -
getCaseInstanceId
String getCaseInstanceId()The case instance reference. -
getCaseExecutionId
String getCaseExecutionId()The case execution reference. -
getTaskId
String getTaskId()The corresponding task in case of a human task activity. -
getCalledProcessInstanceId
String getCalledProcessInstanceId()The corresponding process in case of a process task activity. -
getCalledCaseInstanceId
String getCalledCaseInstanceId()The corresponding case in case of a case task activity. -
getTenantId
String getTenantId()The id of the tenant this historic case activity instance belongs to. Can benull
if the historic case activity instance belongs to no single tenant. -
getCreateTime
Date getCreateTime()The time when the case activity was created. -
getEndTime
Date getEndTime()The time when the case activity ended -
getDurationInMillis
Long getDurationInMillis()Difference betweengetEndTime()
andgetCreateTime()
. -
isRequired
boolean isRequired()Check if the case activity is required. -
isAvailable
boolean isAvailable()Check if the case activity is available. -
isEnabled
boolean isEnabled()Check if the case activity is enabled. -
isDisabled
boolean isDisabled()Check if the case activity is disabled. -
isActive
boolean isActive()Check if the case activity is active. -
isCompleted
boolean isCompleted()Check if the case activity is completed. -
isTerminated
boolean isTerminated()Check if the case activity is terminated.
-