Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user.UserUpdateDTO
Packages that use UserUpdateDTO
Package
Description
-
Uses of UserUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type UserUpdateDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<UserResponse> UserController.updateUser
(org.springframework.security.core.userdetails.UserDetails userDetails, UserUpdateDTO userUpdateDTO) Updates a user profile -
Uses of UserUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type UserUpdateDTOModifier and TypeMethodDescriptionvoid
UserMapper.updateEntity
(User user, UserUpdateDTO updateDTO, String encodedPassword) Updates User entity from DTO -
Uses of UserUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type UserUpdateDTOModifier and TypeMethodDescriptionUserService.updateUser
(String username, UserUpdateDTO updateDTO) Updates a user specified by their username -
Uses of UserUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.user
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.user with parameters of type UserUpdateDTOModifier and TypeMethodDescriptionvoid
UserValidator.validateUserUpdateDTO
(UserUpdateDTO dto) Validates dto used for updating User entity