Uses of Record Class
edu.ntnu.idatt2106_2023_06.backend.dto.items.ItemDTO
Packages that use ItemDTO
Package
Description
-
Uses of ItemDTO in edu.ntnu.idatt2106_2023_06.backend.controller
Methods in edu.ntnu.idatt2106_2023_06.backend.controller with parameters of type ItemDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
FridgeItemsController.addToFridge
(ItemDTO itemDTO, Long fridgeId) Adds an item to the fridge.org.springframework.http.ResponseEntity<Object>
IFridgeItemsController.addToFridge
(ItemDTO itemDTO, Long fridgeId) Adds an item to the fridge.org.springframework.http.ResponseEntity<Object>
IShoppingItemsController.addToShoppingList
(ItemDTO itemDTO, Long fridgeId, boolean suggestion, org.springframework.security.core.Authentication authentication) Adds items to the shopping list for a given fridge.org.springframework.http.ResponseEntity<Object>
ShoppingItemsController.addToShoppingList
(ItemDTO itemDTO, Long fridgeId, boolean suggestion, org.springframework.security.core.Authentication authentication) Adds items to the shopping list for a given fridge. -
Uses of ItemDTO in edu.ntnu.idatt2106_2023_06.backend.mapper
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper that return ItemDTOMethods in edu.ntnu.idatt2106_2023_06.backend.mapper with parameters of type ItemDTO -
Uses of ItemDTO in edu.ntnu.idatt2106_2023_06.backend.service.items
Methods in edu.ntnu.idatt2106_2023_06.backend.service.items with parameters of type ItemDTOModifier and TypeMethodDescriptionAdds an item to the item database.void
IItemService.addToFridge
(ItemDTO itemDTO, Long fridgeId) void
ItemService.addToFridge
(ItemDTO itemDTO, Long fridgeId) Adds an item to the fridge.void
IItemService.addToShoppingList
(ItemDTO item, Long fridgeId, boolean suggestion) void
ItemService.addToShoppingList
(ItemDTO itemDTO, Long fridgeId, boolean suggestion) Adds an item to the shopping list for the specified fridge.