mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-10 17:49:40 +03:00
17 lines
410 B
Java
17 lines
410 B
Java
package pro.gravit.launchserver.dao;
|
|
|
|
import java.util.List;
|
|
import java.util.UUID;
|
|
|
|
import pro.gravit.launcher.hwid.OshiHWID;
|
|
|
|
public interface UserDAO {
|
|
User findById(int id);
|
|
User findByUsername(String username);
|
|
User findByUUID(UUID uuid);
|
|
List<UserHWID> findHWID(OshiHWID hwid);
|
|
void save(User user);
|
|
void update(User user);
|
|
void delete(User user);
|
|
List<User> findAll();
|
|
}
|