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
public class HistoricProcessInstanceManager extends AbstractHistoricManager
- Author:
- Tom Baeyens
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
-
-
Constructor Summary
Constructors Constructor Description HistoricProcessInstanceManager()
-
Method Summary
-
Methods inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
checkHistoryEnabled, isHistoryEnabled, isHistoryLevelFullEnabled
-
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
-
-
-
-
Method Detail
-
findHistoricProcessInstance
public HistoricProcessInstanceEntity findHistoricProcessInstance(java.lang.String processInstanceId)
-
findHistoricProcessInstanceEvent
public HistoricProcessInstanceEventEntity findHistoricProcessInstanceEvent(java.lang.String eventId)
-
deleteHistoricProcessInstanceByProcessDefinitionId
public void deleteHistoricProcessInstanceByProcessDefinitionId(java.lang.String processDefinitionId)
-
deleteHistoricProcessInstanceByIds
public void deleteHistoricProcessInstanceByIds(java.util.List<java.lang.String> processInstanceIds)
-
findHistoricProcessInstanceCountByQueryCriteria
public long findHistoricProcessInstanceCountByQueryCriteria(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery)
-
findHistoricProcessInstancesByQueryCriteria
public java.util.List<HistoricProcessInstance> findHistoricProcessInstancesByQueryCriteria(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery, Page page)
-
findHistoricProcessInstancesByNativeQuery
public java.util.List<HistoricProcessInstance> findHistoricProcessInstancesByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults)
-
findHistoricProcessInstanceCountByNativeQuery
public long findHistoricProcessInstanceCountByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap)
-
configureQuery
protected void configureQuery(HistoricProcessInstanceQueryImpl query)
-
findHistoricProcessInstanceIdsForCleanup
public java.util.List<java.lang.String> findHistoricProcessInstanceIdsForCleanup(java.lang.Integer batchSize, int minuteFrom, int minuteTo)
-
findHistoricProcessInstanceIds
public java.util.List<java.lang.String> findHistoricProcessInstanceIds(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery)
-
findDeploymentIdMappingsByQueryCriteria
public java.util.List<ImmutablePair<java.lang.String,java.lang.String>> findDeploymentIdMappingsByQueryCriteria(HistoricProcessInstanceQueryImpl historicProcessInstanceQuery)
-
findCleanableHistoricProcessInstancesReportByCriteria
public java.util.List<CleanableHistoricProcessInstanceReportResult> findCleanableHistoricProcessInstancesReportByCriteria(CleanableHistoricProcessInstanceReportImpl query, Page page)
-
findCleanableHistoricProcessInstancesReportCountByCriteria
public long findCleanableHistoricProcessInstancesReportCountByCriteria(CleanableHistoricProcessInstanceReportImpl query)
-
addRemovalTimeToProcessInstancesByRootProcessInstanceId
public void addRemovalTimeToProcessInstancesByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
addRemovalTimeById
public void addRemovalTimeById(java.lang.String processInstanceId, java.util.Date removalTime)
-
deleteHistoricProcessInstancesByRemovalTime
public java.util.Map<java.lang.Class<? extends DbEntity>,DbOperation> deleteHistoricProcessInstancesByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
isEnableHistoricInstancePermissions
protected boolean isEnableHistoricInstancePermissions()
-
-