Interface AcmeChallengeRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AcmeChallenge,Long>,org.springframework.data.jpa.repository.JpaRepository<AcmeChallenge,Long>,org.springframework.data.repository.PagingAndSortingRepository<AcmeChallenge,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<AcmeChallenge>,org.springframework.data.repository.Repository<AcmeChallenge,Long>
@Repository public interface AcmeChallengeRepository extends org.springframework.data.jpa.repository.JpaRepository<AcmeChallenge,Long>
Spring Data repository for the AcmeChallenge entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<AcmeChallenge>findByChallengeId(Long challengeId)List<AcmeChallenge>findPendingByRealm(String realm)List<AcmeChallenge>findPendingByRequestProxy(Long requestProxyId)-
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
-
findByChallengeId
@Query(name="AcmeChallenge.findByChallengeId") Optional<AcmeChallenge> findByChallengeId(@Param("challengeId") Long challengeId)
-
findPendingByRealm
@Query(name="AcmeChallenge.findPendingByRealm") List<AcmeChallenge> findPendingByRealm(@Param("realm") String realm)
-
findPendingByRequestProxy
@Query(name="AcmeChallenge.findPendingByRequestProxy") List<AcmeChallenge> findPendingByRequestProxy(@Param("requestProxyId") Long requestProxyId)
-
-