Package systems.dennis.auth.repository
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 TypeMethodDescriptionbooleanexistsByLogin(String login) findByLogin(String userLogin) Methods inherited from interface systems.dennis.shared.repository.AbstractFilterRepo
exists, filteredCount, filteredData, filteredData, filteredFirst, filteredOneMethods inherited from interface systems.dennis.shared.repository.AbstractRepository
findAll, saveMethods 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
-
findByLogin
-