|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistenceHandler<T>
| Method Summary | |
|---|---|
void |
destroy()
Requires the destroy of the persistent resource. |
T |
getData()
The implementation to retrieve data from the persistence manager. |
void |
onDestroy()
When the item need no more to be persisted the refresh loop is closed and this method is invoked. |
void |
onLoad()
Automatically invoked by the library at instantiation of persistent items. |
void |
onRefresh()
The code to execute once the persistent object is refreshed. |
void |
setData(T data)
Sets the new data to persist. |
| Method Detail |
|---|
void onRefresh()
void onLoad()
void onDestroy()
void destroy()
T getData()
void setData(T data)
data -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||