org.camunda.bpm.engine.history
Interface HistoricCaseInstance

All Known Implementing Classes:
HistoricCaseInstanceEntity

public interface HistoricCaseInstance

A single execution of a case definition that is stored permanently.

Author:
Sebastian Menski

Method Summary
 String getBusinessKey()
          The user provided unique reference to this process instance.
 String getCaseDefinitionId()
          The case definition reference.
 Date getCloseTime()
          The time the case was closed.
 Date getCreateTime()
          The time the case was created.
 String getCreateUserId()
          The authenticated user that created this case instance.
 Long getDurationInMillis()
          The difference between getCloseTime() and getCreateTime().
 String getId()
          The case instance id (== as the id of the runtime CaseInstance).
 String getSuperCaseInstanceId()
          The case instance id of a potential super case instance or null if no super case instance exists.
 boolean isActive()
          Check if the case is active.
 boolean isClosed()
          Check if the case is closed.
 boolean isCompleted()
          Check if the case is completed.
 boolean isTerminated()
          Check if the case is terminated.
 

Method Detail

getId

String getId()
The case instance id (== as the id of the runtime CaseInstance).


getBusinessKey

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


getCaseDefinitionId

String getCaseDefinitionId()
The case definition reference.


getCreateTime

Date getCreateTime()
The time the case was created.


getCloseTime

Date getCloseTime()
The time the case was closed.


getDurationInMillis

Long getDurationInMillis()
The difference between getCloseTime() and getCreateTime().


getCreateUserId

String getCreateUserId()
The authenticated user that created this case instance.

See Also:
IdentityService.setAuthenticatedUserId(String)

getSuperCaseInstanceId

String getSuperCaseInstanceId()
The case instance id of a potential super case instance or null if no super case instance exists.


isActive

boolean isActive()
Check if the case is active.


isCompleted

boolean isCompleted()
Check if the case is completed.


isTerminated

boolean isTerminated()
Check if the case is terminated.


isClosed

boolean isClosed()
Check if the case is closed.



Copyright © 2014 camunda services GmbH. All rights reserved.