Interface ACMEAccountRepository

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<ACMEAccount> findByAccountId​(long accountId)  
      List<ACMEAccount> findByPublicKeyHashBase64​(String publicKeyHashBase64)  
      • 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

      • findByAccountId

        @Query(name="Account.findByAccountId")
        List<ACMEAccount> findByAccountId​(@Param("accountId")
                                          long accountId)
      • findByPublicKeyHashBase64

        @Query(name="Account.findByPublicKeyHash")
        List<ACMEAccount> findByPublicKeyHashBase64​(@Param("publicKeyHashBase64")
                                                    String publicKeyHashBase64)