Interface PassportValidationDataRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PassportValidationData,
,String> org.springframework.data.jpa.repository.JpaRepository<PassportValidationData,
,String> org.springframework.data.repository.ListCrudRepository<PassportValidationData,
,String> org.springframework.data.repository.ListPagingAndSortingRepository<PassportValidationData,
,String> org.springframework.data.repository.PagingAndSortingRepository<PassportValidationData,
,String> org.springframework.data.repository.query.QueryByExampleExecutor<PassportValidationData>
,org.springframework.data.repository.Repository<PassportValidationData,
String>
@Repository
public interface PassportValidationDataRepository
extends org.springframework.data.jpa.repository.JpaRepository<PassportValidationData,String>
A repository which is used to store the data extracted
from the passport.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deletePassportValidationDataByPassportNumber
(String passportNumber) Deletes a passport validation data by the passport number.getPassportValidationDataByPassportNumber
(String passportNumber) Retrieves a passport validation data by the passport number.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
-
deletePassportValidationDataByPassportNumber
Deletes a passport validation data by the passport number.- Parameters:
passportNumber
- The passport number.
-
getPassportValidationDataByPassportNumber
Retrieves a passport validation data by the passport number.- Parameters:
passportNumber
- The passport number.- Returns:
- The passport validation data.
-