Uses of Class
ai.tutor.cab302exceptionalhandlers.model.Quiz
Packages that use Quiz
Package
Description
-
Uses of Quiz in ai.tutor.cab302exceptionalhandlers
Methods in ai.tutor.cab302exceptionalhandlers with parameters of type QuizModifier and TypeMethodDescriptionvoid
SceneManager.navigateToQuiz
(Quiz quiz, User user) Navigates to the quiz view. -
Uses of Quiz in ai.tutor.cab302exceptionalhandlers.builders
Methods in ai.tutor.cab302exceptionalhandlers.builders with parameters of type Quiz -
Uses of Quiz in ai.tutor.cab302exceptionalhandlers.controller
Methods in ai.tutor.cab302exceptionalhandlers.controller that return QuizModifier and TypeMethodDescriptionChatController.createNewQuiz
(AIUtils.ModelResponseFormat response, Message responseMessage) Creates a new quiz from an AI response message.QuizController.getQuiz()
Retrieves the current quiz record from the database.ChatController.getQuizForMessage
(int messageId) Retrieves the quiz associated with a message.Methods in ai.tutor.cab302exceptionalhandlers.controller with parameters of type QuizModifier and TypeMethodDescriptionChatController.createNewQuizQuestion
(String questionContent, Quiz quiz) Creates a new quiz question for a given quiz.Constructors in ai.tutor.cab302exceptionalhandlers.controller with parameters of type QuizModifierConstructorDescriptionQuizController
(SQLiteConnection db, Quiz chosenQuiz, User currentUser) Constructs a new QuizController with the specified database connection, quiz, and user. -
Uses of Quiz in ai.tutor.cab302exceptionalhandlers.model
Methods in ai.tutor.cab302exceptionalhandlers.model that return QuizModifier and TypeMethodDescriptionIQuizDAO.getQuiz
(int messageId) Retrieves a Quiz from the database by its associated message ID.QuizDAO.getQuiz
(int messageId) Retrieves aQuiz
entity by its associated message ID.Methods in ai.tutor.cab302exceptionalhandlers.model that return types with arguments of type QuizModifier and TypeMethodDescriptionIQuizDAO.getAllChatQuizzes
(int chatId) Retrieves all Quizzes associated with a specific chat.QuizDAO.getAllChatQuizzes
(int chatId) Retrieves allQuiz
entities for a specific chat session.IQuizDAO.getAllUserQuizzes
(int userId) Retrieves all Quizzes associated with a specific user.QuizDAO.getAllUserQuizzes
(int userId) Retrieves allQuiz
entities for a specific user across all their chat sessions.Methods in ai.tutor.cab302exceptionalhandlers.model with parameters of type QuizModifier and TypeMethodDescriptionvoid
IQuizDAO.createQuiz
(Quiz quiz) Creates a new Quiz in the database.void
QuizDAO.createQuiz
(Quiz quiz) Saves a newQuiz
entity to the database.