Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.goal.GoalCreateDTO
Packages that use GoalCreateDTO
Package
Description
-
Uses of GoalCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type GoalCreateDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<GoalResponseDTO> GoalController.createUserGoal
(GoalCreateDTO goalDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Creates a saving goal -
Uses of GoalCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type GoalCreateDTOModifier and TypeMethodDescriptionGoalMapper.toEntity
(GoalCreateDTO goalDTO, User user) Maps DTO to Goal entity -
Uses of GoalCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type GoalCreateDTOModifier and TypeMethodDescriptionGoalService.save
(GoalCreateDTO goalDTO, User user) Saves a goal entity. -
Uses of GoalCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.goal
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.goal with parameters of type GoalCreateDTOModifier and TypeMethodDescriptionvoid
GoalValidator.validate
(GoalCreateDTO dto) Validation method for dto field constraints.