Uses of Class
ai.tutor.cab302exceptionalhandlers.model.User
Packages that use User
Package
Description
-
Uses of User in ai.tutor.cab302exceptionalhandlers
Methods in ai.tutor.cab302exceptionalhandlers with parameters of type UserModifier and TypeMethodDescriptionvoid
SceneManager.navigateToChat
(User user) Navigates to the main chat view.void
SceneManager.navigateToChatSetup
(User user, ChatSetupType type, Chat chat) Navigates to the chat setup view for creating or updating a chat.void
SceneManager.navigateToQuiz
(Quiz quiz, User user) Navigates to the quiz view.void
SceneManager.navigateToUserSettings
(User user) Navigates to the user settings view. -
Uses of User in ai.tutor.cab302exceptionalhandlers.builders
Methods in ai.tutor.cab302exceptionalhandlers.builders with parameters of type UserModifier and TypeMethodDescriptionChatControllerBuilder.currentUser
(User user) Sets the current authenticated user for theChatController
.ChatSetupControllerBuilder.currentUser
(User user) Sets the current authenticated user.QuizControllerBuilder.currentUser
(User user) Sets the current authenticated user for theQuizController
.UserSettingsControllerBuilder.currentUser
(User user) Sets the current authenticated user for theUserSettingsController
. -
Uses of User in ai.tutor.cab302exceptionalhandlers.controller
Fields in ai.tutor.cab302exceptionalhandlers.controller declared as UserMethods in ai.tutor.cab302exceptionalhandlers.controller that return UserModifier and TypeMethodDescriptionabstract User
AuthController.authenticateUser
(String username, String password) Authenticates a user with the provided username and password.LoginController.authenticateUser
(String username, String password) Authenticates an existing user with the provided username and password.SignUpController.authenticateUser
(String username, String password) Authenticates and creates a new user with the provided username and password.Methods in ai.tutor.cab302exceptionalhandlers.controller with parameters of type UserModifier and TypeMethodDescriptionvoid
Navigates to the chat screen for the authenticated user.Constructors in ai.tutor.cab302exceptionalhandlers.controller with parameters of type UserModifierConstructorDescriptionChatController
(SQLiteConnection db, User authenticatedUser) Constructs a ChatController with a database connection and authenticated user.ChatCreateController
(SQLiteConnection db, User currentUser) Constructs a ChatCreateController with a database connection and authenticated user.ChatSetupController
(SQLiteConnection db, User authenticatedUser) Constructs a ChatSetupController with a database connection and authenticated user.ChatUpdateController
(SQLiteConnection db, User currentUser, Chat currentChat) Constructs a ChatUpdateController with a database connection, authenticated user, and the chat to update.QuizController
(SQLiteConnection db, Quiz chosenQuiz, User currentUser) Constructs a new QuizController with the specified database connection, quiz, and user.UserSettingsController
(SQLiteConnection connection, User authenticatedUser) Constructs a UserSettingsController with a database connection and user. -
Uses of User in ai.tutor.cab302exceptionalhandlers.model
Methods in ai.tutor.cab302exceptionalhandlers.model that return UserModifier and TypeMethodDescriptionIUserDAO.getUser
(int id) Retrieves a User from the database by their ID.Retrieves a User from the database by their username.UserDAO.getUser
(int id) Retrieves aUser
entity by its ID.Retrieves aUser
entity by its username.Methods in ai.tutor.cab302exceptionalhandlers.model that return types with arguments of type UserModifier and TypeMethodDescriptionIUserDAO.getAllUsers()
Retrieves all Users from the database.UserDAO.getAllUsers()
Retrieves allUser
entities from the database.Methods in ai.tutor.cab302exceptionalhandlers.model with parameters of type UserModifier and TypeMethodDescriptionvoid
IUserDAO.createUser
(User user) Creates a new User in the database.void
UserDAO.createUser
(User user) Inserts a newUser
entity to the database.void
IUserDAO.deleteUser
(User user) Deletes a User from the database.void
UserDAO.deleteUser
(User user) Removes aUser
entity from the database.void
IUserDAO.updateUser
(User user) Updates an existing User in the database.void
UserDAO.updateUser
(User user) Updates an existingUser
entity in the database.