Uses of Class
it.unimib.unimibmodules.model.Question
Packages that use Question
Package
Description
-
Uses of Question in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that return QuestionModifier and TypeMethodDescriptionQuestionController.convertToEntity
(QuestionDTO questionDTO) Converts an instance of QuestionDTO to an instance of QuestionQuestionRepository.get
(int id) Finds the question identified by id in the databaseQuestionRepositoryReadOnly.get
(int id) Finds the question identified by id in the databaseMethods in it.unimib.unimibmodules.controller that return types with arguments of type QuestionModifier and TypeMethodDescriptionQuestionRepository.getAll()
Finds all the questions in the databaseQuestionRepository.getAllLazy
(int offset, int limit) Finds all the questions in the database with lazy loadingQuestionRepository.getByCategory
(int categoryId) Finds the question identified by id of the category in the databaseQuestionRepository.getByCategoryLazy
(int categoryId, int offset, int limit) Finds the question identified by id of the category in the database with Lazy Loading parameters:QuestionRepository.getBySurveyId
(int surveyId) Finds the question identified by id in the databaseFinds the question in the database where text is contained in the text of the questionQuestionRepository.getByTextLazy
(String text, int offset, int limit) Finds the question in the database where text is contained in the text of the question with Lazy Loading parameters:offset
andlimit
QuestionRepository.getByUser
(int userId) Finds the question in the database created by a specified userQuestionRepository.getByUserLazy
(int userId, int offset, int limit) Finds the question in the database created by a specified user with Lazy Loading parameters:Methods in it.unimib.unimibmodules.controller with parameters of type QuestionModifier and TypeMethodDescriptionvoid
Inserts an instance of Question in the databaseQuestionController.convertToDTO
(Question question) Converts an instance of Question to an instance of questionDTOvoid
Updates a question in the database using a new instance of Question.Method parameters in it.unimib.unimibmodules.controller with type arguments of type QuestionModifier and TypeMethodDescriptionQuestionController.convertListToDTO
(Iterable<Question> questions) Converts a list of Question to a list of questionDTO -
Uses of Question in it.unimib.unimibmodules.model
Fields in it.unimib.unimibmodules.model declared as QuestionModifier and TypeFieldDescriptionprivate Question
Answer.question
The question to which this answer belongs.private Question
CloseEndedAnswer.question
The question to which this answer belongs.private Question
SurveyQuestions.question
The question of the relationship.Fields in it.unimib.unimibmodules.model with type parameters of type Question -
Uses of Question in it.unimib.unimibmodules.repository
Methods in it.unimib.unimibmodules.repository that return QuestionModifier and TypeMethodDescriptionQuestionRepositoryImpl.get
(int id) Finds the question identified by id in the databaseMethods in it.unimib.unimibmodules.repository that return types with arguments of type QuestionModifier and TypeMethodDescriptionQuestionDAO.findAllLazy
(int offset, int limit) QuestionDAO.findByCategory
(int categoryId) QuestionDAO.findByCategoryLazy
(int categoryId, int offset, int limit) QuestionDAO.findBySurveyId
(int surveyId) QuestionDAO.findByText
(String text) QuestionDAO.findByTextLazy
(String text, int offset, int limit) QuestionDAO.findByUser
(int userId) QuestionDAO.findByUserLazy
(int userId, int offset, int limit) QuestionRepositoryImpl.getAll()
Returns all questions in the database.QuestionRepositoryImpl.getAllLazy
(int offset, int limit) Finds all the questions in the database with Lazy Loading parametersQuestionRepositoryImpl.getByCategory
(int categoryId) Finds the question associated with the category identified bysurveyId
QuestionRepositoryImpl.getByCategoryLazy
(int categoryId, int offset, int limit) Finds the question associated with the category identified bysurveyId
with Lazy LoadingQuestionRepositoryImpl.getBySurveyId
(int surveyId) Finds the question associated with the survey identified bysurveyId
Finds the question in the database where text is contained in the text of the questionQuestionRepositoryImpl.getByTextLazy
(String text, int offset, int limit) Finds the question in the database where text is contained in the text of the question for lazy loadingQuestionRepositoryImpl.getByUser
(int userId) Finds the question in the database created by a specified userQuestionRepositoryImpl.getByUserLazy
(int userId, int offset, int limit) Finds the question in the database created by a specified user with Lazy LoadingMethods in it.unimib.unimibmodules.repository with parameters of type QuestionModifier and TypeMethodDescriptionvoid
Inserts an instance of Question in the databasevoid
Updates a question in the database using a new instance of Question.Method parameters in it.unimib.unimibmodules.repository with type arguments of type Question