Package tk.airshipcraft.commonlib.db.dao
Interface UserDao
- All Superinterfaces:
GenericDao<User,
UUID>
- All Known Implementing Classes:
SqlUserDao
Interface for data access operations on User entities.
Extends GenericDao for standard CRUD operations and includes user-specific methods.
- Since:
- 2023-12-27
- Version:
- 1.0.0
- Author:
- notzune
-
Method Summary
Modifier and TypeMethodDescriptionfindByUsername
(String username) Retrieves a User entity by its username.Methods inherited from interface tk.airshipcraft.commonlib.db.GenericDao
create, deleteById, findAll, findById, update
-
Method Details
-
findByUsername
Retrieves a User entity by its username.- Parameters:
username
- The username of the User to retrieve.- Returns:
- The User entity with the specified username, or null if not found.
-