Uses of Class
edu.ntnu.idatt2106_2023_06.backend.model.items.Item
Packages that use Item
Package
Description
-
Uses of Item in edu.ntnu.idatt2106_2023_06.backend.mapper
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper that return ItemMethods in edu.ntnu.idatt2106_2023_06.backend.mapper with parameters of type ItemModifier and TypeMethodDescriptionstatic ItemDTOstatic ShoppingListLoadDTOShoppingItemMapper.toShoppingListLoadDTO(Item item, int quantity, boolean suggestion) This method converts an Item object to a ShoppingListLoadDTO object. -
Uses of Item in edu.ntnu.idatt2106_2023_06.backend.mapper.recipe
Methods in edu.ntnu.idatt2106_2023_06.backend.mapper.recipe with parameters of type ItemModifier and TypeMethodDescriptionstatic ItemRecipeScoreItemRecipeScoreMapper.toItemRecipeScore(Item item, Recipe recipe, double score) -
Uses of Item in edu.ntnu.idatt2106_2023_06.backend.repo.fridge
Methods in edu.ntnu.idatt2106_2023_06.backend.repo.fridge with parameters of type ItemModifier and TypeMethodDescriptionFridgeItemsRepository.findByItemAndFridge(Item item, Fridge fridge) Find a FridgeItem by items and fridge -
Uses of Item in edu.ntnu.idatt2106_2023_06.backend.repo.item
Methods in edu.ntnu.idatt2106_2023_06.backend.repo.item that return types with arguments of type ItemModifier and TypeMethodDescriptionItemRepository.findByItemId(Long itemId) Finds an item by its items ID.ItemRepository.findByProductNameAndStore(String name, Store store) Finds an item by its item name and store.ItemRepository.findItemByEanAndStore_StoreName(String ean, String storeName) This method finds items with a given ean.ItemRepository.findItemByProductName(String productName) Finds an items by their product name.ItemRepository.findItemByProductNameAndStore_StoreName(String productName, String storeName) This method finds items with a given store name and product name.ItemRepository.findItemsByDescContainingIgnoreCase(String phrase) Finds a list of items whose brief description contains the given phrase, ignoring case.ItemRepository.findItemsByEan(String ean) This method finds items with a given ean.ItemRepository.findItemsByPriceBetween(double lowerBound, double upperBound) Finds items with prices between the given lower and upper bounds (inclusive).ItemRepository.findItemsByPriceGreaterThan(double price) Finds items with prices greater than the given price.ItemRepository.findItemsByPriceGreaterThanEqual(double price) Finds items with prices greater than or equal to the given price.ItemRepository.findItemsByPriceLessThan(double price) Finds a list of items whose price is less than the given price.ItemRepository.findItemsByPriceLessThanEqual(double price) Finds items with prices less than or equal to the given price.ItemRepository.findItemsByStore(Store store) Finds a list of items by their store.Methods in edu.ntnu.idatt2106_2023_06.backend.repo.item with parameters of type ItemModifier and TypeMethodDescriptionShoppingItemsRepository.findByItemAndFridgeAndSuggestion(Item item, Fridge fridge, boolean suggestion) Find a ShoppingItem by items, fridge and suggestion -
Uses of Item in edu.ntnu.idatt2106_2023_06.backend.service.items
Methods in edu.ntnu.idatt2106_2023_06.backend.service.items that return ItemModifier and TypeMethodDescriptionAdds an item to the item database.Methods in edu.ntnu.idatt2106_2023_06.backend.service.items with parameters of type ItemModifier and TypeMethodDescriptionItemRecipeScoreService.generateSingleScore(Item item, Recipe recipe) doubleItemRecipeScoreService.getScore(Item item, RecipeItems ingredient) -
Uses of Item in edu.ntnu.idatt2106_2023_06.backend.utils
Methods in edu.ntnu.idatt2106_2023_06.backend.utils that return Item