org.apache.wicket.page
Class PersistentPageManager.PersitentRequestAdapter

java.lang.Object
  extended by org.apache.wicket.page.RequestAdapter
      extended by org.apache.wicket.page.PersistentPageManager.PersitentRequestAdapter
Enclosing class:
PersistentPageManager

protected class PersistentPageManager.PersitentRequestAdapter
extends RequestAdapter

RequestAdapter for PersistentPageManager

Author:
Matej Knopp

Constructor Summary
PersistentPageManager.PersitentRequestAdapter(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(List<IManageablePage> touchedPages)
          Store the list of 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

PersistentPageManager.PersitentRequestAdapter

public PersistentPageManager.PersitentRequestAdapter(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(List<IManageablePage> touchedPages)
Description copied from class: RequestAdapter
Store the list of pages.

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


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