Uses of Class
com.xavierloeraflores.inventorymanagement.Product
-
Uses of Product in com.xavierloeraflores.inventorymanagement
Fields in com.xavierloeraflores.inventorymanagement declared as ProductModifier and TypeFieldDescriptionprivate ProductAddProductController.newProductThe [newProduct] to be added to the inventory.private ProductModifyProductController.oldProductThe [oldProduct] to be referenced.private static ProductMainFormController.selectedProductThe [selectedProduct] which will be modified by the user.private ProductModifyProductController.selectedProductThe [selectedProduct] to be modified.Fields in com.xavierloeraflores.inventorymanagement with type parameters of type ProductModifier and TypeFieldDescriptionprivate static final javafx.collections.ObservableList<Product>Inventory.allProductsThe [observableArrayList] of products in the inventory.private javafx.scene.control.TableView<Product>MainFormController.tableProductThe [columnProductId] which displays Inventory Products' Id.Methods in com.xavierloeraflores.inventorymanagement that return ProductModifier and TypeMethodDescriptionstatic ProductMainFormController.getSelectedProduct()Returns the selectedProduct, so it can be accessed on the modification screen.static ProductInventory.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 voidInventory.addProduct(Product newProduct) Adds a product to the allProducts list of the inventory.static booleanInventory.deleteProduct(Product selectedProduct) Takes an index value pointing to a product in the inventory to delete it and return true or false if successfulstatic voidInventory.updateProduct(int index, Product newProduct) Takes an index value pointing to a product in the inventory and updates it with the given newProduct