public interface CmmnHistoryService
| Modifier and Type | Method and Description |
|---|---|
CaseReactivationBuilder |
createCaseReactivationBuilder(String caseInstanceId)
Creates a new case reactivation builder used to reactivate an archived / finished case with various options.
|
HistoricCaseInstanceQuery |
createHistoricCaseInstanceQuery() |
HistoricMilestoneInstanceQuery |
createHistoricMilestoneInstanceQuery() |
HistoricPlanItemInstanceQuery |
createHistoricPlanItemInstanceQuery() |
HistoricTaskInstanceQuery |
createHistoricTaskInstanceQuery() |
HistoricTaskLogEntryBuilder |
createHistoricTaskLogEntryBuilder()
Create new task log entry builder to the log task event without predefined values from the task
|
HistoricTaskLogEntryBuilder |
createHistoricTaskLogEntryBuilder(TaskInfo task)
Create new task log entry builder to the log task event
|
HistoricTaskLogEntryQuery |
createHistoricTaskLogEntryQuery()
Returns a new
HistoricTaskLogEntryQuery that can be used to dynamically query task log entries. |
HistoricVariableInstanceQuery |
createHistoricVariableInstanceQuery() |
NativeHistoricTaskLogEntryQuery |
createNativeHistoricTaskLogEntryQuery()
Returns a new
NativeHistoricTaskLogEntryQuery for HistoricTaskLogEntrys. |
void |
deleteHistoricCaseInstance(String caseInstanceId) |
void |
deleteHistoricTaskInstance(String taskId)
Deletes historic task instance.
|
void |
deleteHistoricTaskLogEntry(long logNumber)
Deletes user task log entry by its log number
|
List<HistoricEntityLink> |
getHistoricEntityLinkChildrenForCaseInstance(String caseInstanceId)
Retrieves the
HistoricEntityLinks associated with the given case instance. |
List<HistoricEntityLink> |
getHistoricEntityLinkChildrenWithSameRootAsCaseInstance(String caseInstanceId)
Retrieves all the
HistoricEntityLinks associated with same root as the given case instance. |
List<HistoricEntityLink> |
getHistoricEntityLinkParentsForCaseInstance(String caseInstanceId)
Retrieves the
HistoricEntityLinks where the given case instance is referenced. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForCaseInstance(String caseInstanceId)
Retrieves the
HistoricIdentityLinks associated with the given case instance. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForPlanItemInstance(String planItemInstanceId)
Retrieves the
HistoricIdentityLinks associated with the given plan item instance. |
List<org.flowable.identitylink.api.history.HistoricIdentityLink> |
getHistoricIdentityLinksForTask(String taskId)
Retrieves the
HistoricIdentityLinks associated with the given task. |
List<StageResponse> |
getStageOverview(String caseInstanceId)
Gives back a stage overview of the historic case instance which includes the stage information of the case model.
|
HistoricCaseInstanceQuery createHistoricCaseInstanceQuery()
HistoricMilestoneInstanceQuery createHistoricMilestoneInstanceQuery()
HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
HistoricPlanItemInstanceQuery createHistoricPlanItemInstanceQuery()
List<StageResponse> getStageOverview(String caseInstanceId)
caseInstanceId - id of the case instance, cannot be null.FlowableObjectNotFoundException - when the case instance doesn't exist.void deleteHistoricCaseInstance(String caseInstanceId)
void deleteHistoricTaskInstance(String taskId)
dynamically created and then completed. If the
historic task instance doesn't exist, no exception is thrown and the method returns normal.CaseReactivationBuilder createCaseReactivationBuilder(String caseInstanceId)
caseInstanceId - the id of the historical case to be reactivatedList<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForTask(String taskId)
HistoricIdentityLinks associated with the given task. Such an IdentityLink informs how a certain identity (eg. group or user) is associated with a certain task
(eg. as candidate, assignee, etc.), even if the task is completed as opposed to IdentityLinks which only exist for active tasks.List<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForCaseInstance(String caseInstanceId)
HistoricIdentityLinks associated with the given case instance. Such an IdentityLink informs how a certain identity (eg. group or user) is associated with a
certain case instance, even if the instance is completed as opposed to IdentityLinks which only exist for active instances.List<org.flowable.identitylink.api.history.HistoricIdentityLink> getHistoricIdentityLinksForPlanItemInstance(String planItemInstanceId)
HistoricIdentityLinks associated with the given plan item instance. Such an IdentityLink informs how a certain identity (eg. group or user) is associated with a
certain case instance, even if the instance is completed as opposed to IdentityLinks which only exist for active instances.List<HistoricEntityLink> getHistoricEntityLinkChildrenForCaseInstance(String caseInstanceId)
HistoricEntityLinks associated with the given case instance.List<HistoricEntityLink> getHistoricEntityLinkChildrenWithSameRootAsCaseInstance(String caseInstanceId)
HistoricEntityLinks associated with same root as the given case instance.List<HistoricEntityLink> getHistoricEntityLinkParentsForCaseInstance(String caseInstanceId)
HistoricEntityLinks where the given case instance is referenced.void deleteHistoricTaskLogEntry(long logNumber)
logNumber - user task log entry identifierHistoricTaskLogEntryBuilder createHistoricTaskLogEntryBuilder(TaskInfo task)
task - to which is log related toHistoricTaskLogEntryBuilder createHistoricTaskLogEntryBuilder()
HistoricTaskLogEntryQuery createHistoricTaskLogEntryQuery()
HistoricTaskLogEntryQuery that can be used to dynamically query task log entries.NativeHistoricTaskLogEntryQuery createNativeHistoricTaskLogEntryQuery()
NativeHistoricTaskLogEntryQuery for HistoricTaskLogEntrys.Copyright © 2021 Flowable. All rights reserved.