public class TableControl
extends java.lang.Object
Constructor and Description |
---|
TableControl() |
Modifier and Type | Method and Description |
---|---|
static int |
addTable()
Adds a new table to the database.
|
static java.util.ArrayList[] |
getTables()
Pulls the table data from the database and returns it to be displayed on the user interface.
|
static int |
updateStatus(int tableID,
java.lang.String status)
Updates the status of the table based on id of table chosen.
|
public static java.util.ArrayList[] getTables()
public static int updateStatus(int tableID, java.lang.String status)
tableID
- status
- public static int addTable()