Uses of Record Class
edu.ntnu.idatt2106_2023_06.backend.dto.stat.StatAddItemToFridgeDTO
Packages that use StatAddItemToFridgeDTO
Package
Description
-
Uses of StatAddItemToFridgeDTO in edu.ntnu.idatt2106_2023_06.backend.controller
Methods in edu.ntnu.idatt2106_2023_06.backend.controller with parameters of type StatAddItemToFridgeDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
StatController.statBoughtItem
(StatAddItemToFridgeDTO statAddItemToFridgeDTO, org.springframework.security.core.Authentication authentication) Adds a new stat to the database. -
Uses of StatAddItemToFridgeDTO in edu.ntnu.idatt2106_2023_06.backend.mapper
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper with parameters of type StatAddItemToFridgeDTOModifier and TypeMethodDescriptionstatic Statistics
StatMapper.toStatistics
(StatAddItemToFridgeDTO statAddItemToFridgeDTO, User user, Fridge fridge, StatType statType) Converts StatAddItemToFridgeDTO to a Statistics model. -
Uses of StatAddItemToFridgeDTO in edu.ntnu.idatt2106_2023_06.backend.service.stat
Methods in edu.ntnu.idatt2106_2023_06.backend.service.stat with parameters of type StatAddItemToFridgeDTOModifier and TypeMethodDescriptionvoid
IStatService.statAddItemToFridge
(StatAddItemToFridgeDTO statAddItemToFridgeDTO) void
StatService.statAddItemToFridge
(StatAddItemToFridgeDTO statAddItemToFridgeDTO) Adds a new statistic to the database.