Class HistoricBatchManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.entity.HistoricBatchManager
-
- All Implemented Interfaces:
Session
public class HistoricBatchManager extends AbstractManager
-
-
Constructor Summary
Constructors Constructor Description HistoricBatchManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemovalTimeById(java.lang.String id, java.util.Date removalTime)
void
completeHistoricBatch(BatchEntity batch)
protected void
configureQuery(HistoricBatchQueryImpl query)
void
createHistoricBatch(BatchEntity batch)
void
deleteHistoricBatchById(java.lang.String id)
void
deleteHistoricBatchesByIds(java.util.List<java.lang.String> historicBatchIds)
DbOperation
deleteHistoricBatchesByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
long
findBatchCountByQueryCriteria(HistoricBatchQueryImpl historicBatchQuery)
java.util.List<HistoricBatch>
findBatchesByQueryCriteria(HistoricBatchQueryImpl historicBatchQuery, Page page)
java.util.List<CleanableHistoricBatchReportResult>
findCleanableHistoricBatchesReportByCriteria(CleanableHistoricBatchReportImpl query, Page page, java.util.Map<java.lang.String,java.lang.Integer> batchOperationsForHistoryCleanup)
long
findCleanableHistoricBatchesReportCountByCriteria(CleanableHistoricBatchReportImpl query, java.util.Map<java.lang.String,java.lang.Integer> batchOperationsForHistoryCleanup)
HistoricBatchEntity
findHistoricBatchById(java.lang.String batchId)
HistoricBatchEntity
findHistoricBatchByJobId(java.lang.String jobId)
java.util.List<java.lang.String>
findHistoricBatchIdsForCleanup(java.lang.Integer batchSize, java.util.Map<java.lang.String,java.lang.Integer> batchOperationsForHistoryCleanup, int minuteFrom, int minuteTo)
-
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
-
findBatchCountByQueryCriteria
public long findBatchCountByQueryCriteria(HistoricBatchQueryImpl historicBatchQuery)
-
findBatchesByQueryCriteria
public java.util.List<HistoricBatch> findBatchesByQueryCriteria(HistoricBatchQueryImpl historicBatchQuery, Page page)
-
findHistoricBatchById
public HistoricBatchEntity findHistoricBatchById(java.lang.String batchId)
-
findHistoricBatchByJobId
public HistoricBatchEntity findHistoricBatchByJobId(java.lang.String jobId)
-
findHistoricBatchIdsForCleanup
public java.util.List<java.lang.String> findHistoricBatchIdsForCleanup(java.lang.Integer batchSize, java.util.Map<java.lang.String,java.lang.Integer> batchOperationsForHistoryCleanup, int minuteFrom, int minuteTo)
-
deleteHistoricBatchById
public void deleteHistoricBatchById(java.lang.String id)
-
deleteHistoricBatchesByIds
public void deleteHistoricBatchesByIds(java.util.List<java.lang.String> historicBatchIds)
-
createHistoricBatch
public void createHistoricBatch(BatchEntity batch)
-
completeHistoricBatch
public void completeHistoricBatch(BatchEntity batch)
-
configureQuery
protected void configureQuery(HistoricBatchQueryImpl query)
-
findCleanableHistoricBatchesReportByCriteria
public java.util.List<CleanableHistoricBatchReportResult> findCleanableHistoricBatchesReportByCriteria(CleanableHistoricBatchReportImpl query, Page page, java.util.Map<java.lang.String,java.lang.Integer> batchOperationsForHistoryCleanup)
-
findCleanableHistoricBatchesReportCountByCriteria
public long findCleanableHistoricBatchesReportCountByCriteria(CleanableHistoricBatchReportImpl query, java.util.Map<java.lang.String,java.lang.Integer> batchOperationsForHistoryCleanup)
-
deleteHistoricBatchesByRemovalTime
public DbOperation deleteHistoricBatchesByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
addRemovalTimeById
public void addRemovalTimeById(java.lang.String id, java.util.Date removalTime)
-
-