Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.goal.GoalUpdateDTO
Packages that use GoalUpdateDTO
Package
Description
-
Uses of GoalUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type GoalUpdateDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<GoalResponseDTO> GoalController.updateUserGoal
(Long id, GoalUpdateDTO goalDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Updates a user's saving goal -
Uses of GoalUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type GoalUpdateDTOModifier and TypeMethodDescriptionGoalMapper.updateEntity
(Goal goal, GoalUpdateDTO goalDTO) Updates Goal entity based on DTO -
Uses of GoalUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type GoalUpdateDTOModifier and TypeMethodDescriptionGoalService.update
(Long id, GoalUpdateDTO goalDTO, User user) Updates a goal of a user, specified by its ID