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 org.springframework.data.domain.Page<CSR>findByAttributeValue(org.springframework.data.domain.Pageable pageable, String name, String value)List<CSR>findByPublicKeyHash(String hashB64)List<CSR>findByRequestor(String requestor)List<CSR>findNonRejectedByPublicKeyHash(String hashB64)List<CSR>findPendingByDay(Instant after, Instant before)List<CSR>findPendingGroupedByDay(Instant after, Instant before)org.springframework.data.domain.Page<CSR>findWithoutAttribute(org.springframework.data.domain.Pageable pageable, String name)List<Object[]>groupIssuedByIssuanceMonth(Instant after)-
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
-
-
-
-
Method Detail
-
findByPublicKeyHash
@Query(name="CSR.findByPublicKeyHash") List<CSR> findByPublicKeyHash(@Param("hash") String hashB64)
-
findNonRejectedByPublicKeyHash
@Query(name="CSR.findNonRejectedByPublicKeyHash") List<CSR> findNonRejectedByPublicKeyHash(@Param("hash") String hashB64)
-
findPendingByDay
@Query(name="CSR.findPendingByDay") List<CSR> findPendingByDay(@Param("after") Instant after, @Param("before") Instant before)
-
findByRequestor
@Query(name="CSR.findByRequestor") List<CSR> findByRequestor(@Param("requestor") String requestor)
-
findPendingGroupedByDay
@Query(name="CSR.findPendingGroupedByDay") List<CSR> findPendingGroupedByDay(@Param("after") Instant after, @Param("before") Instant before)
-
findWithoutAttribute
@Query(name="CSR.findWithoutAttribute") org.springframework.data.domain.Page<CSR> findWithoutAttribute(org.springframework.data.domain.Pageable pageable, @Param("name") String name)
-
findByAttributeValue
@Query(name="CSR.findByAttributeValue") org.springframework.data.domain.Page<CSR> findByAttributeValue(org.springframework.data.domain.Pageable pageable, @Param("name") String name, @Param("value") String value)
-
-