|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPageManager
Page manager.
| Method Summary | |
|---|---|
void |
commitRequest()
Commits the changes to external storage if the manager uses it. |
void |
destroy()
Destroy the page manager. |
IPageManagerContext |
getContext()
|
IManageablePage |
getPage(int id)
Retrieve page instance with given id. |
void |
newSessionCreated()
Invoked when new session has been created. |
void |
sessionExpired(String sessionId)
Invoked when the session has been expired. |
boolean |
supportsVersioning()
Returns whether this manager supports versioning. |
void |
touchPage(IManageablePage page)
Marks page as changed. |
| Method Detail |
|---|
IPageManagerContext getContext()
IManageablePage getPage(int id)
throws CouldNotLockPageException
id - the id of the page to load
null
CouldNotLockPageException - if the page is already locked by another thread
and the lock cannot be acquired for some timeout
void touchPage(IManageablePage page)
throws CouldNotLockPageException
Note:Only stateful pages are stored.
page - the page that should be stored in the page stores at the end of the request.
CouldNotLockPageException - if the page is already locked by another thread
and the lock cannot be acquired for some timeoutboolean supportsVersioning()
void commitRequest()
void newSessionCreated()
void sessionExpired(String sessionId)
sessionId - the id of the expired sessionvoid destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||