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
 
 public class HistoricTaskInstanceManager extends AbstractHistoricManager - Author:
- Tom Baeyens
 
- 
- 
Field Summary- 
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManagerhistoryLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
 
- 
 - 
Constructor SummaryConstructors Constructor Description HistoricTaskInstanceManager()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRemovalTimeToTaskInstancesByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)voidaddRemovalTimeToTaskInstancesByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)protected voidconfigureQuery(HistoricTaskInstanceQueryImpl query)voidcreateHistoricTask(TaskEntity task)voiddeleteHistoricTaskInstanceById(java.lang.String taskId)voiddeleteHistoricTaskInstancesByCaseInstanceIds(java.util.List<java.lang.String> caseInstanceIds)voiddeleteHistoricTaskInstancesByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds, boolean deleteVariableInstances)Deletes all data related with tasks, which belongs to specified process instance ids.DbOperationdeleteHistoricTaskInstancesByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)HistoricTaskInstanceEntityfindHistoricTaskInstanceById(java.lang.String taskId)longfindHistoricTaskInstanceCountByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap)longfindHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery)java.util.List<HistoricTaskInstance>findHistoricTaskInstancesByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults)java.util.List<HistoricTaskInstance>findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page)voidmarkTaskInstanceEnded(java.lang.String taskId, java.lang.String deleteReason)voidupdateHistoricTaskInstance(TaskEntity taskEntity)- 
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManagercheckHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
 - 
Methods 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
 
- 
 
- 
- 
- 
Method Detail- 
deleteHistoricTaskInstancesByProcessInstanceIdspublic void deleteHistoricTaskInstancesByProcessInstanceIds(java.util.List<java.lang.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.
 
 - 
deleteHistoricTaskInstancesByCaseInstanceIdspublic void deleteHistoricTaskInstancesByCaseInstanceIds(java.util.List<java.lang.String> caseInstanceIds) 
 - 
findHistoricTaskInstanceCountByQueryCriteriapublic long findHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery) 
 - 
findHistoricTaskInstancesByQueryCriteriapublic java.util.List<HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page) 
 - 
findHistoricTaskInstanceByIdpublic HistoricTaskInstanceEntity findHistoricTaskInstanceById(java.lang.String taskId) 
 - 
deleteHistoricTaskInstanceByIdpublic void deleteHistoricTaskInstanceById(java.lang.String taskId) 
 - 
findHistoricTaskInstancesByNativeQuerypublic java.util.List<HistoricTaskInstance> findHistoricTaskInstancesByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults) 
 - 
findHistoricTaskInstanceCountByNativeQuerypublic long findHistoricTaskInstanceCountByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap) 
 - 
updateHistoricTaskInstancepublic void updateHistoricTaskInstance(TaskEntity taskEntity) 
 - 
addRemovalTimeToTaskInstancesByRootProcessInstanceIdpublic void addRemovalTimeToTaskInstancesByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
 - 
addRemovalTimeToTaskInstancesByProcessInstanceIdpublic void addRemovalTimeToTaskInstancesByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
 - 
markTaskInstanceEndedpublic void markTaskInstanceEnded(java.lang.String taskId, java.lang.String deleteReason)
 - 
createHistoricTaskpublic void createHistoricTask(TaskEntity task) 
 - 
configureQueryprotected void configureQuery(HistoricTaskInstanceQueryImpl query) 
 - 
deleteHistoricTaskInstancesByRemovalTimepublic DbOperation deleteHistoricTaskInstancesByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize) 
 
- 
 
-