Interface LoginPasswordRepo

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

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

    Modifier and Type
    Method
    Description
    boolean
     
    findByLogin(String userLogin)
     
    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 login_password where login= :login and password = :password", nativeQuery=true) Optional<LoginPassword> login(@Param("login") String user, @Param("password") String password)
    • existsByLogin

      boolean existsByLogin(String login)
    • findByLogin

      Optional<LoginPassword> findByLogin(String userLogin)