Class HistoricJobLogManager
- java.lang.Object
-
- org.camunda.bpm.engine.impl.persistence.AbstractManager
-
- org.camunda.bpm.engine.impl.persistence.AbstractHistoricManager
-
- org.camunda.bpm.engine.impl.persistence.entity.HistoricJobLogManager
-
- All Implemented Interfaces:
Session
public class HistoricJobLogManager 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 HistoricJobLogManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemovalTimeToJobLogByBatchId(java.lang.String batchId, java.util.Date removalTime)
void
addRemovalTimeToJobLogByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
void
addRemovalTimeToJobLogByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
protected void
configureQuery(HistoricJobLogQueryImpl query)
protected void
deleteExceptionByteArrayByParameterMap(java.lang.String key, java.lang.Object value)
void
deleteHistoricJobLogByBatchIds(java.util.List<java.lang.String> historicBatchIds)
void
deleteHistoricJobLogById(java.lang.String id)
void
deleteHistoricJobLogByJobId(java.lang.String jobId)
void
deleteHistoricJobLogsByDeploymentId(java.lang.String deploymentId)
void
deleteHistoricJobLogsByHandlerType(java.lang.String handlerType)
void
deleteHistoricJobLogsByJobDefinitionId(java.lang.String jobDefinitionId)
void
deleteHistoricJobLogsByProcessDefinitionId(java.lang.String processDefinitionId)
void
deleteHistoricJobLogsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
DbOperation
deleteJobLogByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
HistoricJobLogEventEntity
findHistoricJobLogById(java.lang.String historicJobLogId)
java.util.List<HistoricJobLog>
findHistoricJobLogsByDeploymentId(java.lang.String deploymentId)
java.util.List<HistoricJobLog>
findHistoricJobLogsByQueryCriteria(HistoricJobLogQueryImpl query, Page page)
long
findHistoricJobLogsCountByQueryCriteria(HistoricJobLogQueryImpl query)
void
fireJobCreatedEvent(Job job)
void
fireJobDeletedEvent(Job job)
void
fireJobFailedEvent(Job job, java.lang.Throwable exception)
void
fireJobSuccessfulEvent(Job job)
protected boolean
isHistoryEventProduced(HistoryEventType eventType, Job job)
-
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
-
findHistoricJobLogById
public HistoricJobLogEventEntity findHistoricJobLogById(java.lang.String historicJobLogId)
-
findHistoricJobLogsByDeploymentId
public java.util.List<HistoricJobLog> findHistoricJobLogsByDeploymentId(java.lang.String deploymentId)
-
findHistoricJobLogsByQueryCriteria
public java.util.List<HistoricJobLog> findHistoricJobLogsByQueryCriteria(HistoricJobLogQueryImpl query, Page page)
-
findHistoricJobLogsCountByQueryCriteria
public long findHistoricJobLogsCountByQueryCriteria(HistoricJobLogQueryImpl query)
-
addRemovalTimeToJobLogByRootProcessInstanceId
public void addRemovalTimeToJobLogByRootProcessInstanceId(java.lang.String rootProcessInstanceId, java.util.Date removalTime)
-
addRemovalTimeToJobLogByProcessInstanceId
public void addRemovalTimeToJobLogByProcessInstanceId(java.lang.String processInstanceId, java.util.Date removalTime)
-
addRemovalTimeToJobLogByBatchId
public void addRemovalTimeToJobLogByBatchId(java.lang.String batchId, java.util.Date removalTime)
-
deleteHistoricJobLogById
public void deleteHistoricJobLogById(java.lang.String id)
-
deleteHistoricJobLogByJobId
public void deleteHistoricJobLogByJobId(java.lang.String jobId)
-
deleteHistoricJobLogsByProcessInstanceIds
public void deleteHistoricJobLogsByProcessInstanceIds(java.util.List<java.lang.String> processInstanceIds)
-
deleteHistoricJobLogsByProcessDefinitionId
public void deleteHistoricJobLogsByProcessDefinitionId(java.lang.String processDefinitionId)
-
deleteHistoricJobLogsByDeploymentId
public void deleteHistoricJobLogsByDeploymentId(java.lang.String deploymentId)
-
deleteHistoricJobLogsByHandlerType
public void deleteHistoricJobLogsByHandlerType(java.lang.String handlerType)
-
deleteHistoricJobLogsByJobDefinitionId
public void deleteHistoricJobLogsByJobDefinitionId(java.lang.String jobDefinitionId)
-
deleteHistoricJobLogByBatchIds
public void deleteHistoricJobLogByBatchIds(java.util.List<java.lang.String> historicBatchIds)
-
deleteJobLogByRemovalTime
public DbOperation deleteJobLogByRemovalTime(java.util.Date removalTime, int minuteFrom, int minuteTo, int batchSize)
-
deleteExceptionByteArrayByParameterMap
protected void deleteExceptionByteArrayByParameterMap(java.lang.String key, java.lang.Object value)
-
fireJobCreatedEvent
public void fireJobCreatedEvent(Job job)
-
fireJobFailedEvent
public void fireJobFailedEvent(Job job, java.lang.Throwable exception)
-
fireJobSuccessfulEvent
public void fireJobSuccessfulEvent(Job job)
-
fireJobDeletedEvent
public void fireJobDeletedEvent(Job job)
-
isHistoryEventProduced
protected boolean isHistoryEventProduced(HistoryEventType eventType, Job job)
-
configureQuery
protected void configureQuery(HistoricJobLogQueryImpl query)
-
-