Interface VirtualLoginPasswordRepo

All Superinterfaces:
systems.dennis.shared.repository.AbstractFilterRepo<VirtualLoginPassword,Long>, systems.dennis.shared.repository.AbstractRepository<VirtualLoginPassword,Long>, org.springframework.data.repository.CrudRepository<VirtualLoginPassword,Long>, systems.dennis.shared.postgres.repository.PaginationRepository<VirtualLoginPassword>, org.springframework.data.repository.Repository<VirtualLoginPassword,Long>

@Repository public interface VirtualLoginPasswordRepo extends systems.dennis.shared.postgres.repository.PaginationRepository<VirtualLoginPassword>
  • Method Summary

    Modifier and Type
    Method
    Description
    login(String user, String password)
     

    Methods inherited from interface systems.dennis.shared.repository.AbstractFilterRepo

    exists, filteredCount, filteredData, filteredData, filteredFirst, filteredOne

    Methods inherited from interface systems.dennis.shared.repository.AbstractRepository

    findAll, save

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, saveAll
  • Method Details

    • login

      @Query(value="select * from virtual_login_password where name= :login and password = :password", nativeQuery=true) Optional<VirtualLoginPassword> login(@Param("login") String user, @Param("password") String password)