public class HistoricTaskInstanceManager extends AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
Constructor and Description |
---|
HistoricTaskInstanceManager() |
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
checkAuthorization, close, configureQuery, delete, deleteAuthorizations, deleteAuthorizationsForGroup, deleteAuthorizationsForUser, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getBatchManager, getByteArrayManager, 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
public void deleteHistoricTaskInstancesByProcessInstanceIds(List<String> processInstanceIds, boolean deleteVariableInstances)
processInstanceIds
- deleteVariableInstances
- when true, will also delete variable instances. Can be false when variable instances were deleted separately.public void deleteHistoricTaskInstancesByCaseInstanceIds(List<String> caseInstanceIds)
public long findHistoricTaskInstanceCountByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery)
public List<HistoricTaskInstance> findHistoricTaskInstancesByQueryCriteria(HistoricTaskInstanceQueryImpl historicTaskInstanceQuery, Page page)
public HistoricTaskInstanceEntity findHistoricTaskInstanceById(String taskId)
public void deleteHistoricTaskInstanceById(String taskId)
public List<HistoricTaskInstance> findHistoricTaskInstancesByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
public long findHistoricTaskInstanceCountByNativeQuery(Map<String,Object> parameterMap)
public void updateHistoricTaskInstance(TaskEntity taskEntity)
public void addRemovalTimeToTaskInstancesByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
public void addRemovalTimeToTaskInstancesByProcessInstanceId(String processInstanceId, Date removalTime)
public void createHistoricTask(TaskEntity task)
protected void configureQuery(HistoricTaskInstanceQueryImpl query)
public DbOperation deleteHistoricTaskInstancesByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
Copyright © 2022. All rights reserved.