src/main/java/de/uapcore/lightpit/dao/UserDao.java

changeset 128
947d0f6a6a83
parent 124
ed2e7aef2a3e
equal deleted inserted replaced
127:6105ee2cceaf 128:947d0f6a6a83
29 package de.uapcore.lightpit.dao; 29 package de.uapcore.lightpit.dao;
30 30
31 import de.uapcore.lightpit.entities.User; 31 import de.uapcore.lightpit.entities.User;
32 32
33 import java.sql.SQLException; 33 import java.sql.SQLException;
34 import java.util.List;
35 import java.util.Optional; 34 import java.util.Optional;
36 35
37 public interface UserDao extends GenericDao<User> { 36 public interface UserDao extends RootEntityDao<User> {
38
39 List<User> list() throws SQLException;
40 37
41 /** 38 /**
42 * Tries to find a user by their username. 39 * Tries to find a user by their username.
43 * The search is case-insensitive. 40 * The search is case-insensitive.
44 * 41 *

mercurial