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

14 lines
323 B
Java

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();
}