Interface CollectionRunNextRequestRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CollectionRunNextRequest,,UUID> org.springframework.data.jpa.repository.JpaRepository<CollectionRunNextRequest,,UUID> org.springframework.data.repository.PagingAndSortingRepository<CollectionRunNextRequest,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<CollectionRunNextRequest>,org.springframework.data.repository.Repository<CollectionRunNextRequest,UUID>
public interface CollectionRunNextRequestRepository
extends org.springframework.data.jpa.repository.JpaRepository<CollectionRunNextRequest,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionintdeleteByCreatedWhenBefore(Timestamp createdWhen) booleanexistsByCollectionRunId(UUID testRunId) getNextRequestByCollectionRunId(UUID testRunId) voidremoveByCollectionRunId(UUID testRunId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
deleteByCreatedWhenBefore
@Modifying @Transactional @Query("DELETE FROM CollectionRunNextRequest cr WHERE cr.createdWhen < :createdWhen") int deleteByCreatedWhenBefore(@Param("createdWhen") Timestamp createdWhen) -
existsByCollectionRunId
-
getNextRequestByCollectionRunId
-
removeByCollectionRunId
-