|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDataStore
Data stores are used to persist (read & write) Wicket page data to a persistent store like e.g. files or databases.
IPageStore
Method Summary | |
---|---|
void |
destroy()
Properly close the data store and possibly open resource handles |
byte[] |
getData(String sessionId,
int id)
Get data associated with the session id and page id. |
boolean |
isReplicated()
|
void |
removeData(String sessionId)
Remove all page data for the session id |
void |
removeData(String sessionId,
int id)
Remove all persisted data related to the session id and page id |
void |
storeData(String sessionId,
int id,
byte[] data)
Store the page data |
Method Detail |
---|
byte[] getData(String sessionId, int id)
sessionId
- Session IDid
- Page ID
void removeData(String sessionId, int id)
sessionId
- Session IDid
- Page IDvoid removeData(String sessionId)
sessionId
- Session IDvoid storeData(String sessionId, int id, byte[] data)
sessionId
- Session IDid
- Page IDdata
- Page datavoid destroy()
boolean isReplicated()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |