Uses of Class
it.unimib.unimibmodules.dto.QuestionDTO
Packages that use QuestionDTO
-
Uses of QuestionDTO in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that return QuestionDTOModifier and TypeMethodDescriptionQuestionController.convertToDTO(Question question) Converts an instance of Question to an instance of questionDTOMethods in it.unimib.unimibmodules.controller that return types with arguments of type QuestionDTOModifier and TypeMethodDescriptionQuestionController.convertListToDTO(Iterable<Question> questions) Converts a list of Question to a list of questionDTOorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.findQuestionsByText(String text) Gets the question in the database where text is contained in the text of the questionorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.findQuestionsByTextLazy(String text, int offset, int limit) Gets the question in the database where text is contained in the text of the question with Lazy Loadingorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.findQuestionsForSurvey(int id) Gets the Question associated with the given id.org.springframework.http.ResponseEntity<QuestionDTO>QuestionController.getQuestion(int id) Gets the Question associated with the given id.org.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.getQuestions()Gets all the questionsorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.getQuestionsByCategory(int id) Gets all the questions associated with the given id of categoryorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.getQuestionsByCategoryLazy(int id, int offset, int limit) Gets all the questions associated with the given id of category with Lazy Loadingorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.getQuestionsByUser(int id) Gets all the questions of the userorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.getQuestionsByUserLazy(int id, int offset, int limit) Gets all the questions of the user with Lazy Loadingorg.springframework.http.ResponseEntity<List<QuestionDTO>>QuestionController.getQuestionsLazy(int offset, int limit) Gets all the questions with Lazy LoadingMethods in it.unimib.unimibmodules.controller with parameters of type QuestionDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>QuestionController.addQuestion(QuestionDTO questionDTO) Creates a question, with the given text and idQuestionController.convertToEntity(QuestionDTO questionDTO) Converts an instance of QuestionDTO to an instance of Questionorg.springframework.http.ResponseEntity<String>QuestionController.modifyQuestion(QuestionDTO questionDTO) Modifies the question's text associated with the given id. -
Uses of QuestionDTO in it.unimib.unimibmodules.dto
Fields in it.unimib.unimibmodules.dto declared as QuestionDTOModifier and TypeFieldDescriptionprivate QuestionDTOAnswerDTO.questionDTOSerialization of the question to which this answer belongs.private QuestionDTOCloseEndedAnswerDTO.questionDTOSerialization of the question to which this answer belongs.private QuestionDTOSurveyQuestionsDTO.questionDTOSerialization of the id of the user who created the survey.Fields in it.unimib.unimibmodules.dto with type parameters of type QuestionDTOModifier and TypeFieldDescriptionprivate Set<QuestionDTO>UserDTO.questionsCreatedDTOSerialization of the questions created by the user