@ThreadSafe public final class StoreTable extends Object
Modifier and Type | Field and Description |
---|---|
static String |
tableName
The name of the table, which is "store_wap".
|
Constructor and Description |
---|
StoreTable(VOWicket vApp)
Contructs a StoreTable for use under the Wicket web interface.
|
StoreTable(WAP wap)
Contructs a StoreTable for use in a web API.
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete(String client,
String key,
String value)
Removes a given value from the table if it is stored there.
|
String |
get(String client,
String key)
Returns the specified value from the table, or null if none is stored.
|
void |
put(String client,
String key,
String value)
Stores a value in the table.
|
public static final String tableName
public StoreTable(VOWicket vApp) throws SQLException
SQLException
public StoreTable(WAP wap) throws SQLException
SQLException
public boolean delete(String client, String key, String value) throws SQLException
SQLException
public String get(String client, String key) throws SQLException
public void put(String client, String key, String value) throws SQLException