|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.page.RequestAdapter
public abstract class RequestAdapter
Request scoped helper class for IPageManager.
| Constructor Summary | |
|---|---|
RequestAdapter(IPageManagerContext context)
Construct. |
|
| Method Summary | |
|---|---|
protected void |
bind()
Bind the session |
protected void |
commitRequest()
|
protected IManageablePage |
findPage(int id)
|
protected abstract IManageablePage |
getPage(int id)
Returns the page with specified id. |
Serializable |
getSessionAttribute(String key)
|
String |
getSessionId()
|
protected abstract void |
newSessionCreated()
Notification on new session being created. |
void |
setSessionAttribute(String key,
Serializable value)
|
protected abstract void |
storeTouchedPages(List<IManageablePage> touchedPages)
Store the list of stateful pages. |
protected void |
touch(IManageablePage page)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RequestAdapter(IPageManagerContext context)
context - The page manager context| Method Detail |
|---|
protected abstract IManageablePage getPage(int id)
RequestAdapter during
the rest of request processing.
id -
null if the page does not exist.protected abstract void storeTouchedPages(List<IManageablePage> touchedPages)
touchedPages - protected abstract void newSessionCreated()
protected void bind()
IPageManagerContext.bind()
public void setSessionAttribute(String key,
Serializable value)
key - value - IPageManagerContext.setSessionAttribute(String, Serializable)public Serializable getSessionAttribute(String key)
key -
IPageManagerContext.getSessionAttribute(String)public String getSessionId()
IPageManagerContext.getSessionId()protected IManageablePage findPage(int id)
id -
protected void touch(IManageablePage page)
page - protected void commitRequest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||