|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationDataArea
| Method Summary | ||
|---|---|---|
|
createList(String dataName)
Create a new list. |
|
|
createMap(String dataName)
Create a new map. |
|
ApplicationData |
deleteData(String dataName)
Delete the specified application data. |
|
boolean |
existsData(String dataName)
Check if a specified application data exists. |
|
String |
getApplicationName()
The application name. |
|
ApplicationData |
getData(String dataName)
Return the application data requested. |
|
List<String> |
getDataNames()
The list of data names. |
|
|
getList(String dataName)
If the ApplicationList with the specified name already exists this one is returned, otherwise a new one is created. |
|
|
getMap(String dataName)
If an ApplicationMap with the specified name already exists this one is returnes, otherwise a new one is created. |
|
| Method Detail |
|---|
String getApplicationName()
List<String> getDataNames()
ApplicationData getData(String dataName)
throws ApplicationDataNotFoundException,
InternalErrorException
dataName - the application data name.
InternalErrorException - if an error occurs.
ApplicationDataNotFoundException - if the ApplicationData specified don't exist.boolean existsData(String dataName)
dataName - the application data name.
true if the application data exist, false otherwise.
<E> ApplicationList<E> createList(String dataName)
throws InternalErrorException
E - the list item type.dataName - the list name.
InternalErrorException - if an error occurs.
<E> ApplicationList<E> getList(String dataName)
throws InternalErrorException
E - the list item type.dataName - the list name.
InternalErrorException - if an error occurs.
<K,V> ApplicationMap<K,V> createMap(String dataName)
throws InternalErrorException
K - the map key type.V - the map value type.dataName - the map name.
InternalErrorException - if an error occurs.
<K,V> ApplicationMap<K,V> getMap(String dataName)
throws InternalErrorException
K - the map key type.V - the map value type.dataName - the map name.
InternalErrorException - if an error occurs.
ApplicationData deleteData(String dataName)
throws InternalErrorException
dataName - the data name.
InternalErrorException - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||