Package org.openiam.esb.repository
Interface BatchTaskScheduleRepository
-
- All Superinterfaces:
AbstractEntityRepository<BatchTaskScheduleEntity,String>
,AbstractKeyEntityRepository<BatchTaskScheduleEntity,String>
,org.springframework.data.repository.CrudRepository<BatchTaskScheduleEntity,String>
,EvictableCustomRepository<BatchTaskScheduleEntity>
,FindBeansRepositoryCustom<BatchTaskScheduleEntity,BatchTaskScheduleSearchBean>
,org.springframework.data.jpa.repository.JpaRepository<BatchTaskScheduleEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<BatchTaskScheduleEntity>
,org.springframework.data.repository.PagingAndSortingRepository<BatchTaskScheduleEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<BatchTaskScheduleEntity>
,org.springframework.data.repository.Repository<BatchTaskScheduleEntity,String>
@Repository public interface BatchTaskScheduleRepository extends AbstractKeyEntityRepository<BatchTaskScheduleEntity,String>, FindBeansRepositoryCustom<BatchTaskScheduleEntity,BatchTaskScheduleSearchBean>, EvictableCustomRepository<BatchTaskScheduleEntity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteByCompletedAndNextScheduledRunBefore(boolean completed, Date nextScheduledRun)
List<BatchTaskScheduleEntity>
findByCompletedAndNextScheduledRunBefore(boolean completed, Date nextScheduledRun)
-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.openiam.esb.repository.custom.EvictableCustomRepository
evict, evict, evict
-
Methods inherited from interface org.openiam.esb.repository.custom.FindBeansRepositoryCustom
count, find, find, find, getByExample, getByExample, isValidSearchBean
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
-
-
-
Method Detail
-
deleteByCompletedAndNextScheduledRunBefore
@Modifying void deleteByCompletedAndNextScheduledRunBefore(boolean completed, Date nextScheduledRun)
-
findByCompletedAndNextScheduledRunBefore
@Query("SELECT m FROM BatchTaskScheduleEntity m WHERE m.completed=:completed AND m.nextScheduledRun < :nextScheduledRun") List<BatchTaskScheduleEntity> findByCompletedAndNextScheduledRunBefore(@Param("completed") boolean completed, @Param("nextScheduledRun") Date nextScheduledRun)
-
-