Package tk.airshipcraft.commonlib.db.dao
Interface AuthDataDao
- All Superinterfaces:
GenericDao<AuthData,
UUID>
- All Known Implementing Classes:
SqlAuthDataDao
Interface for data access operations related to AuthData.
This interface extends GenericDao and defines additional methods specific to AuthData.
- Since:
- 2024-01-05
- Version:
- 1.0.0
- Author:
- notzune
-
Method Summary
Methods inherited from interface tk.airshipcraft.commonlib.db.GenericDao
findAll, findById
-
Method Details
-
create
Inserts new AuthData into the database. This method should handle the creation of new AuthData records.- Specified by:
create
in interfaceGenericDao<AuthData,
UUID> - Parameters:
authData
- The AuthData to insert.- Returns:
- The inserted AuthData.
-
update
Updates existing AuthData in the database. This method should handle modifications to existing AuthData records.- Specified by:
update
in interfaceGenericDao<AuthData,
UUID> - Parameters:
authData
- The AuthData to update.- Returns:
- The updated AuthData.
-
deleteById
Deletes AuthData for a given player's UUID from the database. This method should remove the AuthData associated with the specified UUID.- Specified by:
deleteById
in interfaceGenericDao<AuthData,
UUID> - Parameters:
id
- The UUID of the player.
-