Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.challenge.ChallengeCreateDTO
Packages that use ChallengeCreateDTO
Package
Description
-
Uses of ChallengeCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type ChallengeCreateDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ChallengeDTO> ChallengeController.createChallenge(ChallengeCreateDTO challengeCreateDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Creates a saving challenge -
Uses of ChallengeCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type ChallengeCreateDTOModifier and TypeMethodDescriptionChallengeMapper.toEntity(ChallengeCreateDTO challengeCreateDTO, User user) Converts from challenge DTO to entity. -
Uses of ChallengeCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type ChallengeCreateDTOModifier and TypeMethodDescriptionChallengeService.save(ChallengeCreateDTO challengeCreateDTO, User user) Creates and persists a new challenge based on provided DTO and user details. -
Uses of ChallengeCreateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.challenge
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.challenge with parameters of type ChallengeCreateDTOModifier and TypeMethodDescriptionvoidChallengeValidator.validate(ChallengeCreateDTO dto) Validation method for dto field constraints.