Uses of Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.exception.user.UserNotFoundException
Packages that use UserNotFoundException
Package
Description
-
Uses of UserNotFoundException in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller that throw UserNotFoundExceptionModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<String> AuthenticationController.bioAuthRegistration
(org.springframework.security.core.userdetails.UserDetails userDetails) Initiates the biometric authentication registration process for a user.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
<Void> ChallengeController.deleteChallenge
(@NotNull Long id, org.springframework.security.core.userdetails.UserDetails userDetails) Deletes a challengeorg.springframework.http.ResponseEntity
<StreakResponse> UserController.getStreak
(org.springframework.security.core.userdetails.UserDetails userDetails) Gets the streak of a userorg.springframework.http.ResponseEntity
<ChallengeDTO> ChallengeController.getUserChallenge
(org.springframework.security.core.userdetails.UserDetails userDetails, Long id) Gets a specific user challengeorg.springframework.http.ResponseEntity
<org.springframework.data.domain.Page<ChallengeDTO>> ChallengeController.getUserChallenges
(org.springframework.data.domain.Pageable pageable, org.springframework.security.core.userdetails.UserDetails userDetails) Gets a page of a user's saving challengesorg.springframework.http.ResponseEntity
<UserConfigDTO> UserConfigController.getUserConfig
(org.springframework.security.core.userdetails.UserDetails userDetails) Gets a user's configurationorg.springframework.http.ResponseEntity
<ChallengeDTO> ChallengeController.updateChallenge
(Long id, ChallengeUpdateDTO challengeUpdateDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Updates a challenge -
Uses of UserNotFoundException in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service that throw UserNotFoundExceptionModifier and TypeMethodDescriptionUserConfigService.createChallengeConfig
(String username, ChallengeConfigDTO challengeConfigDTO) Creates a challenge config for a userUserService.findUserByUsername
(String username) Finds a user from a given username.UserConfigService.getChallengeConfig
(String username) Gets the challenge config of a userGets the streak of a user, identified by their usernameUserConfigService.getUserConfig
(String username) Gets the config of a userAuthenticationService.refreshAccessToken
(String bearerToken) Refreshes access token given a valid refresh tokenUserConfigService.updateChallengeConfig
(String username, ChallengeConfigDTO challengeConfigDTO) Method will reset all challenge type configs.