Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractControllerFactory - Class in ai.tutor.cab302exceptionalhandlers.factories
-
Abstract base class for controller factories.
- AbstractControllerFactory(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.factories.AbstractControllerFactory
-
Constructs an
AbstractControllerFactory
. - ai.tutor.cab302exceptionalhandlers - module ai.tutor.cab302exceptionalhandlers
-
Module definitions for the QuizWhiz application.
- ai.tutor.cab302exceptionalhandlers - package ai.tutor.cab302exceptionalhandlers
- ai.tutor.cab302exceptionalhandlers.builders - package ai.tutor.cab302exceptionalhandlers.builders
- ai.tutor.cab302exceptionalhandlers.controller - package ai.tutor.cab302exceptionalhandlers.controller
- ai.tutor.cab302exceptionalhandlers.factories - package ai.tutor.cab302exceptionalhandlers.factories
- ai.tutor.cab302exceptionalhandlers.model - package ai.tutor.cab302exceptionalhandlers.model
- ai.tutor.cab302exceptionalhandlers.types - package ai.tutor.cab302exceptionalhandlers.types
- ai.tutor.cab302exceptionalhandlers.Utils - package ai.tutor.cab302exceptionalhandlers.Utils
- AIUtils - Class in ai.tutor.cab302exceptionalhandlers.Utils
-
Singleton utility class for interacting with the Ollama AI API.
- AIUtils.ModelResponseFormat - Class in ai.tutor.cab302exceptionalhandlers.Utils
-
The response format for the AI's responses.
- AIUtils.Option - Class in ai.tutor.cab302exceptionalhandlers.Utils
-
Format of a single option in a quiz question generated by the AI.
- AIUtils.Question - Class in ai.tutor.cab302exceptionalhandlers.Utils
-
A singular question in a quiz generated by the AI.
- AIUtils.QuizFormat - Class in ai.tutor.cab302exceptionalhandlers.Utils
-
Structure of a quiz generated by the AI.
- AnswerOption - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents an answer option to a quiz question.
- AnswerOption(int, int, String, String, boolean) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.AnswerOption
-
Constructs a AnswerOption object.
- AnswerOptionDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Responsible for conducting database CRUD operations for quiz answer options.
- AnswerOptionDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.AnswerOptionDAO
-
Constructor for
AnswerOptionDAO
initializing answerOptions table. - applicationInitialize(Stage) - Method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Initializes the SceneManager with the primary stage.
- authController() - Method in class ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory
-
Creates and returns an
AuthControllerBuilder
. - AuthController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Abstract base class for authentication controllers in the AI tutor application.
- AuthController(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Constructs an AuthController with a database connection.
- AuthControllerBuilder - Class in ai.tutor.cab302exceptionalhandlers.builders
-
Builder for creating instances of
AuthController
. - AuthControllerBuilder(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.builders.AuthControllerBuilder
-
Constructs an
AuthControllerBuilder
. - authenticateUser(String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Authenticates a user with the provided username and password.
- authenticateUser(String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.LoginController
-
Authenticates an existing user with the provided username and password.
- authenticateUser(String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
-
Authenticates and creates a new user with the provided username and password.
- AuthType - Enum Class in ai.tutor.cab302exceptionalhandlers.types
-
Represents the type of authentication process.
B
- backgroundOverlay - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- build() - Method in class ai.tutor.cab302exceptionalhandlers.builders.AuthControllerBuilder
-
Builds an
AuthController
(eitherLoginController
orSignUpController
) based on the specifiedAuthType
. - build() - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatControllerBuilder
-
Builds a
ChatController
. - build() - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Builds a
ChatSetupController
(eitherChatCreateController
orChatUpdateController
) based on the specified type and parameters. - build() - Method in class ai.tutor.cab302exceptionalhandlers.builders.ControllerBuilder
-
Abstract method to build the controller.
- build() - Method in class ai.tutor.cab302exceptionalhandlers.builders.QuizControllerBuilder
-
Builds a
QuizController
. - build() - Method in class ai.tutor.cab302exceptionalhandlers.builders.UserSettingsControllerBuilder
-
Builds a
UserSettingsController
. - buildCreate() - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Builds a
ChatCreateController
. - buildLogin() - Method in class ai.tutor.cab302exceptionalhandlers.builders.AuthControllerBuilder
-
Builds a
LoginController
. - buildSignUp() - Method in class ai.tutor.cab302exceptionalhandlers.builders.AuthControllerBuilder
-
Builds a
SignUpController
. - buildUpdate() - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Builds a
ChatUpdateController
for the given chat.
C
- Chat - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents a chat belonging to a user.
- Chat(int, String, String, String, int, String, String) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.Chat
-
Constructs a Chat object.
- chatController() - Method in class ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory
-
Creates and returns a
ChatControllerBuilder
. - ChatController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controls the main chat screen in the AI tutor application.
- ChatController(SQLiteConnection, User) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Constructs a ChatController with a database connection and authenticated user.
- ChatControllerBuilder - Class in ai.tutor.cab302exceptionalhandlers.builders
-
Builder for creating instances of
ChatController
. - ChatControllerBuilder(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.builders.ChatControllerBuilder
-
Constructs a
ChatControllerBuilder
. - ChatCreateController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controller for creating new chats in the AI tutor application.
- ChatCreateController(SQLiteConnection, User) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.ChatCreateController
-
Constructs a ChatCreateController with a database connection and authenticated user.
- chatDAO - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- ChatDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Responsible for conducting database CRUD operations for chat sessions.
- ChatDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Constructor for
ChatDAO
initializing chats table. - chatNameInput - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- chatReturn() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
-
Navigates back to the chat screen for the current user.
- chatSetupController() - Method in class ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory
-
Creates and returns a
ChatSetupControllerBuilder
. - ChatSetupController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Abstract base class for managing the chat setup screen in the AI tutor application.
- ChatSetupController(SQLiteConnection, User) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
-
Constructs a ChatSetupController with a database connection and authenticated user.
- ChatSetupControllerBuilder - Class in ai.tutor.cab302exceptionalhandlers.builders
-
Builder for creating instances of
ChatSetupController
. - ChatSetupControllerBuilder(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Constructs a
ChatSetupControllerBuilder
. - ChatSetupType - Enum Class in ai.tutor.cab302exceptionalhandlers.types
-
Represents the type of chat setup operation.
- chatTopic - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- ChatUpdateController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controller for updating existing chats in the AI tutor application.
- ChatUpdateController(SQLiteConnection, User, Chat) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.ChatUpdateController
-
Constructs a ChatUpdateController with a database connection, authenticated user, and the chat to update.
- confirmPasswordField - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- ControllerBuilder<T> - Class in ai.tutor.cab302exceptionalhandlers.builders
-
Abstract base class for all controller builders.
- ControllerBuilder(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.builders.ControllerBuilder
-
Constructs a
ControllerBuilder
with the given database connection. - ControllerFactory - Class in ai.tutor.cab302exceptionalhandlers.factories
-
Concrete factory for creating various controller builders.
- ControllerFactory(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory
-
Constructs a
ControllerFactory
. - CREATE - Enum constant in enum class ai.tutor.cab302exceptionalhandlers.types.ChatSetupType
- createAnswerOption(AnswerOption) - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOptionDAO
-
Inserts an
AnswerOption
into the database. - createAnswerOption(AnswerOption) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IAnswerOptionDAO
-
Creates a new AnswerOption in the database.
- createChat(Chat) - Method in class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Saves a new
Chat
to the database. - createChat(Chat) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IChatDAO
-
Creates a new Chat in the database.
- createMessage(Message) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IMessageDAO
-
Creates a new Message in the database.
- createMessage(Message) - Method in class ai.tutor.cab302exceptionalhandlers.model.MessageDAO
-
Inserts a new
Message
entity into the database. - createNewChat(String, String, String, int, String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Creates a new chat with the specified parameters.
- createNewChat(String, String, String, int, String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatCreateController
-
Creates a new chat record using user inputs from the UI.
- createNewChatMessage(int, String, boolean, boolean) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Creates a new message based on user input.
- createNewQuestionAnswerOption(AIUtils.Option, QuizQuestion) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Creates a new answer option for a quiz question.
- createNewQuiz(AIUtils.ModelResponseFormat, Message) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Creates a new quiz from an AI response message.
- createNewQuizQuestion(String, Quiz) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Creates a new quiz question for a given quiz.
- createNewUserAnswer(int, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Creates a new user answer record based on user input.
- createQuiz(Quiz) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizDAO
-
Creates a new Quiz in the database.
- createQuiz(Quiz) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizDAO
-
Saves a new
Quiz
entity to the database. - createQuizQuestion(QuizQuestion) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizQuestionDAO
-
Creates a new QuizQuestion in the database.
- createQuizQuestion(QuizQuestion) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizQuestionDAO
-
Inserts a new
QuizQuestion
entity to the database. - createUser(User) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserDAO
-
Creates a new User in the database.
- createUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Inserts a new
User
entity to the database. - createUserAnswer(UserAnswer) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserAnswerDAO
-
Creates a new UserAnswer in the database.
- createUserAnswer(UserAnswer) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswerDAO
-
Inserts a new
UserAnswer
entity to the database. - currentChat(Chat) - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Sets the current chat, required for update operations.
- currentUser - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- currentUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatControllerBuilder
-
Sets the current authenticated user for the
ChatController
. - currentUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Sets the current authenticated user.
- currentUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.builders.QuizControllerBuilder
-
Sets the current authenticated user for the
QuizController
. - currentUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.builders.UserSettingsControllerBuilder
-
Sets the current authenticated user for the
UserSettingsController
.
D
- db - Variable in class ai.tutor.cab302exceptionalhandlers.builders.ControllerBuilder
- db - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- db - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- db - Variable in class ai.tutor.cab302exceptionalhandlers.factories.AbstractControllerFactory
- deleteChat(Chat) - Method in class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Deletes a
Chat
from the database. - deleteChat(Chat) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IChatDAO
-
Deletes a Chat from the database.
- deleteUser(User) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserDAO
-
Deletes a User from the database.
- deleteUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Removes a
User
entity from the database. - downloadButton - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- downloadChat() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
-
Initiates the download of chat messages for the current chat as a text file.
- downloadChat() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatUpdateController
-
Initiates the download of chat messages for the current chat as a text file.
E
- educationLevel - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- errorFeedback(Label, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Displays error feedback in the specified label.
- exitButton - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
G
- generateChatMessageResponse(Message) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Generates an AI response to a user message.
- generateResponse(List<Message>, Chat, boolean) - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
-
Calls /api/chat on the Ollama host generating an AI response based on chat history and configuration.
- getAllChatMessages(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IMessageDAO
-
Retrieves all Messages associated with a specific chat.
- getAllChatMessages(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.MessageDAO
-
Retrieves all
Message
entities for a specific chat session. - getAllChatQuizzes(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizDAO
-
Retrieves all Quizzes associated with a specific chat.
- getAllChatQuizzes(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizDAO
-
Retrieves all
Quiz
entities for a specific chat session. - getAllQuestionAnswerOptions(int, int) - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOptionDAO
-
Retrieves all
AnswerOption
entities for a specific quiz question. - getAllQuestionAnswerOptions(int, int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IAnswerOptionDAO
-
Retrieves all AnswerOptions for a specific question in a quiz.
- getAllQuizQuestions(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizQuestionDAO
-
Retrieves all QuizQuestions associated with a specific quiz (message).
- getAllQuizQuestions(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizQuestionDAO
-
Retrieves all
QuizQuestion
entities for a specific quiz. - getAllUserChats(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Retrieves all
Chat
objects for a specific user. - getAllUserChats(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IChatDAO
-
Retrieves all Chats associated with a specific user.
- getAllUserQuestionAttempts(int, int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserAnswerDAO
-
Retrieves all attempts of UserAnswers for a specific question in a quiz.
- getAllUserQuestionAttempts(int, int) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswerDAO
-
Retrieves all
UserAnswer
entities for a specific quiz question across all attempts. - getAllUserQuizAnswers(int, int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserAnswerDAO
-
Retrieves all question UserAnswers for a specific attempt of a quiz.
- getAllUserQuizAnswers(int, int) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswerDAO
-
Retrieves all
UserAnswer
entities for a specific quiz attempt. - getAllUserQuizAttempts(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserAnswerDAO
-
Retrieves all attempts of question UserAnswers for a specific quiz.
- getAllUserQuizAttempts(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswerDAO
-
Retrieves all
UserAnswer
entities for a specific quiz across all attempts. - getAllUserQuizzes(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizDAO
-
Retrieves all Quizzes associated with a specific user.
- getAllUserQuizzes(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizDAO
-
Retrieves all
Quiz
entities for a specific user across all their chat sessions. - getAllUsers() - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserDAO
-
Retrieves all Users from the database.
- getAllUsers() - Method in class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Retrieves all
User
entities from the database. - getAnswerOption() - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswer
- getAttempt() - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswer
- getChat(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Retrieves a specific chat from the database.
- getChat(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Retrieves a
Chat
by its ID. - getChat(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IChatDAO
-
Retrieves a Chat from the database by its ID.
- getChatId() - Method in class ai.tutor.cab302exceptionalhandlers.model.Message
- getChatMessages(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Retrieves all messages for a specific chat.
- getContent() - Method in class ai.tutor.cab302exceptionalhandlers.model.Message
- getCurrentChat() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatCreateController
- getCurrentChat() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
-
Abstract method to get the current chat context.
- getCurrentChat() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatUpdateController
-
Retrieves the current chat being updated.
- getDifficulty() - Method in class ai.tutor.cab302exceptionalhandlers.model.Quiz
- getEducationLevel() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getFromUser() - Method in class ai.tutor.cab302exceptionalhandlers.model.Message
- getId() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getId() - Method in class ai.tutor.cab302exceptionalhandlers.model.Message
- getId() - Method in class ai.tutor.cab302exceptionalhandlers.model.User
- getInstance() - Method in class ai.tutor.cab302exceptionalhandlers.model.SQLiteConnection
-
Returns the defined instance of the SQLite database connection.
- getInstance() - Static method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Gets the singleton instance of
SceneManager
. - getInstance() - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
-
Gets the singleton instance of
AIUtils
. - getIsAnswer() - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOption
- getIsQuiz() - Method in class ai.tutor.cab302exceptionalhandlers.model.Message
- getMessageId() - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOption
- getMessageId() - Method in class ai.tutor.cab302exceptionalhandlers.model.Quiz
- getMessageId() - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizQuestion
- getMessageId() - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswer
- getModelName() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
- getName() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getName() - Method in class ai.tutor.cab302exceptionalhandlers.model.Quiz
- getNumber() - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizQuestion
- getOption() - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOption
- getOptionLetter() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Option
- getOptions() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Question
- getOptionText() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Option
- getPasswordHash() - Method in class ai.tutor.cab302exceptionalhandlers.model.User
- getQuestion() - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizQuestion
- getQuestionAnswerOption(int, int, String) - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOptionDAO
-
Retrieves a specific
AnswerOption
for a quiz question. - getQuestionAnswerOption(int, int, String) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IAnswerOptionDAO
-
Retrieves an AnswerOption from the database
- getQuestionAnswerOption(int, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves a specific answer option record by question number and option value.
- getQuestionAnswerOptions(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves all answer option records for a specific question.
- getQuestionContent() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Question
- getQuestionNumber() - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOption
- getQuestionNumber() - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswer
- getQuestionNumber() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Question
- getQuestions() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.QuizFormat
- getQuestionUserAnswer(int, int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves a specific user answer record by attempt and question number.
- getQuiz() - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves the current quiz record from the database.
- getQuiz(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizDAO
-
Retrieves a Quiz from the database by its associated message ID.
- getQuiz(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizDAO
-
Retrieves a
Quiz
entity by its associated message ID. - getQuizDifficulty() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getQuizForMessage(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Retrieves the quiz associated with a message.
- getQuizLength() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getQuizQuestion(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves a specific quiz question record by number.
- getQuizQuestion(int, int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IQuizQuestionDAO
-
Retrieves a specific QuizQuestion from the database.
- getQuizQuestion(int, int) - Method in class ai.tutor.cab302exceptionalhandlers.model.QuizQuestionDAO
-
Retrieves a
QuizQuestion
entity by its message ID and question number. - getQuizQuestions() - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves all quiz question records for the current quiz.
- getQuizQuestions() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.ModelResponseFormat
- getQuizTitle() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.ModelResponseFormat
- getQuizTitle() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.QuizFormat
- getQuizUserAnswers(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Retrieves all user answer records for a specific quiz attempt.
- getResponseAttitude() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getSelectedChat() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Retrieves the currently selected chat from the chat list view.
- getStudyArea() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getUser(int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserDAO
-
Retrieves a User from the database by their ID.
- getUser(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Retrieves a
User
entity by its ID. - getUser(String) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserDAO
-
Retrieves a User from the database by their username.
- getUser(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Retrieves a
User
entity by its username. - getUserChats() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Retrieves all chats for the current user from the database.
- getUserId() - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- getUsername() - Method in class ai.tutor.cab302exceptionalhandlers.model.User
- getUserQuestionAnswer(int, int, int) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserAnswerDAO
-
Retrieves a UserAnswer from the database
- getUserQuestionAnswer(int, int, int) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserAnswerDAO
-
Retrieves a
UserAnswer
entity - getValue() - Method in class ai.tutor.cab302exceptionalhandlers.model.AnswerOption
H
- hashPassword(String) - Static method in class ai.tutor.cab302exceptionalhandlers.model.User
-
Hashes a plaintext password using the Scrypt algorithm.
- hasModel() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
-
Calls /api/tags on the Ollama host to check if
AIUtils.modelName
is available. - HEIGHT - Static variable in class ai.tutor.cab302exceptionalhandlers.QuizWhizApplication
I
- IAnswerOptionDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for an AnswerOption DAO.
- IChatDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for a Chat DAO.
- IMessageDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for a Message DAO.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Initializes the authentication form’s UI components and event handlers.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Initializes the chat screen’s UI components and event handlers.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatCreateController
-
Initializes the chat creation screen’s UI components and event handlers.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
-
Initializes the chat setup screen’s UI components and event handlers.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatUpdateController
-
Initializes the chat update screen’s UI components and event handlers.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Initializes the quiz interface components.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
-
Initializes the sign-up screen by setting up UI components and event handlers.
- initialize() - Method in class ai.tutor.cab302exceptionalhandlers.controller.UserSettingsController
-
Initializes the user settings screen’s UI components and event handlers.
- IQuizDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for a Quiz DAO.
- IQuizQuestionDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for a QuizQuestion DAO.
- isAnswer() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Option
- isError - Variable in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.ModelResponseFormat
- isOllamaRunning() - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
-
Pings Ollama host to check if it is running.
- IUserAnswerDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for a UserAnswer DAO.
- IUserDAO - Interface in ai.tutor.cab302exceptionalhandlers.model
-
Defines the interface for a User DAO.
L
- loadChat(User) - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Navigates to the chat screen for the authenticated user.
- loadPage(String, Class<T>, Stage, Object[]) - Static method in class ai.tutor.cab302exceptionalhandlers.model.Utils
- LOGIN - Enum constant in enum class ai.tutor.cab302exceptionalhandlers.types.AuthType
- LoginController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controls the login screen for creating new user accounts in the AI tutor application.
- LoginController(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.LoginController
M
- main(String[]) - Static method in class ai.tutor.cab302exceptionalhandlers.QuizWhizApplication
- MAX_QUIZ_LENGTH - Static variable in class ai.tutor.cab302exceptionalhandlers.model.Chat
- Message - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents a single message in a Chat
- Message(int, String, boolean, boolean) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.Message
-
Constructor for a Message object
- messageDAO - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- MessageDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Conducts DAO operations for the
messages
table in the SQLite database. - MessageDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.MessageDAO
-
Constructs a
MessageDAO
with an SQLite database connection. - MIN_QUIZ_LENGTH - Static variable in class ai.tutor.cab302exceptionalhandlers.model.Chat
- ModelResponseFormat(boolean, String, AIUtils.QuizFormat[]) - Constructor for class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.ModelResponseFormat
-
Constructor of
ModelResponseFormat
.
N
- navigateToAuth(AuthType) - Method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Navigates to the authentication view (Login or Sign Up).
- navigateToChat(User) - Method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Navigates to the main chat view.
- navigateToChatSetup(User, ChatSetupType, Chat) - Method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Navigates to the chat setup view for creating or updating a chat.
- navigateToQuiz(Quiz, User) - Method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Navigates to the quiz view.
- navigateToUserSettings(User) - Method in class ai.tutor.cab302exceptionalhandlers.SceneManager
-
Navigates to the user settings view.
O
- onFieldChanged(KeyEvent) - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Handles key events in the authentication form’s input fields.
- onFieldChanged(KeyEvent) - Method in class ai.tutor.cab302exceptionalhandlers.controller.LoginController
-
Handles key events in the login form’s text fields to track input changes.
- onFieldChanged(KeyEvent) - Method in class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
-
Handles key events in the sign-up form’s text fields to track input changes.
- onSubmit() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Processes the authentication form submission.
- onSubmit() - Method in class ai.tutor.cab302exceptionalhandlers.controller.LoginController
-
Processes the sign-up form submission to create a new user account.
- onSubmit() - Method in class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
-
Processes the sign-up form submission to create a new user account.
- Option(String, String, boolean) - Constructor for class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Option
-
Constructor of
Option
.
P
- passwordEmpty - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- passwordFeedback - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- passwordField - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
Q
- Question(int, String, AIUtils.Option[]) - Constructor for class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.Question
-
Constructor of
Question
. - quiz(Quiz) - Method in class ai.tutor.cab302exceptionalhandlers.builders.QuizControllerBuilder
-
Sets the quiz for the
QuizController
. - Quiz - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents a Quiz
- Quiz(int, String, String) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.Quiz
-
Constructor for a Quiz object
- quizController() - Method in class ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory
-
Creates and returns a
QuizControllerBuilder
. - QuizController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controller for managing the quiz-taking interface in the AI tutor application.
- QuizController(SQLiteConnection, Quiz, User) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Constructs a new QuizController with the specified database connection, quiz, and user.
- QuizControllerBuilder - Class in ai.tutor.cab302exceptionalhandlers.builders
-
Builder for creating instances of
QuizController
. - QuizControllerBuilder(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.builders.QuizControllerBuilder
-
Constructs a
QuizControllerBuilder
. - QuizDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Conducts database operations for managing quizzes
- QuizDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.QuizDAO
-
Initialises the
QuizDAO
with an SQLite database connection. - quizDifficulty - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- QuizFormat(String, AIUtils.Question[]) - Constructor for class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.QuizFormat
-
Constructor of
QuizFormat
. - quizLength - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- QuizQuestion - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents a singular quiz question.
- QuizQuestion(int, int, String) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.QuizQuestion
-
Constructs a QuizQuestion object.
- QuizQuestionDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Conducts SQL operations for managing quiz questions into the database
- QuizQuestionDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.QuizQuestionDAO
-
Initialises the
QuizQuestionDAO
with an SQLite database connection. - QuizWhizApplication - Class in ai.tutor.cab302exceptionalhandlers
-
Main application class for Quiz Whiz.
- QuizWhizApplication() - Constructor for class ai.tutor.cab302exceptionalhandlers.QuizWhizApplication
- quizzes - Variable in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.ModelResponseFormat
-
An array of quizzes, if generated by the AI.
R
- refreshChatListView() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Refreshes the chat list view to display updated chats.
- resetErrorFeedback() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Clears error feedback from all feedback labels.
- response - Variable in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils.ModelResponseFormat
- responseAttitude - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
S
- saveAnswers(int, int, Map<Integer, String>, UserAnswerDAO) - Method in class ai.tutor.cab302exceptionalhandlers.controller.QuizController
-
Saves user answers to the database.
- SceneManager - Class in ai.tutor.cab302exceptionalhandlers
-
Manages scene navigation and controller instantiation for the application.
- SendAndReceiveMessage() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Sends a message and retrieves an AI response.
- setEducationLevel(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- setId(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- setId(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.Message
- setId(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.User
- setName(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- setPasswordHash(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.User
- setQuizDifficulty(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- setQuizLength(int) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- setQuizMode(boolean) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Sets the chat to quiz mode.
- setResponseAttitude(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- setStudyArea(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.Chat
- settingsTitle - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- setupConfirmChatButton() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatCreateController
-
Configures the confirm chat button to create a new chat.
- setupConfirmChatButton() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
-
Abstract method to set up the confirm chat button.
- setupConfirmChatButton() - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatUpdateController
-
Sets up the confirm chat button to update the current chat.
- setupConfirmPasswordField() - Method in class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
-
Configures the confirmed password field to respond to key events.
- setupInputField() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Configures input fields to respond to key events.
- setupSubmitButton() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Configures the submit button to handle form submission.
- setupSwitchLayoutButton() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Configures the switch layout button to handle navigation between login and sign-up screens.
- setUsername(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.User
- setVerbose(boolean) - Method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
-
Sets the verbosity of
OllamaAPI
output. - showConfirmAlert(String) - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.Utils
-
Displays a confirmation alert dialog with the specified message and returns the user's choice.
- showErrorAlert(String) - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.Utils
-
Displays an error alert dialog with the specified message.
- showInfoAlert(String) - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.Utils
-
Displays an information alert dialog with the specified message.
- showWarningAlert(String) - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.Utils
-
Displays a warning alert dialog with the specified message.
- SIGNUP - Enum constant in enum class ai.tutor.cab302exceptionalhandlers.types.AuthType
- SignUpController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controls the sign-up screen for creating new user accounts in the AI tutor application.
- SignUpController(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
- SQLiteConnection - Class in ai.tutor.cab302exceptionalhandlers.model
-
Defines a connection to the SQLite database.
- SQLiteConnection() - Constructor for class ai.tutor.cab302exceptionalhandlers.model.SQLiteConnection
-
Creates a connection to the default SQLite database "tutor.db".
- SQLiteConnection(boolean) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.SQLiteConnection
-
Creates a connection to an in-memory SQLite database or the default "tutor.db".
- SQLiteConnection(String) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.SQLiteConnection
-
Creates a connection to a specified SQLite database.
- start(Stage) - Method in class ai.tutor.cab302exceptionalhandlers.QuizWhizApplication
-
Initializes the main application loop, called by the JavaFX framework when the application starts.
- startChatButton - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- submitButton - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- submitButtonToggle() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Enables or disables the submit button based on input field states.
- submitButtonToggle() - Method in class ai.tutor.cab302exceptionalhandlers.controller.LoginController
-
Enables or disables the submit button based on input field states.
- submitButtonToggle() - Method in class ai.tutor.cab302exceptionalhandlers.controller.SignUpController
-
Enables or disables the submit button based on input field states.
- switchLayout - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- switchLayout() - Method in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
-
Switches between login and sign-up screens.
T
- TITLE - Static variable in class ai.tutor.cab302exceptionalhandlers.QuizWhizApplication
- type(AuthType) - Method in class ai.tutor.cab302exceptionalhandlers.builders.AuthControllerBuilder
-
Sets the type of authentication controller to build (LOGIN or SIGNUP).
- type(ChatSetupType) - Method in class ai.tutor.cab302exceptionalhandlers.builders.ChatSetupControllerBuilder
-
Sets the type of chat setup operation (CREATE or UPDATE).
U
- UPDATE - Enum constant in enum class ai.tutor.cab302exceptionalhandlers.types.ChatSetupType
- updateChat(Chat) - Method in class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Updates an existing
Chat
row in the database. - updateChat(Chat) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IChatDAO
-
Updates an existing Chat in the database.
- updateChatDetails(int, String, String, String, String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Updates the details of a specific chat (marked as redundant, handled in
ChatSetupController
). - updateChatDetails(String, String, String, int, String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatUpdateController
-
Updates the details of the current chat.
- updateChatName(int, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Updates the name of a specific chat in the database.
- updateChatName(Chat) - Method in class ai.tutor.cab302exceptionalhandlers.model.ChatDAO
-
Updates the name of an existing
Chat
in the database. - updateChatName(Chat) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IChatDAO
-
Updates the name of an existing Chat in the database.
- updatePassword(String, String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.UserSettingsController
-
Updates the user’s password after verifying the current password.
- updateUser(User) - Method in interface ai.tutor.cab302exceptionalhandlers.model.IUserDAO
-
Updates an existing User in the database.
- updateUser(User) - Method in class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Updates an existing
User
entity in the database. - updateUsername(String) - Method in class ai.tutor.cab302exceptionalhandlers.controller.UserSettingsController
-
Updates the user’s username if it has changed.
- User - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents a user in the QuizWhiz application.
- User(String, String) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.User
-
Constructs a User object.
- UserAnswer - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents a user's answer to a quiz question.
- UserAnswer(int, int, int, String) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.UserAnswer
-
Constructs a UserAnswer object.
- UserAnswerDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Represents the data operations for
UserAnswer
entities in the SQLite database. - UserAnswerDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.UserAnswerDAO
-
Constructs a sqlite
UserAnswerDAO
connection for database operations. - userDAO - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- userDAO - Variable in class ai.tutor.cab302exceptionalhandlers.controller.ChatSetupController
- UserDAO - Class in ai.tutor.cab302exceptionalhandlers.model
-
Provides SQL operations for managing
User
entities in the SQLite database. - UserDAO(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.model.UserDAO
-
Creates a
UserDAO
table with an SQLite database connection. - usernameEmpty - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- usernameFeedback - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- usernameField - Variable in class ai.tutor.cab302exceptionalhandlers.controller.AuthController
- userSettingsController() - Method in class ai.tutor.cab302exceptionalhandlers.factories.ControllerFactory
-
Creates and returns a
UserSettingsControllerBuilder
. - UserSettingsController - Class in ai.tutor.cab302exceptionalhandlers.controller
-
Controls the user settings screen in the AI tutor application.
- UserSettingsController(SQLiteConnection, User) - Constructor for class ai.tutor.cab302exceptionalhandlers.controller.UserSettingsController
-
Constructs a UserSettingsController with a database connection and user.
- UserSettingsControllerBuilder - Class in ai.tutor.cab302exceptionalhandlers.builders
-
Builder for creating instances of
UserSettingsController
. - UserSettingsControllerBuilder(SQLiteConnection) - Constructor for class ai.tutor.cab302exceptionalhandlers.builders.UserSettingsControllerBuilder
-
Constructs a
UserSettingsControllerBuilder
. - Utils - Class in ai.tutor.cab302exceptionalhandlers.model
- Utils - Class in ai.tutor.cab302exceptionalhandlers.Utils
-
General utility class for helper methods
- Utils() - Constructor for class ai.tutor.cab302exceptionalhandlers.model.Utils
V
- validateChatExistsForCurrentUser(int) - Method in class ai.tutor.cab302exceptionalhandlers.controller.ChatController
-
Validates a chat exists for the current user (alternative to
ChatController.getChat(int)
). - validateNullOrEmpty(String) - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.Utils
-
Validates if a string is null or empty (after trimming whitespace).
- validateQuizResponse(AIUtils.ModelResponseFormat) - Static method in class ai.tutor.cab302exceptionalhandlers.Utils.AIUtils
-
Validates the structure and content of an AI-generated quiz response.
- valueOf(String) - Static method in enum class ai.tutor.cab302exceptionalhandlers.types.AuthType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class ai.tutor.cab302exceptionalhandlers.types.ChatSetupType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class ai.tutor.cab302exceptionalhandlers.types.AuthType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class ai.tutor.cab302exceptionalhandlers.types.ChatSetupType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyPassword(String) - Method in class ai.tutor.cab302exceptionalhandlers.model.User
-
Verifies whether the plaintext password matches the stored password hash.
W
- WIDTH - Static variable in class ai.tutor.cab302exceptionalhandlers.QuizWhizApplication
All Classes and Interfaces|All Packages|Constant Field Values