Package com.lpvs.repository
Interface LPVSMemberRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<LPVSMember,
,Long> org.springframework.data.jpa.repository.JpaRepository<LPVSMember,
,Long> org.springframework.data.repository.ListCrudRepository<LPVSMember,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<LPVSMember,
,Long> org.springframework.data.repository.PagingAndSortingRepository<LPVSMember,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<LPVSMember>
,org.springframework.data.repository.Repository<LPVSMember,
Long>
public interface LPVSMemberRepository
extends org.springframework.data.jpa.repository.JpaRepository<LPVSMember,Long>
Repository interface for managing
LPVSMember
entities.
Extends JpaRepository
for basic CRUD operations.-
Method Summary
Modifier and TypeMethodDescriptionfindByEmailAndProvider
(String email, String provider) Find a member by email and provider.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
-
findByEmailAndProvider
Find a member by email and provider.- Parameters:
email
- The email address of the member.provider
- The provider associated with the member.- Returns:
- An
Optional
containing theLPVSMember
entity if found, otherwise an emptyOptional
.
-