public class HistoryServiceImpl extends ServiceImpl implements HistoryService
commandExecutor
Constructor and Description |
---|
HistoryServiceImpl() |
Modifier and Type | Method and Description |
---|---|
HistoricActivityInstanceQuery |
createHistoricActivityInstanceQuery()
Creates a new programmatic query to search for
HistoricActivityInstance s. |
HistoricActivityStatisticsQuery |
createHistoricActivityStatisticsQuery(String processDefinitionId)
Query for the number of historic activity instances aggregated by activities of a single process definition.
|
HistoricBatchQuery |
createHistoricBatchQuery()
Creates a query to search for
HistoricBatch instances. |
HistoricCaseActivityInstanceQuery |
createHistoricCaseActivityInstanceQuery()
Creates a new programmatic query to search for
HistoricCaseActivityInstance s. |
HistoricCaseActivityStatisticsQuery |
createHistoricCaseActivityStatisticsQuery(String caseDefinitionId)
Query for the number of historic case activity instances aggregated by case activities of a single case definition.
|
HistoricCaseInstanceQuery |
createHistoricCaseInstanceQuery()
Creates a new programmatic query to search for
HistoricCaseInstance s. |
HistoricDecisionInstanceQuery |
createHistoricDecisionInstanceQuery()
Creates a new programmatic query to search for
HistoricDecisionInstance s. |
HistoricDecisionInstanceStatisticsQuery |
createHistoricDecisionInstanceStatisticsQuery(String decisionRequirementsDefinitionId)
Query for the statistics of DRD evaluation.
|
HistoricDetailQuery |
createHistoricDetailQuery()
Creates a new programmatic query to search for
HistoricDetail s. |
HistoricIdentityLinkLogQueryImpl |
createHistoricIdentityLinkLogQuery()
Creates a new programmatic query to search for
historic identity links . |
HistoricIncidentQuery |
createHistoricIncidentQuery()
Creates a new programmatic query to search for
historic incidents . |
HistoricJobLogQuery |
createHistoricJobLogQuery()
Creates a new programmatic query to search for
historic job logs . |
HistoricProcessInstanceQuery |
createHistoricProcessInstanceQuery()
Creates a new programmatic query to search for
HistoricProcessInstance s. |
HistoricProcessInstanceReport |
createHistoricProcessInstanceReport()
Creates a new programmatic query to create a historic process instance report.
|
HistoricTaskInstanceQuery |
createHistoricTaskInstanceQuery()
Creates a new programmatic query to search for
HistoricTaskInstance s. |
HistoricTaskInstanceReport |
createHistoricTaskInstanceReport()
Creates a new programmatic query to create a historic task instance report.
|
HistoricVariableInstanceQuery |
createHistoricVariableInstanceQuery()
Creates a new programmatic query to search for
HistoricVariableInstance s. |
NativeHistoricActivityInstanceQuery |
createNativeHistoricActivityInstanceQuery()
creates a native query to search for
HistoricActivityInstance s via SQL |
NativeHistoricCaseActivityInstanceQuery |
createNativeHistoricCaseActivityInstanceQuery()
creates a native query to search for
HistoricCaseActivityInstance s via SQL |
NativeHistoricCaseInstanceQuery |
createNativeHistoricCaseInstanceQuery()
creates a native query to search for
HistoricCaseInstance s via SQL |
NativeHistoricDecisionInstanceQuery |
createNativeHistoricDecisionInstanceQuery()
creates a native query to search for
HistoricDecisionInstance s via SQL |
NativeHistoricProcessInstanceQuery |
createNativeHistoricProcessInstanceQuery()
creates a native query to search for
HistoricProcessInstance s via SQL |
NativeHistoricTaskInstanceQuery |
createNativeHistoricTaskInstanceQuery()
creates a native query to search for
HistoricTaskInstance s via SQL |
UserOperationLogQuery |
createUserOperationLogQuery()
Creates a new programmatic query to search for
UserOperationLogEntry instances. |
void |
deleteHistoricBatch(String batchId)
Deletes a historic batch instance.
|
void |
deleteHistoricCaseInstance(String caseInstanceId)
Deletes historic case instance.
|
void |
deleteHistoricDecisionInstance(String decisionDefinitionId)
Deletes historic decision instances of a decision definition.
|
void |
deleteHistoricDecisionInstanceByDefinitionId(String decisionDefinitionId)
Deletes historic decision instances of a decision definition.
|
void |
deleteHistoricDecisionInstanceByInstanceId(String historicDecisionInstanceId)
Deletes historic decision instances by its id.
|
void |
deleteHistoricProcessInstance(String processInstanceId)
Deletes historic process instance.
|
void |
deleteHistoricProcessInstances(List<String> processInstanceIds)
Deletes historic process instances.
|
Batch |
deleteHistoricProcessInstancesAsync(HistoricProcessInstanceQuery query,
String deleteReason)
Deletes historic process instances asynchronously based on query.
|
Batch |
deleteHistoricProcessInstancesAsync(List<String> processInstanceIds,
HistoricProcessInstanceQuery query,
String deleteReason)
Deletes historic process instances asynchronously based on query and a list of process instances.
|
Batch |
deleteHistoricProcessInstancesAsync(List<String> processInstanceIds,
String deleteReason)
Deletes historic process instances asynchronously.
|
void |
deleteHistoricTaskInstance(String taskId)
Deletes historic task instance.
|
void |
deleteUserOperationLogEntry(String entryId)
Deletes a user operation log entry.
|
String |
getHistoricJobLogExceptionStacktrace(String historicJobLogId)
Returns the full stacktrace of the exception that occurs when the
historic job log with the given id was last executed.
|
getCommandExecutor, setCommandExecutor
public HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
HistoryService
HistoricProcessInstance
s.createHistoricProcessInstanceQuery
in interface HistoryService
public HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
HistoryService
HistoricActivityInstance
s.createHistoricActivityInstanceQuery
in interface HistoryService
public HistoricActivityStatisticsQuery createHistoricActivityStatisticsQuery(String processDefinitionId)
HistoryService
createHistoricActivityStatisticsQuery
in interface HistoryService
public HistoricCaseActivityStatisticsQuery createHistoricCaseActivityStatisticsQuery(String caseDefinitionId)
HistoryService
createHistoricCaseActivityStatisticsQuery
in interface HistoryService
public HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
HistoryService
HistoricTaskInstance
s.createHistoricTaskInstanceQuery
in interface HistoryService
public HistoricDetailQuery createHistoricDetailQuery()
HistoryService
HistoricDetail
s.createHistoricDetailQuery
in interface HistoryService
public UserOperationLogQuery createUserOperationLogQuery()
HistoryService
UserOperationLogEntry
instances.createUserOperationLogQuery
in interface HistoryService
public HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
HistoryService
HistoricVariableInstance
s.createHistoricVariableInstanceQuery
in interface HistoryService
public HistoricIncidentQuery createHistoricIncidentQuery()
HistoryService
historic incidents
.createHistoricIncidentQuery
in interface HistoryService
public HistoricIdentityLinkLogQueryImpl createHistoricIdentityLinkLogQuery()
HistoryService
historic identity links
.createHistoricIdentityLinkLogQuery
in interface HistoryService
public HistoricCaseInstanceQuery createHistoricCaseInstanceQuery()
HistoryService
HistoricCaseInstance
s.createHistoricCaseInstanceQuery
in interface HistoryService
public HistoricCaseActivityInstanceQuery createHistoricCaseActivityInstanceQuery()
HistoryService
HistoricCaseActivityInstance
s.createHistoricCaseActivityInstanceQuery
in interface HistoryService
public HistoricDecisionInstanceQuery createHistoricDecisionInstanceQuery()
HistoryService
HistoricDecisionInstance
s.
If the user has no Permissions.READ_HISTORY
permission on Resources.DECISION_DEFINITION
then the result of the query is empty.createHistoricDecisionInstanceQuery
in interface HistoryService
public void deleteHistoricTaskInstance(String taskId)
HistoryService
dynamically created
and then completed
.
If the historic task instance doesn't exist, no exception is thrown and the
method returns normal.deleteHistoricTaskInstance
in interface HistoryService
public void deleteHistoricProcessInstance(String processInstanceId)
HistoryService
deleteHistoricProcessInstance
in interface HistoryService
public void deleteHistoricProcessInstances(List<String> processInstanceIds)
HistoryService
deleteHistoricProcessInstances
in interface HistoryService
public Batch deleteHistoricProcessInstancesAsync(List<String> processInstanceIds, String deleteReason)
HistoryService
deleteHistoricProcessInstancesAsync
in interface HistoryService
public Batch deleteHistoricProcessInstancesAsync(HistoricProcessInstanceQuery query, String deleteReason)
HistoryService
deleteHistoricProcessInstancesAsync
in interface HistoryService
public Batch deleteHistoricProcessInstancesAsync(List<String> processInstanceIds, HistoricProcessInstanceQuery query, String deleteReason)
HistoryService
deleteHistoricProcessInstancesAsync
in interface HistoryService
public void deleteUserOperationLogEntry(String entryId)
HistoryService
deleteUserOperationLogEntry
in interface HistoryService
public void deleteHistoricCaseInstance(String caseInstanceId)
HistoryService
deleteHistoricCaseInstance
in interface HistoryService
public void deleteHistoricDecisionInstance(String decisionDefinitionId)
HistoryService
deleteHistoricDecisionInstance
in interface HistoryService
decisionDefinitionId
- the id of the decision definitionpublic void deleteHistoricDecisionInstanceByDefinitionId(String decisionDefinitionId)
HistoryService
deleteHistoricDecisionInstanceByDefinitionId
in interface HistoryService
decisionDefinitionId
- the id of the decision definitionpublic void deleteHistoricDecisionInstanceByInstanceId(String historicDecisionInstanceId)
HistoryService
deleteHistoricDecisionInstanceByInstanceId
in interface HistoryService
historicDecisionInstanceId
- the id of the historic decision instancepublic NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
HistoryService
HistoricProcessInstance
s via SQLcreateNativeHistoricProcessInstanceQuery
in interface HistoryService
public NativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
HistoryService
HistoricTaskInstance
s via SQLcreateNativeHistoricTaskInstanceQuery
in interface HistoryService
public NativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
HistoryService
HistoricActivityInstance
s via SQLcreateNativeHistoricActivityInstanceQuery
in interface HistoryService
public NativeHistoricCaseInstanceQuery createNativeHistoricCaseInstanceQuery()
HistoryService
HistoricCaseInstance
s via SQLcreateNativeHistoricCaseInstanceQuery
in interface HistoryService
public NativeHistoricCaseActivityInstanceQuery createNativeHistoricCaseActivityInstanceQuery()
HistoryService
HistoricCaseActivityInstance
s via SQLcreateNativeHistoricCaseActivityInstanceQuery
in interface HistoryService
public NativeHistoricDecisionInstanceQuery createNativeHistoricDecisionInstanceQuery()
HistoryService
HistoricDecisionInstance
s via SQLcreateNativeHistoricDecisionInstanceQuery
in interface HistoryService
public HistoricJobLogQuery createHistoricJobLogQuery()
HistoryService
historic job logs
.createHistoricJobLogQuery
in interface HistoryService
public String getHistoricJobLogExceptionStacktrace(String historicJobLogId)
HistoryService
getHistoricJobLogExceptionStacktrace
in interface HistoryService
historicJobLogId
- id of the historic job log, cannot be null.public HistoricProcessInstanceReport createHistoricProcessInstanceReport()
HistoryService
createHistoricProcessInstanceReport
in interface HistoryService
public HistoricTaskInstanceReport createHistoricTaskInstanceReport()
HistoryService
createHistoricTaskInstanceReport
in interface HistoryService
public HistoricBatchQuery createHistoricBatchQuery()
HistoryService
HistoricBatch
instances.createHistoricBatchQuery
in interface HistoryService
public void deleteHistoricBatch(String batchId)
HistoryService
deleteHistoricBatch
in interface HistoryService
public HistoricDecisionInstanceStatisticsQuery createHistoricDecisionInstanceStatisticsQuery(String decisionRequirementsDefinitionId)
HistoryService
createHistoricDecisionInstanceStatisticsQuery
in interface HistoryService
decisionRequirementsDefinitionId
- - id of decision requirement definitionCopyright © 2018. All rights reserved.