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 Type
    Method
    Description
    int
     
    boolean
     
     
    void
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    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.repository.PagingAndSortingRepository

    findAll

    Methods 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

      void removeByCollectionRunId(UUID testRunId)
    • findFirstByCollectionRunIdOrderByOrder

      CollectionRunStackRequest findFirstByCollectionRunIdOrderByOrder(UUID testRunId)
    • existsByCollectionRunId

      boolean existsByCollectionRunId(UUID testRunId)