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
serviceConfigurationFields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
dataManager, engineType -
Constructor Summary
ConstructorsConstructorDescriptionHistoryJobEntityManagerImpl(JobServiceConfiguration jobServiceConfiguration, HistoryJobDataManager historyJobDataManager) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(HistoryJobEntity jobEntity) voiddeleteNoCascade(HistoryJobEntity historyJobEntity) The default delete method will cascade to the references entities.protected booleandoInsert(HistoryJobEntity jobEntity, boolean fireCreateEvent) longSame asHistoryJobEntityManager.findHistoryJobsByQueryCriteria(HistoryJobQueryImpl), but only returns a count and not the instances itself.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, updateJobTenantIdForDeploymentMethods inherited from class org.flowable.job.service.impl.persistence.entity.AbstractJobServiceEngineEntityManager
bulkDeleteByteArraysById, createEntityEvent, deleteByteArrayRefMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractServiceEngineEntityManager
getClock, getEventDispatcher, getServiceConfigurationMethods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityManager
create, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, setDataManager, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.impl.persistence.entity.EntityManager
create, delete, delete, findById, insert, update, updateMethods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntityManager
bulkUpdateJobLockWithoutRevisionCheck, findExpiredJobs, findJobsByExecutionId, findJobsByProcessInstanceId, findJobsToExecute, findJobsToExecuteAndLockInBulk, resetExpiredJob, updateJobTenantIdForDeployment
-
Constructor Details
-
HistoryJobEntityManagerImpl
public HistoryJobEntityManagerImpl(JobServiceConfiguration jobServiceConfiguration, HistoryJobDataManager historyJobDataManager)
-
-
Method Details
-
insert
- Specified by:
insertin interfaceEntityManager<HistoryJobEntity>- Overrides:
insertin classAbstractEntityManager<HistoryJobEntity,HistoryJobDataManager>
-
doInsert
-
findHistoryJobsByQueryCriteria
Description copied from interface:HistoryJobEntityManagerExecutes aHistoryJobQueryImpland returns the matchingHistoryJobEntityinstances.- Specified by:
findHistoryJobsByQueryCriteriain interfaceHistoryJobEntityManager
-
findHistoryJobCountByQueryCriteria
Description copied from interface:HistoryJobEntityManagerSame asHistoryJobEntityManager.findHistoryJobsByQueryCriteria(HistoryJobQueryImpl), but only returns a count and not the instances itself.- Specified by:
findHistoryJobCountByQueryCriteriain interfaceHistoryJobEntityManager
-
delete
- Specified by:
deletein interfaceEntityManager<HistoryJobEntity>- Overrides:
deletein classAbstractEntityManager<HistoryJobEntity,HistoryJobDataManager>
-
deleteNoCascade
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
-