Interface ForgottenPasswordInstanceRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ForgottenPasswordInstance, Long>, org.springframework.data.jpa.repository.JpaRepository<ForgottenPasswordInstance, Long>, org.springframework.data.repository.ListCrudRepository<ForgottenPasswordInstance, Long>, org.springframework.data.repository.ListPagingAndSortingRepository<ForgottenPasswordInstance, Long>, org.springframework.data.repository.PagingAndSortingRepository<ForgottenPasswordInstance, Long>, org.springframework.data.repository.query.QueryByExampleExecutor<ForgottenPasswordInstance>, org.springframework.data.repository.Repository<ForgottenPasswordInstance, Long>
@Repository
public interface ForgottenPasswordInstanceRepository
extends org.springframework.data.jpa.repository.JpaRepository<ForgottenPasswordInstance, Long>
Data-access layer for
ForgottenPasswordInstance.- Version:
- 1.0.2
- Author:
- Stephen Prizio
-
Method Summary
Modifier and TypeMethodDescriptionObtains aForgottenPasswordInstancefor the given email.Obtains aForgottenPasswordInstancefor the given token.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
-
findForgottenPasswordInstanceByToken
Obtains aForgottenPasswordInstancefor the given token.- Parameters:
token- token- Returns:
- nullable
ForgottenPasswordInstance
-
findForgottenPasswordInstanceByEmail
Obtains aForgottenPasswordInstancefor the given email.- Parameters:
email- email- Returns:
- nullable
ForgottenPasswordInstance
-