Interface ExternalOtpValidationRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<ExternalOtpValidation,Integer>, org.springframework.data.jpa.repository.JpaRepository<ExternalOtpValidation,Integer>, org.springframework.data.repository.PagingAndSortingRepository<ExternalOtpValidation,Integer>, org.springframework.data.repository.query.QueryByExampleExecutor<ExternalOtpValidation>, org.springframework.data.repository.Repository<ExternalOtpValidation,Integer>

@Repository public interface ExternalOtpValidationRepository extends org.springframework.data.jpa.repository.JpaRepository<ExternalOtpValidation,Integer>
Repository interface to do queries for ExternalOTPValidation data.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get external OTP validation is in BBDD.
    saveAndFlush(S entity)
    Saves an entity and flushes changes instantly.

    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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush

    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

    • findOneById

      ExternalOtpValidation findOneById(@Param("id") String id)
      Get external OTP validation is in BBDD.
      Parameters:
      id - id of external OTP validation
      Returns:
      FirmControl object if it is possiblr to find.
    • saveAndFlush

      <S extends ExternalOtpValidation> S saveAndFlush(S entity)
      Saves an entity and flushes changes instantly.
      Specified by:
      saveAndFlush in interface org.springframework.data.jpa.repository.JpaRepository<ExternalOtpValidation,Integer>
      Parameters:
      entity - externalOTPValidation entity to save.
      Returns:
      the saved entity