public interface HistoryService
HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
HistoricProcessInstance
s.HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
HistoricActivityInstance
s.HistoricActivityStatisticsQuery createHistoricActivityStatisticsQuery(String processDefinitionId)
HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
HistoricTaskInstance
s.HistoricDetailQuery createHistoricDetailQuery()
HistoricDetail
s.HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
HistoricVariableInstance
s.UserOperationLogQuery createUserOperationLogQuery()
UserOperationLogEntry
instances.HistoricIncidentQuery createHistoricIncidentQuery()
historic incidents
.HistoricCaseInstanceQuery createHistoricCaseInstanceQuery()
HistoricCaseInstance
s.HistoricCaseActivityInstanceQuery createHistoricCaseActivityInstanceQuery()
HistoricCaseActivityInstance
s.HistoricDecisionInstanceQuery createHistoricDecisionInstanceQuery()
HistoricDecisionInstance
s.
If the user has no Permissions.READ_HISTORY
permission on Resources.DECISION_DEFINITION
then the result of the query is empty.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.AuthorizationException
- If the user has no Permissions.DELETE_HISTORY
permission on Resources.PROCESS_DEFINITION
.void deleteHistoricProcessInstance(String processInstanceId)
AuthorizationException
- If the user has no Permissions.DELETE_HISTORY
permission on Resources.PROCESS_DEFINITION
.void deleteUserOperationLogEntry(String entryId)
AuthorizationException
- If the user has no Permissions.DELETE_HISTORY
permission on Resources.PROCESS_DEFINITION
.void deleteHistoricCaseInstance(String caseInstanceId)
void deleteHistoricDecisionInstance(String decisionDefinitionId)
decisionDefinitionId
- the id of the decision definitionAuthorizationException
- If the user has no Permissions.DELETE_HISTORY
permission on Resources.DECISION_DEFINITION
.NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
HistoricProcessInstance
s via SQLNativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
HistoricTaskInstance
s via SQLNativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
HistoricActivityInstance
s via SQLNativeHistoricCaseInstanceQuery createNativeHistoricCaseInstanceQuery()
HistoricCaseInstance
s via SQLNativeHistoricCaseActivityInstanceQuery createNativeHistoricCaseActivityInstanceQuery()
HistoricCaseActivityInstance
s via SQLNativeHistoricDecisionInstanceQuery createNativeHistoricDecisionInstanceQuery()
HistoricDecisionInstance
s via SQLHistoricJobLogQuery createHistoricJobLogQuery()
historic job logs
.String getHistoricJobLogExceptionStacktrace(String historicJobLogId)
historicJobLogId
- id of the historic job log, cannot be null.ProcessEngineException
- when no historic job log exists with the given id.AuthorizationException
- If the user has no Permissions.READ_HISTORY
permission on Resources.PROCESS_DEFINITION
.Copyright © 2018. All rights reserved.