Interface AccountRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Account,java.lang.Long>
,org.springframework.data.jpa.repository.JpaRepository<Account,java.lang.Long>
,org.springframework.data.repository.PagingAndSortingRepository<Account,java.lang.Long>
,org.springframework.data.repository.query.QueryByExampleExecutor<Account>
,org.springframework.data.repository.Repository<Account,java.lang.Long>
public interface AccountRepository extends org.springframework.data.jpa.repository.JpaRepository<Account,java.lang.Long>
The database repository storing the account details
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Account
findByEmail(java.lang.String email)
Find the account with the supplied email-
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
-
-
-
-
Method Detail
-
findByEmail
Account findByEmail(java.lang.String email)
Find the account with the supplied email- Parameters:
email
- the email to find the account for- Returns:
- the account found
-
-