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(String processInstanceId)
-
findHistoricProcessInstanceEvent
public HistoricProcessInstanceEventEntity findHistoricProcessInstanceEvent(String eventId)
-
deleteHistoricProcessInstanceByProcessDefinitionId
public void deleteHistoricProcessInstanceByProcessDefinitionId(String processDefinitionId)
-
deleteHistoricProcessInstanceByIds
public void deleteHistoricProcessInstanceByIds(List<String> processInstanceIds)
-
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
public long findHistoricProcessInstanceCountByNativeQuery(Map<String,Object> parameterMap)
-
configureQuery
protected void configureQuery(HistoricProcessInstanceQueryImpl query)
-
findHistoricProcessInstanceIdsForCleanup
public List<String> findHistoricProcessInstanceIdsForCleanup(Integer batchSize, int minuteFrom, int minuteTo)
-
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
public void addRemovalTimeToProcessInstancesByRootProcessInstanceId(String rootProcessInstanceId, Date removalTime)
-
deleteHistoricProcessInstancesByRemovalTime
public Map<Class<? extends DbEntity>,DbOperation> deleteHistoricProcessInstancesByRemovalTime(Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
isEnableHistoricInstancePermissions
protected boolean isEnableHistoricInstancePermissions()
-
-