Interface CollectionRunStackRequestsRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<CollectionRunStackRequest,,UUID> org.springframework.data.jpa.repository.JpaRepository<CollectionRunStackRequest,,UUID> org.springframework.data.repository.PagingAndSortingRepository<CollectionRunStackRequest,,UUID> org.springframework.data.repository.query.QueryByExampleExecutor<CollectionRunStackRequest>,org.springframework.data.repository.Repository<CollectionRunStackRequest,UUID>
public interface CollectionRunStackRequestsRepository
extends org.springframework.data.jpa.repository.JpaRepository<CollectionRunStackRequest,UUID>
-
Method Summary
Modifier and TypeMethodDescriptionintdeleteByCreatedWhenBefore(Timestamp createdWhen) booleanexistsByCollectionRunId(UUID testRunId) findFirstByCollectionRunIdOrderByOrder(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 CollectionRunStackRequest cr WHERE cr.createdWhen < :createdWhen") int deleteByCreatedWhenBefore(@Param("createdWhen") Timestamp createdWhen) -
removeByCollectionRunId
-
findFirstByCollectionRunIdOrderByOrder
-
existsByCollectionRunId
-