Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.account.AccountUpdateDTO
Packages that use AccountUpdateDTO
Package
Description
-
Uses of AccountUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type AccountUpdateDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<AccountResponseDTO> AccountController.updateUserAccount
(AccountUpdateDTO accountUpdateDTO, org.springframework.security.core.userdetails.UserDetails userDetails) Updates a user's account -
Uses of AccountUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user that return AccountUpdateDTOModifier and TypeMethodDescriptionUserUpdateDTO.savingAccount()
Returns the value of thesavingAccount
record component.UserUpdateDTO.spendingAccount()
Returns the value of thespendingAccount
record component.Constructors in org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user with parameters of type AccountUpdateDTOModifierConstructorDescriptionUserUpdateDTO
(String firstName, String lastName, String password, String username, @Email(message="Ugyldig mail") String email, AccountUpdateDTO spendingAccount, AccountUpdateDTO savingAccount) Creates an instance of aUserUpdateDTO
record class. -
Uses of AccountUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.mapper with parameters of type AccountUpdateDTOModifier and TypeMethodDescriptionAccountMapper.updateEntity
(Account account, AccountUpdateDTO accountDTO) Updates account entity using a dto. -
Uses of AccountUpdateDTO in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type AccountUpdateDTOModifier and TypeMethodDescriptionAccountService.updateAccount
(AccountUpdateDTO accountUpdateDTO, User user) Updates an existing account of the specified user based on the provided update DTO.