Interface PasswordResetTokenRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PasswordResetToken,,String> org.springframework.data.jpa.repository.JpaRepository<PasswordResetToken,,String> org.springframework.data.repository.ListCrudRepository<PasswordResetToken,,String> org.springframework.data.repository.ListPagingAndSortingRepository<PasswordResetToken,,String> org.springframework.data.repository.PagingAndSortingRepository<PasswordResetToken,,String> org.springframework.data.repository.query.QueryByExampleExecutor<PasswordResetToken>,org.springframework.data.repository.Repository<PasswordResetToken,String>
public interface PasswordResetTokenRepository
extends org.springframework.data.jpa.repository.JpaRepository<PasswordResetToken,String>
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByToken
@Query("SELECT p FROM PasswordResetToken p WHERE p.token = :token") PasswordResetToken findByToken(String token) -
findByEmail
@Query("SELECT p FROM PasswordResetToken p WHERE p.email = :email") PasswordResetToken findByEmail(String email)
-