public static boolean addItemToDatabase( String name, String barcode, String description, long quantity, String location, String setName) { return itemDatabase.addEntry(barcode, name, setName, description, quantity, location); }
public static boolean addItemToDatabase( String name, String barcode, String type, String tagno, String set, String state) { return itemDatabase.addEntry(barcode, name, set, state, tagno, type); }
/** * Add barcode product to the database given their name, barcode and price * * @param name The name of the product you wish to add * @param barcode The barcode for the product you wish to add. */ public static boolean addItemToDatabase(String barcode, String name) { return itemDatabase.addEntry(barcode, name); }