Uses of Class
it.unimib.unimibmodules.dto.SurveyDTO
Packages that use SurveyDTO
-
Uses of SurveyDTO in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that return SurveyDTOModifier and TypeMethodDescriptionSurveyController.convertToDTO
(Survey survey) Conversion of an instance of Survey to an instance of SurveyDTOSurveyController.convertToDTOAndSkipQuestions
(Survey survey) Conversion of an instance of Survey to an instance of SurveyDTO skipping QuestionsListMethods in it.unimib.unimibmodules.controller that return types with arguments of type SurveyDTOModifier and TypeMethodDescriptionSurveyController.findAllSurveys()
Finds all surveys.SurveyController.findAllSurveysNoQuestion()
Finds all surveys without their questions list.SurveyController.findAllSurveysNoQuestionLazy
(int offset, int limit) Finds all surveys without their questions.org.springframework.http.ResponseEntity<SurveyDTO>
SurveyController.findSurvey
(int id) Finds the survey associated with the given id.org.springframework.http.ResponseEntity<SurveyDTO>
SurveyController.findSurveyByCompilationCode
(String code) Finds the survey associated with the given id.SurveyController.findSurveyByText
(String text) Finds the surveys where text is contained in their names or in their identifiers.SurveyController.findSurveyByTextNoQuestions
(String text) Finds the surveys where text is contained in their names or in their identifiers without their questions listSurveyController.findSurveyByTextNoQuestionsLazy
(String text, int offset, int limit) Finds the surveys where text is contained in their names or in their identifiers without their questions list using Lazy Loading parameters.org.springframework.http.ResponseEntity<SurveyDTO>
SurveyController.findSurveyNoQuestion
(int id) Finds the survey associated with the given id without its questions list.UserController.getSurveysCreated
(String username) Gets the surveys created by the user identified by the usernameMethods in it.unimib.unimibmodules.controller with parameters of type SurveyDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
Creates a survey, with the given name and request's date-time, that is associated to the given user idSurveyController.convertToEntity
(SurveyDTO surveyDTO) Conversion of an instance of SurveyDTO to an instance of Surveyorg.springframework.http.ResponseEntity<String>
SurveyController.modifySurvey
(SurveyDTO surveyDTO) Modifies the survey's name associated with the given surveyDTO. -
Uses of SurveyDTO in it.unimib.unimibmodules.dto
Fields in it.unimib.unimibmodules.dto declared as SurveyDTOModifier and TypeFieldDescriptionprivate SurveyDTO
AnswerDTO.surveyDTO
Serialization of the survey to which this answer belongs.private SurveyDTO
SurveyQuestionsDTO.surveyDTO
Serialization of the survey of the relationship.Fields in it.unimib.unimibmodules.dto with type parameters of type SurveyDTOModifier and TypeFieldDescriptionUserDTO.surveysCreatedDTO
Serialization of the surveys created by the user