Uses of Class
csce331.group13.project2.models.InventoryItem
Packages that use InventoryItem
-
Uses of InventoryItem in csce331.group13.project2.backend
Fields in csce331.group13.project2.backend with type parameters of type InventoryItemMethods in csce331.group13.project2.backend that return types with arguments of type InventoryItemModifier and TypeMethodDescriptionstatic List<InventoryItem> InventorySQL.getAllInventoryItems()Retrieves all inventory items from the database.static Optional<InventoryItem> InventorySQL.getInventoryItemById(UUID itemId) Retrieves an inventory item by its unique identifier.Menu.getInventoryItemsForMenuItem(UUID menuItemId) Retrieves all inventory items associated with a specific menu item.Methods in csce331.group13.project2.backend with parameters of type InventoryItemModifier and TypeMethodDescriptionbooleanInventory.addInventoryItem(InventoryItem inventoryItem) Adds a new inventory item to both the database and the in-memory cache.static booleanInventorySQL.addInventoryItem(InventoryItem item) Adds a new inventory item to the database.booleanInventory.updateInventoryItem(InventoryItem inventoryItem) Updates an existing inventory item in the database.static booleanInventorySQL.updateInventoryItem(InventoryItem item) Updates an existing inventory item in the database.Method parameters in csce331.group13.project2.backend with type arguments of type InventoryItemModifier and TypeMethodDescriptionvoidMenu.addMenuItemWithInventory(MenuItem menuItem, List<InventoryItem> inventoryItems, List<BigDecimal> quantities) Adds a new menu item along with its inventory relationships.voidMenu.updateMenuItemWithInventory(MenuItem menuItem, List<InventoryItem> inventoryItems, List<BigDecimal> quantities) Updates a menu item and its inventory relationships.