|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IApplicationData
Interface for application data. This interface contains methods for application data access.
| Method Summary | ||
|---|---|---|
|
createFromTemplate(String name)
Creates a SpatialObject (or its specialization) from a template. |
|
ObjectFrame |
getFrame(String framePath)
Gets a persistent frame with the given path. |
|
IProcessData |
getProcessData(String id)
Requests the process data object with the given identifier from the data source. |
|
void |
save()
Saves all changes to the application data in the data source. |
|
ObjectFrame |
tryGetFrame(String framePath)
Gets a persistent frame with the given path. |
|
IProcessData |
tryGetProcessData(String id)
Requests the process data object with the given identifier from the data source. |
|
| Method Detail |
|---|
<T extends SpatialObject> T createFromTemplate(String name)
SpatialObject (or its specialization) from a template.
T - the specialization of the SpatialObjectname - the name of the requested template.
PersistenceException - if the template name was not foundObjectFrame getFrame(String framePath)
framePath - the path of the requested frame.
PersistenceException - if the frame was not foundObjectFrame tryGetFrame(String framePath)
framePath - the path of the requested frame.
null if the frame was not found.IProcessData getProcessData(String id)
id - the identifier of the requested process data object.
PersistenceException - if the process data identifier was not found.IProcessData tryGetProcessData(String id)
id - the identifier of the requested process data object.
null if the
process data object was not found.void save()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||