Uses of Class
com.xavierloeraflores.inventorymanagement.Product
-
Uses of Product in com.xavierloeraflores.inventorymanagement
Fields in com.xavierloeraflores.inventorymanagement declared as ProductModifier and TypeFieldDescriptionprivate Product
AddProductController.newProduct
The [newProduct] to be added to the inventory.private Product
ModifyProductController.oldProduct
The [oldProduct] to be referenced.private static Product
MainFormController.selectedProduct
The [selectedProduct] which will be modified by the user.private Product
ModifyProductController.selectedProduct
The [selectedProduct] to be modified.Fields in com.xavierloeraflores.inventorymanagement with type parameters of type ProductModifier and TypeFieldDescriptionprivate static final javafx.collections.ObservableList<Product>
Inventory.allProducts
The [observableArrayList] of products in the inventory.private javafx.scene.control.TableView<Product>
MainFormController.tableProduct
The [columnProductId] which displays Inventory Products' Id.Methods in com.xavierloeraflores.inventorymanagement that return ProductModifier and TypeMethodDescriptionstatic Product
MainFormController.getSelectedProduct()
Returns the selectedProduct, so it can be accessed on the modification screen.static Product
Inventory.lookupProduct
(int productId) Looks up a product given a productId and returns the result.Methods in com.xavierloeraflores.inventorymanagement that return types with arguments of type ProductModifier and TypeMethodDescriptionstatic javafx.collections.ObservableList<Product>
Inventory.getAllProducts()
Returns the full list of product in the inventorystatic javafx.collections.ObservableList<Product>
Inventory.lookupProduct
(String productName) Looks up products given a productName and returns the resultMethods in com.xavierloeraflores.inventorymanagement with parameters of type ProductModifier and TypeMethodDescriptionstatic void
Inventory.addProduct
(Product newProduct) Adds a product to the allProducts list of the inventory.static boolean
Inventory.deleteProduct
(Product selectedProduct) Takes an index value pointing to a product in the inventory to delete it and return true or false if successfulstatic void
Inventory.updateProduct
(int index, Product newProduct) Takes an index value pointing to a product in the inventory and updates it with the given newProduct