|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.list.CustomListData
public abstract class CustomListData
| Constructor Summary | |
|---|---|
CustomListData(String name)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomListData(String name)
| Method Detail |
|---|
public void startAutoRefresh(ConnectionHandler connHandler,
long time)
public void stopAutoRefresh()
public void run()
run in interface Runnablepublic int size()
ListData
size in interface ListData
public String getValue(String key,
Locale loc)
ListData
getValue in interface ListDatakey - The id of the list data item.loc - The locale of the list data item.
public String getValue(String key)
ListData
getValue in interface ListDatapublic String getValue(int key)
ListData
getValue in interface ListDatakey - The id of the list data item
public String getValue(int key,
Locale loc)
ListData
getValue in interface ListDatakey - The id of the list data item.loc - The locale of the list data item.
public List<ListItem> getValues(Locale loc)
ListData
getValues in interface ListDataloc - The locale of the ListItems.
public List<ListItem> getValues()
ListData
getValues in interface ListDatapublic String getName()
ListData
getName in interface ListData
public void load(ConnectionHandler connHandler)
throws SQLException
SQLException
public abstract ListData load(Connection conn)
throws SQLException
SQLException
public void refresh(ConnectionHandler connHandler)
throws SQLException
SQLException
public void refresh(Connection conn)
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||