Class HistoryJobEntityManagerImpl
- java.lang.Object
-
- org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager<EntityImpl,DM>
-
- org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager<JobServiceConfiguration,EntityImpl,DM>
-
- org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEngineEntityManager<T,DM>
-
- org.flowable.job.service.impl.persistence.entity.JobInfoEntityManagerImpl<HistoryJobEntity,HistoryJobDataManager>
-
- org.flowable.job.service.impl.persistence.entity.HistoryJobEntityManagerImpl
-
- All Implemented Interfaces:
EntityManager<HistoryJobEntity>,HistoryJobEntityManager,JobInfoEntityManager<HistoryJobEntity>
public class HistoryJobEntityManagerImpl extends JobInfoEntityManagerImpl<HistoryJobEntity,HistoryJobDataManager> implements HistoryJobEntityManager
- Author:
- Tijs Rademakers, Joram Barrez
-
-
Field Summary
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager
serviceConfiguration
-
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType
-
-
Constructor Summary
Constructors Constructor Description HistoryJobEntityManagerImpl(JobServiceConfiguration jobServiceConfiguration, HistoryJobDataManager historyJobDataManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(HistoryJobEntity jobEntity)voiddeleteNoCascade(HistoryJobEntity historyJobEntity)The default delete method will cascade to the references entities.protected booleandoInsert(HistoryJobEntity jobEntity, boolean fireCreateEvent)longfindHistoryJobCountByQueryCriteria(HistoryJobQueryImpl jobQuery)Same asHistoryJobEntityManager.findHistoryJobsByQueryCriteria(HistoryJobQueryImpl), but only returns a count and not the instances itself.List<HistoryJob>findHistoryJobsByQueryCriteria(HistoryJobQueryImpl jobQuery)Executes aHistoryJobQueryImpland returns the matchingHistoryJobEntityinstances.voidinsert(HistoryJobEntity jobEntity, boolean fireCreateEvent)-
Methods inherited from class org.flowable.job.service.impl.persistence.entity.JobInfoEntityManagerImpl
bulkUpdateJobLockWithoutRevisionCheck, findExpiredJobs, findJobsByExecutionId, findJobsByProcessInstanceId, findJobsToExecute, resetExpiredJob, updateJobTenantIdForDeployment
-
Methods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEngineEntityManager
bulkDeleteByteArraysById, createEntityEvent, deleteByteArrayRef
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager
getClock, getEventDispatcher, getServiceConfiguration
-
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, setDataManager, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.EntityManager
create, delete, delete, findById, insert, update, update
-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntityManager
bulkUpdateJobLockWithoutRevisionCheck, findExpiredJobs, findJobsByExecutionId, findJobsByProcessInstanceId, findJobsToExecute, findJobsToExecuteAndLockInBulk, resetExpiredJob, updateJobTenantIdForDeployment
-
-
-
-
Constructor Detail
-
HistoryJobEntityManagerImpl
public HistoryJobEntityManagerImpl(JobServiceConfiguration jobServiceConfiguration, HistoryJobDataManager historyJobDataManager)
-
-
Method Detail
-
insert
public void insert(HistoryJobEntity jobEntity, boolean fireCreateEvent)
- Specified by:
insertin interfaceEntityManager<HistoryJobEntity>- Overrides:
insertin classAbstractEntityManager<HistoryJobEntity,HistoryJobDataManager>
-
doInsert
protected boolean doInsert(HistoryJobEntity jobEntity, boolean fireCreateEvent)
-
findHistoryJobsByQueryCriteria
public List<HistoryJob> findHistoryJobsByQueryCriteria(HistoryJobQueryImpl jobQuery)
Description copied from interface:HistoryJobEntityManagerExecutes aHistoryJobQueryImpland returns the matchingHistoryJobEntityinstances.- Specified by:
findHistoryJobsByQueryCriteriain interfaceHistoryJobEntityManager
-
findHistoryJobCountByQueryCriteria
public long findHistoryJobCountByQueryCriteria(HistoryJobQueryImpl jobQuery)
Description copied from interface:HistoryJobEntityManagerSame asHistoryJobEntityManager.findHistoryJobsByQueryCriteria(HistoryJobQueryImpl), but only returns a count and not the instances itself.- Specified by:
findHistoryJobCountByQueryCriteriain interfaceHistoryJobEntityManager
-
delete
public void delete(HistoryJobEntity jobEntity)
- Specified by:
deletein interfaceEntityManager<HistoryJobEntity>- Overrides:
deletein classAbstractEntityManager<HistoryJobEntity,HistoryJobDataManager>
-
deleteNoCascade
public void deleteNoCascade(HistoryJobEntity historyJobEntity)
Description copied from interface:HistoryJobEntityManagerThe default delete method will cascade to the references entities. This delete doesn't delete the referenced byte array entities (configuration and exception).- Specified by:
deleteNoCascadein interfaceHistoryJobEntityManager
-
-