Interface IUserDAO

All Known Implementing Classes:
UserDAO

public interface IUserDAO
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(User user)
    Deletes a user from the database.
    Retrieves all users from the database.
    void
    insert(User user)
    Adds a new user to the database
  • Method Details

    • insert

      void insert(User user)
      Adds a new user to the database
      Parameters:
      user - The user to add
    • delete

      void delete(User user)
      Deletes a user from the database.
      Parameters:
      user - The user to delete
    • getAll

      List<User> getAll()
      Retrieves all users from the database.
      Returns:
      A list of all users in the database