Uses of Class
edu.ntnu.idatt2106_2023_06.backend.model.fridge.Fridge
Packages that use Fridge
Package
Description
-
Uses of Fridge in edu.ntnu.idatt2106_2023_06.backend.mapper
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper with parameters of type FridgeModifier and TypeMethodDescriptionstatic FridgeDTO
FridgeMapper.toFridgeLoadDTO
(Fridge fridge) This method converts a fridge to a fridgeDTO.static FridgeMember
FridgeMemberMapper.toFridgeMember
(User user, Fridge fridge, boolean isSuperUser) This method maps aUser
, aFridge
, and a boolean indicating whether the user is a superuser to aFridgeMember
.static Statistics
StatMapper.toStatistics
(StatAddItemToFridgeDTO statAddItemToFridgeDTO, User user, Fridge fridge, StatType statType) Converts StatAddItemToFridgeDTO to a Statistics model.static List<Statistics>
StatMapper.toStatistics
(StatDeleteFromFridgeDTO statDeleteFromFridgeDTO, User user, Fridge fridge, StatType statType1) Converts StatDeleteFromFridgeDTO to a list of Statistics models.Method parameters in edu.ntnu.idatt2106_2023_06.backend.mapper with type arguments of type FridgeModifier and TypeMethodDescriptionstatic FridgeLoadAllDTO
FridgeMapper.toFridgeLoadAllDTO
(List<Fridge> fridgeList) This method converts a list of fridges to fridgeLoadDTO. -
Uses of Fridge in edu.ntnu.idatt2106_2023_06.backend.repo.fridge
Methods in edu.ntnu.idatt2106_2023_06.backend.repo.fridge that return types with arguments of type FridgeModifier and TypeMethodDescriptionFridgeRepository.findByFridgeId
(Long fridgeId) Finds a fridge by its fridge ID.Methods in edu.ntnu.idatt2106_2023_06.backend.repo.fridge with parameters of type FridgeModifier and TypeMethodDescriptionFridgeItemsRepository.findByFridge
(Fridge fridge) Find FridgeItems by fridgeFridgeItemsRepository.findByItemAndFridge
(Item item, Fridge fridge) Find a FridgeItem by items and fridge -
Uses of Fridge in edu.ntnu.idatt2106_2023_06.backend.repo.item
Methods in edu.ntnu.idatt2106_2023_06.backend.repo.item with parameters of type FridgeModifier and TypeMethodDescriptionShoppingItemsRepository.findByFridge
(Fridge fridge) Find ShoppingItems by fridgeShoppingItemsRepository.findByItemAndFridgeAndSuggestion
(Item item, Fridge fridge, boolean suggestion) Find a ShoppingItem by items, fridge and suggestion -
Uses of Fridge in edu.ntnu.idatt2106_2023_06.backend.repo.recipe
Methods in edu.ntnu.idatt2106_2023_06.backend.repo.recipe with parameters of type Fridge