Launcher/LaunchServer/src/main/java/pro/gravit/launchserver/dao/UserDAO.java

15 lines
323 B
Java
Raw Normal View History

2019-06-03 09:56:43 +03:00
package pro.gravit.launchserver.dao;
import java.util.List;
import java.util.UUID;
public interface UserDAO {
User findById(int id);
User findByUsername(String username);
User findByUUID(UUID uuid);
void save(User user);
void update(User user);
void delete(User user);
List<User> findAll();
}