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 SummaryFields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManagerhistoryLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaddRemovalTimeToTaskInstancesByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize) addRemovalTimeToTaskInstancesByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize) protected voidvoidcreateHistoricTask(TaskEntity task) voiddeleteHistoricTaskInstanceById(String taskId) voiddeleteHistoricTaskInstancesByCaseInstanceIds(List<String> caseInstanceIds) voiddeleteHistoricTaskInstancesByProcessInstanceIds(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) longfindHistoricTaskInstanceCountByNativeQuery(Map<String, Object> parameterMap) longfindHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) findHistoricTaskInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page) voidmarkTaskInstanceEnded(String taskId, String deleteReason) voidupdateHistoricTaskInstance(TaskEntity taskEntity) Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManageraddOperation, addOperation, checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled, isPerformUpdate, isPerformUpdateOnlyMethods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractManagercheckAuthorization, 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- 
HistoricTaskInstanceManagerpublic HistoricTaskInstanceManager()
 
- 
- 
Method Details- 
deleteHistoricTaskInstancesByProcessInstanceIdspublic 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
- 
findHistoricTaskInstanceCountByQueryCriteriapublic long findHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) 
- 
findHistoricTaskInstancesByQueryCriteriapublic List<HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page) 
- 
findHistoricTaskInstanceById
- 
deleteHistoricTaskInstanceById
- 
findHistoricTaskInstancesByNativeQuerypublic List<HistoricTaskInstance> findHistoricTaskInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) 
- 
findHistoricTaskInstanceCountByNativeQuery
- 
updateHistoricTaskInstance
- 
addRemovalTimeToTaskInstancesByRootProcessInstanceIdpublic DbOperation addRemovalTimeToTaskInstancesByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime, Integer batchSize) 
- 
addRemovalTimeToTaskInstancesByProcessInstanceIdpublic DbOperation addRemovalTimeToTaskInstancesByProcessInstanceId(String processInstanceId, Date removalTime, Integer batchSize) 
- 
markTaskInstanceEnded
- 
createHistoricTask
- 
configureQuery
- 
deleteHistoricTaskInstancesByRemovalTimepublic DbOperation deleteHistoricTaskInstancesByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize) 
 
-