Interface CSRRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<CSR,​Long>, org.springframework.data.jpa.repository.JpaRepository<CSR,​Long>, org.springframework.data.repository.PagingAndSortingRepository<CSR,​Long>, org.springframework.data.repository.query.QueryByExampleExecutor<CSR>, org.springframework.data.repository.Repository<CSR,​Long>

    @Repository
    public interface CSRRepository
    extends org.springframework.data.jpa.repository.JpaRepository<CSR,​Long>
    Spring Data repository for the CSR entity.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<CSR> findByPublicKeyHash​(String hashB64)  
      List<CSR> findPendingByDay​(Instant after, Instant before)  
      List<CSR> findPendingGroupedByDay​(Instant after, Instant before)  
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne
    • Method Detail

      • findByPublicKeyHash

        @Query(name="CSR.findByPublicKeyHash")
        List<CSR> findByPublicKeyHash​(@Param("hash")
                                      String hashB64)
      • findPendingByDay

        @Query(name="CSR.findPendingByDay")
        List<CSR> findPendingByDay​(@Param("after")
                                   Instant after,
                                   @Param("before")
                                   Instant before)
      • findPendingGroupedByDay

        @Query(name="CSR.findPendingGroupedByDay")
        List<CSR> findPendingGroupedByDay​(@Param("after")
                                          Instant after,
                                          @Param("before")
                                          Instant before)