public interface ApplicationDataArea
| Modifier and Type | Method and Description |
|---|---|
<E> ApplicationList<E> |
createList(String dataName)
Create a new list.
|
<K,V> ApplicationMap<K,V> |
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.
|
<E> ApplicationList<E> |
getList(String dataName)
If the ApplicationList with the specified name already exists this one is returned, otherwise a new one is created.
|
<K,V> ApplicationMap<K,V> |
getMap(String dataName)
If an ApplicationMap with the specified name already exists this one is returnes, otherwise a new one is created.
|
String getApplicationName()
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.Copyright © 2020. All Rights Reserved.