org.camunda.bpm.engine.impl
Class HistoryServiceImpl
java.lang.Object
org.camunda.bpm.engine.impl.ServiceImpl
org.camunda.bpm.engine.impl.HistoryServiceImpl
- All Implemented Interfaces:
- HistoryService
public class HistoryServiceImpl
- extends ServiceImpl
- implements HistoryService
- Author:
- Tom Baeyens, Bernd Ruecker (camunda), Christian Stettler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HistoryServiceImpl
public HistoryServiceImpl()
createHistoricProcessInstanceQuery
public HistoricProcessInstanceQuery createHistoricProcessInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricProcessInstances.
- Specified by:
createHistoricProcessInstanceQuery in interface HistoryService
createHistoricActivityInstanceQuery
public HistoricActivityInstanceQuery createHistoricActivityInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricActivityInstances.
- Specified by:
createHistoricActivityInstanceQuery in interface HistoryService
createHistoricActivityStatisticsQuery
public HistoricActivityStatisticsQuery createHistoricActivityStatisticsQuery(String processDefinitionId)
- Description copied from interface:
HistoryService
- Query for the number of historic activity instances aggregated by activities of a single process definition.
- Specified by:
createHistoricActivityStatisticsQuery in interface HistoryService
createHistoricTaskInstanceQuery
public HistoricTaskInstanceQuery createHistoricTaskInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricTaskInstances.
- Specified by:
createHistoricTaskInstanceQuery in interface HistoryService
createHistoricDetailQuery
public HistoricDetailQuery createHistoricDetailQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricDetails.
- Specified by:
createHistoricDetailQuery in interface HistoryService
createUserOperationLogQuery
public UserOperationLogQuery createUserOperationLogQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
UserOperationLogEntry instances.
- Specified by:
createUserOperationLogQuery in interface HistoryService
createHistoricVariableInstanceQuery
public HistoricVariableInstanceQuery createHistoricVariableInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricVariableInstances.
- Specified by:
createHistoricVariableInstanceQuery in interface HistoryService
createHistoricIncidentQuery
public HistoricIncidentQuery createHistoricIncidentQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
historic incidents.
- Specified by:
createHistoricIncidentQuery in interface HistoryService
createHistoricCaseInstanceQuery
public HistoricCaseInstanceQuery createHistoricCaseInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricCaseInstances.
- Specified by:
createHistoricCaseInstanceQuery in interface HistoryService
createHistoricCaseActivityInstanceQuery
public HistoricCaseActivityInstanceQuery createHistoricCaseActivityInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricCaseActivityInstances.
- Specified by:
createHistoricCaseActivityInstanceQuery in interface HistoryService
createHistoricDecisionInstanceQuery
public HistoricDecisionInstanceQuery createHistoricDecisionInstanceQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
HistoricDecisionInstances.
If the user has no Permissions.READ_HISTORY permission on Resources.DECISION_DEFINITION
then the result of the query is empty.
- Specified by:
createHistoricDecisionInstanceQuery in interface HistoryService
deleteHistoricTaskInstance
public void deleteHistoricTaskInstance(String taskId)
- Description copied from interface:
HistoryService
- Deletes historic task instance. This might be useful for tasks that are
dynamically created and then completed.
If the historic task instance doesn't exist, no exception is thrown and the
method returns normal.
- Specified by:
deleteHistoricTaskInstance in interface HistoryService
deleteHistoricProcessInstance
public void deleteHistoricProcessInstance(String processInstanceId)
- Description copied from interface:
HistoryService
- Deletes historic process instance. All historic activities, historic task and
historic details (variable updates, form properties) are deleted as well.
- Specified by:
deleteHistoricProcessInstance in interface HistoryService
deleteUserOperationLogEntry
public void deleteUserOperationLogEntry(String entryId)
- Description copied from interface:
HistoryService
- Deletes a user operation log entry. Does not cascade to any related entities.
- Specified by:
deleteUserOperationLogEntry in interface HistoryService
deleteHistoricCaseInstance
public void deleteHistoricCaseInstance(String caseInstanceId)
- Description copied from interface:
HistoryService
- Deletes historic case instance. All historic case activities, historic task and
historic details are deleted as well.
- Specified by:
deleteHistoricCaseInstance in interface HistoryService
deleteHistoricDecisionInstance
public void deleteHistoricDecisionInstance(String decisionDefinitionId)
- Description copied from interface:
HistoryService
- Deletes historic decision instances of a decision definition. All historic
decision inputs and outputs are deleted as well.
- Specified by:
deleteHistoricDecisionInstance in interface HistoryService
- Parameters:
decisionDefinitionId - the id of the decision definition
createNativeHistoricProcessInstanceQuery
public NativeHistoricProcessInstanceQuery createNativeHistoricProcessInstanceQuery()
- Description copied from interface:
HistoryService
- creates a native query to search for
HistoricProcessInstances via SQL
- Specified by:
createNativeHistoricProcessInstanceQuery in interface HistoryService
createNativeHistoricTaskInstanceQuery
public NativeHistoricTaskInstanceQuery createNativeHistoricTaskInstanceQuery()
- Description copied from interface:
HistoryService
- creates a native query to search for
HistoricTaskInstances via SQL
- Specified by:
createNativeHistoricTaskInstanceQuery in interface HistoryService
createNativeHistoricActivityInstanceQuery
public NativeHistoricActivityInstanceQuery createNativeHistoricActivityInstanceQuery()
- Description copied from interface:
HistoryService
- creates a native query to search for
HistoricActivityInstances via SQL
- Specified by:
createNativeHistoricActivityInstanceQuery in interface HistoryService
createNativeHistoricCaseInstanceQuery
public NativeHistoricCaseInstanceQuery createNativeHistoricCaseInstanceQuery()
- Description copied from interface:
HistoryService
- creates a native query to search for
HistoricCaseInstances via SQL
- Specified by:
createNativeHistoricCaseInstanceQuery in interface HistoryService
createNativeHistoricCaseActivityInstanceQuery
public NativeHistoricCaseActivityInstanceQuery createNativeHistoricCaseActivityInstanceQuery()
- Description copied from interface:
HistoryService
- creates a native query to search for
HistoricCaseActivityInstances via SQL
- Specified by:
createNativeHistoricCaseActivityInstanceQuery in interface HistoryService
createNativeHistoricDecisionInstanceQuery
public NativeHistoricDecisionInstanceQuery createNativeHistoricDecisionInstanceQuery()
- Description copied from interface:
HistoryService
- creates a native query to search for
HistoricDecisionInstances via SQL
- Specified by:
createNativeHistoricDecisionInstanceQuery in interface HistoryService
createHistoricJobLogQuery
public HistoricJobLogQuery createHistoricJobLogQuery()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to search for
historic job logs.
- Specified by:
createHistoricJobLogQuery in interface HistoryService
getHistoricJobLogExceptionStacktrace
public String getHistoricJobLogExceptionStacktrace(String historicJobLogId)
- Description copied from interface:
HistoryService
- Returns the full stacktrace of the exception that occurs when the
historic job log with the given id was last executed. Returns null
when the historic job log has no exception stacktrace.
- Specified by:
getHistoricJobLogExceptionStacktrace in interface HistoryService
- Parameters:
historicJobLogId - id of the historic job log, cannot be null.
createHistoricProcessInstanceReport
public HistoricProcessInstanceReport createHistoricProcessInstanceReport()
- Description copied from interface:
HistoryService
- Creates a new programmatic query to create a historic process instance report.
- Specified by:
createHistoricProcessInstanceReport in interface HistoryService
Copyright © 2016 camunda services GmbH. All rights reserved.