org.apache.wicket.page
Class PageStoreManager.PersistentRequestAdapter

java.lang.Object
  extended by org.apache.wicket.page.RequestAdapter
      extended by org.apache.wicket.page.PageStoreManager.PersistentRequestAdapter
Enclosing class:
PageStoreManager

protected class PageStoreManager.PersistentRequestAdapter
extends RequestAdapter

RequestAdapter for PageStoreManager

Author:
Matej Knopp

Constructor Summary
PageStoreManager.PersistentRequestAdapter(IPageManagerContext context)
          Construct.
 
Method Summary
protected  IManageablePage getPage(int id)
          Returns the page with specified id.
protected  void newSessionCreated()
          Notification on new session being created.
protected  void storeTouchedPages(java.util.List<IManageablePage> touchedPages)
          Store the list of stateful pages.
 
Methods inherited from class org.apache.wicket.page.RequestAdapter
bind, commitRequest, getSessionAttribute, getSessionId, setSessionAttribute, touch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageStoreManager.PersistentRequestAdapter

public PageStoreManager.PersistentRequestAdapter(IPageManagerContext context)
Construct.

Parameters:
context -
Method Detail

getPage

protected IManageablePage getPage(int id)
Description copied from class: RequestAdapter
Returns the page with specified id. The page is then cached by RequestAdapter during the rest of request processing.

Specified by:
getPage in class RequestAdapter
Returns:
page instance or null if the page does not exist.
See Also:
RequestAdapter.getPage(int)

newSessionCreated

protected void newSessionCreated()
Description copied from class: RequestAdapter
Notification on new session being created.

Specified by:
newSessionCreated in class RequestAdapter
See Also:
RequestAdapter.newSessionCreated()

storeTouchedPages

protected void storeTouchedPages(java.util.List<IManageablePage> touchedPages)
Description copied from class: RequestAdapter
Store the list of stateful pages.

Specified by:
storeTouchedPages in class RequestAdapter
See Also:
RequestAdapter.storeTouchedPages(java.util.List)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.