Interface UserCountryRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserCountry,,UserCountryPK> org.springframework.data.jpa.repository.JpaRepository<UserCountry,,UserCountryPK> org.springframework.data.repository.PagingAndSortingRepository<UserCountry,,UserCountryPK> org.springframework.data.repository.query.QueryByExampleExecutor<UserCountry>,org.springframework.data.repository.Repository<UserCountry,UserCountryPK>
public interface UserCountryRepository
extends org.springframework.data.jpa.repository.JpaRepository<UserCountry,UserCountryPK>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByEmail(String email) getCountriesForUser(String email) booleanverifyAuthorizationForCountry(String country, String user) booleanverifyAuthorizationForId(String id, String user) 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, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Method Details
-
deleteByEmail
-
getCountriesForUser
-
verifyAuthorizationForId
-
verifyAuthorizationForCountry
-