-
The [newProduct] to be added to the inventory.
The [oldProduct] to be referenced.
The [selectedProduct] which will be modified by the user.
The [selectedProduct] to be modified.
private static final javafx.collections.ObservableList<Product>
The [observableArrayList] of products in the inventory.
private javafx.scene.control.TableView<Product>
The [columnProductId] which displays Inventory Products' Id.
Returns the selectedProduct, so it can be accessed on the modification screen.
Looks up a product given a productId and returns the result.
static javafx.collections.ObservableList<Product>
Returns the full list of product in the inventory
static javafx.collections.ObservableList<Product>
Looks up products given a productName and returns the result
static void
Adds a product to the allProducts list of the inventory.
static boolean
Takes an index value pointing to a product in the inventory to delete it and return true or false if successful
static void
Takes an index value pointing to a product in the inventory and updates it with the given newProduct