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

    Modifier and Type
    Method
    Description
     
     

    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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    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 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)