Class RestockReport

java.lang.Object
csce331.group13.project2.backend.RestockReport

public class RestockReport extends Object
Generates restock reports by identifying inventory items below a specified threshold.
Author:
Austin Glander, Kade Mertins
  • Constructor Details

    • RestockReport

      public RestockReport()
  • Method Details

    • getRestockItems

      public static List<RestockReport.RestockItem> getRestockItems(int minThreshold)
      Retrieves all inventory items with stock below the specified threshold. Results are sorted by stock quantity in ascending order.
      Parameters:
      minThreshold - The minimum stock threshold; items below this value are returned.
      Returns:
      A list of RestockItem objects representing items that need restocking.