Interface AuthDataDao

All Superinterfaces:
GenericDao<AuthData,UUID>
All Known Implementing Classes:
SqlAuthDataDao

public interface AuthDataDao extends GenericDao<AuthData,UUID>
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

    Modifier and Type
    Method
    Description
    create(AuthData authData)
    Inserts new AuthData into the database.
    void
    Deletes AuthData for a given player's UUID from the database.
    update(AuthData authData)
    Updates existing AuthData in the database.

    Methods inherited from interface tk.airshipcraft.commonlib.db.GenericDao

    findAll, findById
  • Method Details

    • create

      AuthData create(AuthData authData)
      Inserts new AuthData into the database. This method should handle the creation of new AuthData records.
      Specified by:
      create in interface GenericDao<AuthData,UUID>
      Parameters:
      authData - The AuthData to insert.
      Returns:
      The inserted AuthData.
    • update

      AuthData update(AuthData authData)
      Updates existing AuthData in the database. This method should handle modifications to existing AuthData records.
      Specified by:
      update in interface GenericDao<AuthData,UUID>
      Parameters:
      authData - The AuthData to update.
      Returns:
      The updated AuthData.
    • deleteById

      void deleteById(UUID id)
      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 interface GenericDao<AuthData,UUID>
      Parameters:
      id - The UUID of the player.