|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.page.PageManagerDecorator
public class PageManagerDecorator
Decorator for IPageManager
Constructor Summary | |
---|---|
PageManagerDecorator(IPageManager delegate)
Constructor |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageManagerDecorator(IPageManager delegate)
delegate
- Method Detail |
---|
public IPageManagerContext getContext()
getContext
in interface IPageManager
public IManageablePage getPage(int id)
getPage
in interface IPageManager
id
- the id of the page to load
null
public void touchPage(IManageablePage page)
Note:Only stateful pages are stored.
touchPage
in interface IPageManager
page
- the page that should be stored in the page stores at the end of the request.public boolean supportsVersioning()
supportsVersioning
in interface IPageManager
public void commitRequest()
commitRequest
in interface IPageManager
public void newSessionCreated()
newSessionCreated
in interface IPageManager
public void sessionExpired(String sessionId)
sessionExpired
in interface IPageManager
sessionId
- the id of the expired sessionpublic void destroy()
destroy
in interface IPageManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |