Uses of Class
it.unimib.unimibmodules.dto.UserDTO
Packages that use UserDTO
-
Uses of UserDTO in it.unimib.unimibmodules.controller
Methods in it.unimib.unimibmodules.controller that return UserDTOModifier and TypeMethodDescriptionUserController.convertToDTO
(User user) Converts an instance of User to an instance of UserDTOMethods in it.unimib.unimibmodules.controller that return types with arguments of type UserDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<UserDTO>
UserController.getUser
(int id) Gets the User associated with the given id.Methods in it.unimib.unimibmodules.controller with parameters of type UserDTOModifier and TypeMethodDescriptionUserController.convertToEntity
(UserDTO userDTO) Converts an instance of UserDTO to an instance of Userorg.springframework.http.ResponseEntity<String>
Logs the User into the website if the combination of username and password match.org.springframework.http.ResponseEntity<String>
UserController.signUpUser
(UserDTO userDTO) Create a new User. -
Uses of UserDTO in it.unimib.unimibmodules.dto
Fields in it.unimib.unimibmodules.dto declared as UserDTOModifier and TypeFieldDescriptionprivate UserDTO
QuestionDTO.user
Serialization of the id of the user who created the question.private UserDTO
AnswerDTO.userDTO
Serialization of the id of the user who created the answer.private UserDTO
SurveyDTO.userDTO
Serialization of the id of the user who created the survey.