Class HistoricIncidentManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
-
- org.camunda.bpm.engine.impl.persistence.entity.HistoricIncidentManager
-
- All Implemented Interfaces:
Session
public class HistoricIncidentManager extends AbstractHistoricManager
- Author:
- Roman Smirnov
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
historyLevel, isHistoryEnabled, isHistoryLevelFullEnabled, LOG
-
-
Constructor Summary
Constructors Constructor Description HistoricIncidentManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemovalTimeToHistoricIncidentsByBatchId(java.lang.String batchId, java.util.Date removalTime)
void
addRemovalTimeToIncidentsByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
void
addRemovalTimeToIncidentsByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
protected void
configureQuery(HistoricIncidentQueryImpl query)
void
deleteHistoricIncidentsByBatchId(java.util.List<java.lang.String> historicBatchIds)
void
deleteHistoricIncidentsByJobDefinitionId(java.lang.String jobDefinitionId)
void
deleteHistoricIncidentsByProcessDefinitionId(java.lang.String processDefinitionId)
void
deleteHistoricIncidentsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
DbOperation
deleteHistoricIncidentsByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
HistoricIncidentEntity
findHistoricIncidentById(java.lang.String id)
java.util.List<HistoricIncident>
findHistoricIncidentByQueryCriteria(HistoricIncidentQueryImpl query, Page page)
long
findHistoricIncidentCountByQueryCriteria(HistoricIncidentQueryImpl query)
protected boolean
isHistoryEventProduced()
-
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
-
findHistoricIncidentCountByQueryCriteria
public long findHistoricIncidentCountByQueryCriteria(HistoricIncidentQueryImpl query)
-
findHistoricIncidentById
public HistoricIncidentEntity findHistoricIncidentById(java.lang.String id)
-
findHistoricIncidentByQueryCriteria
public java.util.List<HistoricIncident> findHistoricIncidentByQueryCriteria(HistoricIncidentQueryImpl query, Page page)
-
addRemovalTimeToIncidentsByRootProcessInstanceId
public void addRemovalTimeToIncidentsByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
addRemovalTimeToIncidentsByProcessInstanceId
public void addRemovalTimeToIncidentsByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
-
deleteHistoricIncidentsByProcessInstanceIds
public void deleteHistoricIncidentsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
-
deleteHistoricIncidentsByProcessDefinitionId
public void deleteHistoricIncidentsByProcessDefinitionId(java.lang.String processDefinitionId)
-
deleteHistoricIncidentsByJobDefinitionId
public void deleteHistoricIncidentsByJobDefinitionId(java.lang.String jobDefinitionId)
-
deleteHistoricIncidentsByBatchId
public void deleteHistoricIncidentsByBatchId(java.util.List<java.lang.String> historicBatchIds)
-
configureQuery
protected void configureQuery(HistoricIncidentQueryImpl query)
-
isHistoryEventProduced
protected boolean isHistoryEventProduced()
-
deleteHistoricIncidentsByRemovalTime
public DbOperation deleteHistoricIncidentsByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
addRemovalTimeToHistoricIncidentsByBatchId
public void addRemovalTimeToHistoricIncidentsByBatchId(java.lang.String batchId, java.util.Date removalTime)
-
-