Uses of Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.exception.validation.BadInputException
Packages that use BadInputException
Package
Description
-
Uses of BadInputException in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller that throw BadInputExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<String> ChangePasswordController.changePasswordRequest
(ChangePasswordRequestRequest changePasswordRequestRequest) Parses a request for forgot password and sends a mail with a link for resetting password.org.springframework.http.ResponseEntity
<ChallengeDTO> ChallengeController.createChallenge
(ChallengeCreateDTO challengeCreateDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Creates a saving challengeorg.springframework.http.ResponseEntity
<ChallengeConfigDTO> ChallengeConfigController.createChallengeConfig
(ChallengeConfigDTO challengeConfigDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Creates a challenge configorg.springframework.http.ResponseEntity
<GoalResponseDTO> GoalController.createUserGoal
(GoalCreateDTO goalDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Creates a saving goalorg.springframework.http.ResponseEntity
<LoginRegisterResponse> AuthenticationController.login
(AuthenticationRequest authRequest) Log in an existing user with username and passwordorg.springframework.http.ResponseEntity
<LoginRegisterResponse> AuthenticationController.register
(RegisterRequest registerRequest) Registers a new user with a given username, password, email, first name and last nameorg.springframework.http.ResponseEntity
<String> ChangePasswordController.resetPassword
(ResetPasswordRequest resetPasswordRequest) Resets a user's passwordorg.springframework.http.ResponseEntity
<ChallengeDTO> ChallengeController.updateChallenge
(Long id, ChallengeUpdateDTO challengeUpdateDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Updates a challengeorg.springframework.http.ResponseEntity
<ChallengeConfigDTO> ChallengeConfigController.updateChallengeConfig
(ChallengeConfigDTO challengeConfigDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Updates a user's challenge configorg.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 BadInputException in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service that throw BadInputExceptionModifier and TypeMethodDescriptionAuthenticationService.register
(RegisterRequest request) Registers a new, valid user. -
Uses of BadInputException in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.challenge
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.challenge that throw BadInputExceptionModifier and TypeMethodDescriptionvoid
ChallengeValidator.validate
(ChallengeCreateDTO dto) Validation method for dto field constraints. -
Uses of BadInputException in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.goal
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.validation.goal that throw BadInputExceptionModifier and TypeMethodDescriptionvoid
GoalValidator.validate
(GoalCreateDTO dto) Validation method for dto field constraints.