Class HistoricProcessInstanceManager
java.lang.Object
org.camunda.bpm.engine.impl.persistence.AbstractManager
org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
org.camunda.bpm.engine.impl.persistence.entity.HistoricProcessInstanceManager
- 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 TypeMethodDescriptionMap<Class<? extends DbEntity>,
DbOperation> addRemovalTimeById
(String processInstanceId, Date removalTime, Integer batchSize, Set<String> entities) void
addRemovalTimeToProcessInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime) Map<Class<? extends DbEntity>,
DbOperation> addRemovalTimeToProcessInstancesByRootProcessInstanceId
(String rootProcessInstanceId, Date removalTime, Integer batchSize, Set<String> entities) protected void
void
deleteHistoricProcessInstanceByIds
(List<String> processInstanceIds) void
deleteHistoricProcessInstanceByProcessDefinitionId
(String processDefinitionId) Map<Class<? extends DbEntity>,
DbOperation> deleteHistoricProcessInstancesByRemovalTime
(Date removalTime, int minuteFrom, int minuteTo, int batchSize) findCleanableHistoricProcessInstancesReportByCriteria
(CleanableHistoricProcessInstanceReportImpl query, Page page) long
findCleanableHistoricProcessInstancesReportCountByCriteria
(CleanableHistoricProcessInstanceReportImpl query) findDeploymentIdMappingsByQueryCriteria
(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery) findHistoricProcessInstance
(String processInstanceId) long
findHistoricProcessInstanceCountByNativeQuery
(Map<String, Object> parameterMap) long
findHistoricProcessInstanceCountByQueryCriteria
(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery) findHistoricProcessInstanceEvent
(String eventId) findHistoricProcessInstanceIds
(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery) findHistoricProcessInstanceIdsForCleanup
(Integer batchSize, int minuteFrom, int minuteTo) findHistoricProcessInstancesByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) findHistoricProcessInstancesByQueryCriteria
(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery, Page page) protected static boolean
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
-
HistoricProcessInstanceManager
public HistoricProcessInstanceManager()
-
-
Method Details
-
findHistoricProcessInstance
-
findHistoricProcessInstanceEvent
-
deleteHistoricProcessInstanceByProcessDefinitionId
-
deleteHistoricProcessInstanceByIds
-
findHistoricProcessInstanceCountByQueryCriteria
public long findHistoricProcessInstanceCountByQueryCriteria(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery) -
findHistoricProcessInstancesByQueryCriteria
public List<HistoricProcessInstance> findHistoricProcessInstancesByQueryCriteria(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery, Page page) -
findHistoricProcessInstancesByNativeQuery
public List<HistoricProcessInstance> findHistoricProcessInstancesByNativeQuery(Map<String, Object> parameterMap, int firstResult, int maxResults) -
findHistoricProcessInstanceCountByNativeQuery
-
findHistoricProcessInstanceIdsForCleanup
-
findHistoricProcessInstanceIds
public List<String> findHistoricProcessInstanceIds(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery) -
findDeploymentIdMappingsByQueryCriteria
public List<ImmutablePair<String,String>> findDeploymentIdMappingsByQueryCriteria(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery) -
findCleanableHistoricProcessInstancesReportByCriteria
public List<CleanableHistoricProcessInstanceReportResult> findCleanableHistoricProcessInstancesReportByCriteria(CleanableHistoricProcessInstanceReportImpl query, Page page) -
findCleanableHistoricProcessInstancesReportCountByCriteria
public long findCleanableHistoricProcessInstancesReportCountByCriteria(CleanableHistoricProcessInstanceReportImpl query) -
addRemovalTimeToProcessInstancesByRootProcessInstanceId
-
addRemovalTimeToProcessInstancesByRootProcessInstanceId
-
addRemovalTimeById
-
deleteHistoricProcessInstancesByRemovalTime
public Map<Class<? extends DbEntity>,DbOperation> deleteHistoricProcessInstancesByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize) -
configureQuery
-
isEnableHistoricInstancePermissions
protected static boolean isEnableHistoricInstancePermissions()
-