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
ConstructorsConstructorDescriptionHistoryJobEntityManagerImpl
(JobServiceConfiguration jobServiceConfiguration, HistoryJobDataManager historyJobDataManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(HistoryJobEntity jobEntity) void
deleteNoCascade
(HistoryJobEntity historyJobEntity) The default delete method will cascade to the references entities.protected boolean
doInsert
(HistoryJobEntity jobEntity, boolean fireCreateEvent) long
Same asHistoryJobEntityManager.findHistoryJobsByQueryCriteria(HistoryJobQueryImpl)
, but only returns a count and not the instances itself.Executes aHistoryJobQueryImpl
and returns the matchingHistoryJobEntity
instances.void
insert
(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 Details
-
HistoryJobEntityManagerImpl
public HistoryJobEntityManagerImpl(JobServiceConfiguration jobServiceConfiguration, HistoryJobDataManager historyJobDataManager)
-
-
Method Details
-
insert
- Specified by:
insert
in interfaceEntityManager<HistoryJobEntity>
- Overrides:
insert
in classAbstractEntityManager<HistoryJobEntity,
HistoryJobDataManager>
-
doInsert
-
findHistoryJobsByQueryCriteria
Description copied from interface:HistoryJobEntityManager
Executes aHistoryJobQueryImpl
and returns the matchingHistoryJobEntity
instances.- Specified by:
findHistoryJobsByQueryCriteria
in interfaceHistoryJobEntityManager
-
findHistoryJobCountByQueryCriteria
Description copied from interface:HistoryJobEntityManager
Same asHistoryJobEntityManager.findHistoryJobsByQueryCriteria(HistoryJobQueryImpl)
, but only returns a count and not the instances itself.- Specified by:
findHistoryJobCountByQueryCriteria
in interfaceHistoryJobEntityManager
-
delete
- Specified by:
delete
in interfaceEntityManager<HistoryJobEntity>
- Overrides:
delete
in classAbstractEntityManager<HistoryJobEntity,
HistoryJobDataManager>
-
deleteNoCascade
Description copied from interface:HistoryJobEntityManager
The default delete method will cascade to the references entities. This delete doesn't delete the referenced byte array entities (configuration and exception).- Specified by:
deleteNoCascade
in interfaceHistoryJobEntityManager
-