public interface TableDao
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(Table table)
Creates a new table.
|
int |
getTableCount()
Queries the persistence mechanism and returns the number of tables.
|
int |
getTableCount(int userId)
Queries the persistence mechanism and returns the number of tables owned by a user.
|
List<Table> |
getTableList()
Requests a List of ALL tables from the persistence mechanism.
|
List<Table> |
getTableList(int userId)
Requests a List of tables owned by a particular user from the persistence mechanism.
|
Table |
lookupTable(int tableId)
Looks up and retrieves a table from the persistence mechanism using the table id.
|
Table |
lookupTable(String checksum)
Looks up and retrieves a table from the persistence mechanism using the checksum value.
|
void |
toggleTableVisibility(Table table)
Toggles the table's visiblity attribute to in the persistence mechanism.
|
void |
updateTable(Table table)
Saves changes made to an existing table.
|
Table lookupTable(int tableId)
tableId - The id of the table we are trying to locate (will be unique for each table).Table lookupTable(String checksum)
checksum - The checksum of the table we are trying to locate (will be unique for each table).List<Table> getTableList()
List<Table> getTableList(int userId)
userId - The id of the user what owns the tables.int getTableCount()
int getTableCount(int userId)
userId - The id of the user that owns the tables.void toggleTableVisibility(Table table)
table - The table in the persistence mechanism.void createTable(Table table)
table - The table to be created.void updateTable(Table table)
table - The existing table with changes that needs to be saved.Copyright © 1999–2013 UCAR/Unidata. All rights reserved.