Uses of Class
it.unimib.unimibmodules.dto.AnswerDTO
Packages that use AnswerDTO
-
Uses of AnswerDTO in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that return AnswerDTOModifier and TypeMethodDescriptionAnswerController.convertToDTO
(Answer answer) Converts an instance of Answer to an instance of AnswerDTOMethods in it.unimib.unimibmodules.controller that return types with arguments of type AnswerDTOModifier and TypeMethodDescriptionAnswerController.convertListToDTO
(Iterable<Answer> answers) Converts a list of Answers to a list of AnswerDTOorg.springframework.http.ResponseEntity<AnswerDTO>
AnswerController.findAnswer
(int id) Finds the Answer associated with the givenid
.AnswerController.findSurveyAnswersForUser
(int surveyId, int userId) Finds all the Answer the User associated withuserId
has created for the Survey associated withsurveyId
.Methods in it.unimib.unimibmodules.controller with parameters of type AnswerDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
Creates an Answer.AnswerController.convertToEntity
(AnswerDTO answerDTO) Converts an instance of AnswerDTO to an instance of Answerorg.springframework.http.ResponseEntity<String>
AnswerController.modifyAnswer
(AnswerDTO modifiedAnswerDTO) Modifies an Answer using the values ofmodifiedAnswerDTO
. -
Uses of AnswerDTO in it.unimib.unimibmodules.dto
Fields in it.unimib.unimibmodules.dto with type parameters of type AnswerDTO