Interface AcmeNonceRepository

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<AcmeNonce> findByNonceExpiryDate​(Date expiredBefore)  
      List<AcmeNonce> findByNonceValue​(String nonceValue)  
      • 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 Detail

      • findByNonceValue

        @Query(name="AcmeNonce.findByNonceValue")
        List<AcmeNonce> findByNonceValue​(@Param("nonceValue")
                                         String nonceValue)
      • findByNonceExpiryDate

        @Query(name="AcmeNonce.findByNonceExpiredBefore")
        List<AcmeNonce> findByNonceExpiryDate​(@Param("expiredBefore")
                                              Date expiredBefore)