Interface JobEntityManager

All Superinterfaces:
EntityManager<JobEntity>, JobInfoEntityManager<JobEntity>
All Known Implementing Classes:
JobEntityManagerImpl

public interface JobEntityManager extends EntityManager<JobEntity>, JobInfoEntityManager<JobEntity>
EntityManager responsible for the JobEntity class.
Author:
Joram Barrez
  • Method Details

    • insertJobEntity

      boolean insertJobEntity(JobEntity jobEntity)
      Insert the JobEntity, similar to insert(JobEntity), but returns a boolean in case the insert did not go through. This could happen if the execution related to the JobEntity has been removed.
    • findJobByCorrelationId

      JobEntity findJobByCorrelationId(String correlationId)
      Find the job with the given correlation id
    • findJobsByQueryCriteria

      List<Job> findJobsByQueryCriteria(JobQueryImpl jobQuery)
      Executes a JobQueryImpl and returns the matching JobEntity instances.
    • findJobCountByQueryCriteria

      long findJobCountByQueryCriteria(JobQueryImpl jobQuery)
      Same as findJobsByQueryCriteria(JobQueryImpl), but only returns a count and not the instances itself.
    • deleteJobsByExecutionId

      void deleteJobsByExecutionId(String executionId)