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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCalledCaseInstanceId()
The corresponding case in case of a case task activity.java.lang.String
getCalledProcessInstanceId()
The corresponding process in case of a process task activity.java.lang.String
getCaseActivityId()
The unique identifier of the case activity in the case.java.lang.String
getCaseActivityName()
The display name for the case activity.java.lang.String
getCaseActivityType()
The display type for the case activity.java.lang.String
getCaseDefinitionId()
The case definition reference.java.lang.String
getCaseExecutionId()
The case execution reference.java.lang.String
getCaseInstanceId()
The case instance reference.java.util.Date
getCreateTime()
The time when the case activity was created.java.lang.Long
getDurationInMillis()
Difference betweengetEndTime()
andgetCreateTime()
.java.util.Date
getEndTime()
The time when the case activity endedjava.lang.String
getId()
The id of the case activity instance (== as the id of the runtime activity).java.lang.String
getParentCaseActivityInstanceId()
The id of the parent case activity instance.java.lang.String
getTaskId()
The corresponding task in case of a human task activity.java.lang.String
getTenantId()
The id of the tenant this historic case activity instance belongs to.boolean
isActive()
Check if the case activity is active.boolean
isAvailable()
Check if the case activity is available.boolean
isCompleted()
Check if the case activity is completed.boolean
isDisabled()
Check if the case activity is disabled.boolean
isEnabled()
Check if the case activity is enabled.boolean
isRequired()
Check if the case activity is required.boolean
isTerminated()
Check if the case activity is terminated.
-
-
-
Method Detail
-
getId
java.lang.String getId()
The id of the case activity instance (== as the id of the runtime activity).
-
getParentCaseActivityInstanceId
java.lang.String getParentCaseActivityInstanceId()
The id of the parent case activity instance.
-
getCaseActivityId
java.lang.String getCaseActivityId()
The unique identifier of the case activity in the case.
-
getCaseActivityName
java.lang.String getCaseActivityName()
The display name for the case activity.
-
getCaseActivityType
java.lang.String getCaseActivityType()
The display type for the case activity.
-
getCaseDefinitionId
java.lang.String getCaseDefinitionId()
The case definition reference.
-
getCaseInstanceId
java.lang.String getCaseInstanceId()
The case instance reference.
-
getCaseExecutionId
java.lang.String getCaseExecutionId()
The case execution reference.
-
getTaskId
java.lang.String getTaskId()
The corresponding task in case of a human task activity.
-
getCalledProcessInstanceId
java.lang.String getCalledProcessInstanceId()
The corresponding process in case of a process task activity.
-
getCalledCaseInstanceId
java.lang.String getCalledCaseInstanceId()
The corresponding case in case of a case task activity.
-
getTenantId
java.lang.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
java.util.Date getCreateTime()
The time when the case activity was created.
-
getEndTime
java.util.Date getEndTime()
The time when the case activity ended
-
getDurationInMillis
java.lang.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.
-
-