Interface JobEntityManager
-
- All Superinterfaces:
EntityManager<JobEntity>,JobInfoEntityManager<JobEntity>
- All Known Implementing Classes:
JobEntityManagerImpl
public interface JobEntityManager extends EntityManager<JobEntity>, JobInfoEntityManager<JobEntity>
EntityManagerresponsible for theJobEntityclass.- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteJobsByExecutionId(String executionId)JobEntityfindJobByCorrelationId(String correlationId)Find the job with the given correlation idlongfindJobCountByQueryCriteria(JobQueryImpl jobQuery)Same asfindJobsByQueryCriteria(JobQueryImpl), but only returns a count and not the instances itself.List<Job>findJobsByQueryCriteria(JobQueryImpl jobQuery)Executes aJobQueryImpland returns the matchingJobEntityinstances.booleaninsertJobEntity(JobEntity jobEntity)Insert theJobEntity, similar to insert(JobEntity), but returns a boolean in case the insert did not go through.-
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.EntityManager
create, delete, delete, delete, findById, insert, insert, update, update
-
Methods inherited from interface org.flowable.job.service.impl.persistence.entity.JobInfoEntityManager
bulkUpdateJobLockWithoutRevisionCheck, findExpiredJobs, findJobsByExecutionId, findJobsByProcessInstanceId, findJobsToExecute, findJobsToExecuteAndLockInBulk, resetExpiredJob, updateJobTenantIdForDeployment
-
-
-
-
Method Detail
-
insertJobEntity
boolean insertJobEntity(JobEntity jobEntity)
-
findJobByCorrelationId
JobEntity findJobByCorrelationId(String correlationId)
Find the job with the given correlation id
-
findJobsByQueryCriteria
List<Job> findJobsByQueryCriteria(JobQueryImpl jobQuery)
Executes aJobQueryImpland returns the matchingJobEntityinstances.
-
findJobCountByQueryCriteria
long findJobCountByQueryCriteria(JobQueryImpl jobQuery)
Same asfindJobsByQueryCriteria(JobQueryImpl), but only returns a count and not the instances itself.
-
deleteJobsByExecutionId
void deleteJobsByExecutionId(String executionId)
-
-