Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user.UserResponse
Packages that use UserResponse
Package
Description
-
Uses of UserResponse in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller that return types with arguments of type UserResponseModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<UserResponse> UserController.getUser
(org.springframework.security.core.userdetails.UserDetails userDetails) Gets a users profileorg.springframework.http.ResponseEntity
<UserResponse> UserController.updateUser
(org.springframework.security.core.userdetails.UserDetails userDetails, UserUpdateDTO userUpdateDTO) Updates a user profile -
Uses of UserResponse in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper that return UserResponseModifier and TypeMethodDescriptionMaps from User entity to DTO -
Uses of UserResponse in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service that return UserResponseModifier and TypeMethodDescriptionUserService.findUserByUsernameToDTO
(String username) Finds user by their usernameUserService.updateUser
(String username, UserUpdateDTO updateDTO) Updates a user specified by their username