Class HistoricTaskInstanceManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
org.camunda.bpm.engine.impl.persistence.entity.HistoricTaskInstanceManager
- All Implemented Interfaces:
Session
- Author:
- Tom Baeyens
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRemovalTimeToTaskInstancesByProcessInstanceId
(String processInstanceId, Date removalTime, Integer batchSize) addRemovalTimeToTaskInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize) protected void
void
createHistoricTask
(TaskEntity task) void
deleteHistoricTaskInstanceById
(String taskId) void
deleteHistoricTaskInstancesByCaseInstanceIds
(List<String> caseInstanceIds) void
deleteHistoricTaskInstancesByProcessInstanceIds
(List<String> processInstanceIds, boolean deleteVariableInstances) Deletes all data related with tasks, which belongs to specified process instance ids.deleteHistoricTaskInstancesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) findHistoricTaskInstanceById
(String taskId) long
findHistoricTaskInstanceCountByNativeQuery
(Map<String, Object> parameterMap) long
findHistoricTaskInstanceCountByQueryCriteria
(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) findHistoricTaskInstancesByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) findHistoricTaskInstancesByQueryCriteria
(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page) void
markTaskInstanceEnded
(String taskId, String deleteReason) void
updateHistoricTaskInstance
(TaskEntity taskEntity) Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
addOperation, addOperation, checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled, isPerformUpdate, isPerformUpdateOnly
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManager
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, getCamundaFormDefinitionManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDecisionDefinitionManager, getDecisionRequirementsDefinitionManager, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricBatchManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDecisionInstanceManager, getHistoricDetailManager, getHistoricExternalTaskLogManager, getHistoricIdentityLinkManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricReportManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getTaskReportManager, getTenantManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizations
-
Constructor Details
-
HistoricTaskInstanceManager
public HistoricTaskInstanceManager()
-
-
Method Details
-
deleteHistoricTaskInstancesByProcessInstanceIds
public void deleteHistoricTaskInstancesByProcessInstanceIds(List<String> processInstanceIds, boolean deleteVariableInstances) Deletes all data related with tasks, which belongs to specified process instance ids.- Parameters:
processInstanceIds
-deleteVariableInstances
- when true, will also delete variable instances. Can be false when variable instances were deleted separately.
-
deleteHistoricTaskInstancesByCaseInstanceIds
-
findHistoricTaskInstanceCountByQueryCriteria
public long findHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) -
findHistoricTaskInstancesByQueryCriteria
public List<HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page) -
findHistoricTaskInstanceById
-
deleteHistoricTaskInstanceById
-
findHistoricTaskInstancesByNativeQuery
public List<HistoricTaskInstance> findHistoricTaskInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) -
findHistoricTaskInstanceCountByNativeQuery
-
updateHistoricTaskInstance
-
addRemovalTimeToTaskInstancesByRootProcessInstanceId
public DbOperation addRemovalTimeToTaskInstancesByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize) -
addRemovalTimeToTaskInstancesByProcessInstanceId
public DbOperation addRemovalTimeToTaskInstancesByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize) -
markTaskInstanceEnded
-
createHistoricTask
-
configureQuery
-
deleteHistoricTaskInstancesByRemovalTime
public DbOperation deleteHistoricTaskInstancesByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-