/** * Alter a product in the database * * @param name The new name of the product * @param oldName The old name of the product * @param barcode The new barcode of the product * @param oldBarcode The old barcode of the product */ public static void changeDatabaseProduct( String name, String oldName, String barcode, String oldBarcode) { itemDatabase.changeItem(name, barcode, oldBarcode); }