Uses of Record Class
edu.ntnu.idatt2106_2023_06.backend.dto.fridge.FridgeDTO
Packages that use FridgeDTO
Package
Description
-
Uses of FridgeDTO in edu.ntnu.idatt2106_2023_06.backend.controller
Methods in edu.ntnu.idatt2106_2023_06.backend.controller with parameters of type FridgeDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
FridgeController.updateFridgeName
(FridgeDTO fridgeDTO, org.springframework.security.core.Authentication authentication) This endpoint serves to update the fridge name. -
Uses of FridgeDTO in edu.ntnu.idatt2106_2023_06.backend.dto.fridge
Methods in edu.ntnu.idatt2106_2023_06.backend.dto.fridge that return types with arguments of type FridgeDTOModifier and TypeMethodDescriptionFridgeLoadAllDTO.fridgeDTOS()
Returns the value of thefridgeDTOS
record component.Constructor parameters in edu.ntnu.idatt2106_2023_06.backend.dto.fridge with type arguments of type FridgeDTOModifierConstructorDescriptionFridgeLoadAllDTO
(@NonNull List<FridgeDTO> fridgeDTOS) Creates an instance of aFridgeLoadAllDTO
record class. -
Uses of FridgeDTO in edu.ntnu.idatt2106_2023_06.backend.mapper
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper that return FridgeDTOModifier and TypeMethodDescriptionstatic FridgeDTO
FridgeMapper.toFridgeLoadDTO
(Fridge fridge) This method converts a fridge to a fridgeDTO. -
Uses of FridgeDTO in edu.ntnu.idatt2106_2023_06.backend.service.fridge
Methods in edu.ntnu.idatt2106_2023_06.backend.service.fridge with parameters of type FridgeDTOModifier and TypeMethodDescriptionvoid
FridgeService.updateFridgeName
(FridgeDTO fridgeDTO, String userTryingToUpdate) This method updates fridge's name.