| Constructor and Description |
|---|
CustomListData(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of this list.
|
String |
getValue(int key)
Returns the string value of the list data item with the given id with the default locale.
|
String |
getValue(int key,
Locale loc)
Returns the string value of the list data item with the given id in the given locale.
|
String |
getValue(String key)
Returns the string value for the list data item with the default locale.
|
String |
getValue(String key,
Locale loc)
Returns the string value of the list data item with the given id in the given locale.
|
List<ListItem> |
getValues()
Returns a list of ListItem for the default locale.
|
List<ListItem> |
getValues(Locale loc)
Returns a list of ListItem in the given locale.
|
abstract ListData |
load(Connection conn) |
void |
load(ConnectionHandler connHandler) |
void |
refresh(Connection conn) |
void |
refresh(ConnectionHandler connHandler) |
void |
run() |
int |
size()
Returns the size of this list.
|
void |
startAutoRefresh(ConnectionHandler connHandler,
long time) |
void |
stopAutoRefresh() |
public CustomListData(String name)
public void startAutoRefresh(ConnectionHandler connHandler, long time)
public void stopAutoRefresh()
public int size()
ListDatapublic String getValue(String key, Locale loc)
ListDatapublic String getValue(String key)
ListDatapublic String getValue(int key)
ListDatapublic String getValue(int key, Locale loc)
ListDatapublic List<ListItem> getValues(Locale loc)
ListDatapublic List<ListItem> getValues()
ListDatapublic String getName()
ListDatapublic void load(ConnectionHandler connHandler) throws SQLException
SQLExceptionpublic abstract ListData load(Connection conn) throws SQLException
SQLExceptionpublic void refresh(ConnectionHandler connHandler) throws SQLException
SQLExceptionpublic void refresh(Connection conn) throws SQLException
SQLExceptionCopyright © 2015. All Rights Reserved.