wicket.session.pagemap
Interface IPageMapEntry
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- AbstractPageMapEntry, AccessDeniedPage, AccessDeniedPortletPage, BrowserInfoPage, DummyHomePage, DummyPanelPage, ExceptionErrorPage, ExceptionErrorPortletPage, InternalErrorPage, InternalErrorPortletPage, Page, PageExpiredErrorPage, PageExpiredPortletPage, PopupCloseLink.ClosePopupPage, PortletPage, RedirectPage, WebPage
public interface IPageMapEntry
- extends java.io.Serializable
Some source which produces a page. Page implements IPageMapEntry by simply
returning "this", but other implementations are possible as well, allowing
users to create IPageMapEntry implementations that reconstruct full blown
Page objects from a limited set of data (for example, a details page from an
id). The advantage of doing this is that you can save session memory (by
trading off against the processing power required to reconstruct the page).
- Author:
- Jonathan Locke
- See Also:
AbstractPageMapEntry
getNumericId
int getNumericId()
- Returns:
- A stable identifier for this page map entry
getPage
Page getPage()
- Returns:
- Gets the page, possibly creating it on the fly.
getPageClass
java.lang.Class getPageClass()
- Returns:
- The class of page stored in this page map entry (which can be
used by an eviction strategy to prioritize evictions)
setNumericId
void setNumericId(int id)
- Parameters:
id - The numeric id for this entry
Copyright © 2004-2007 Wicket developers. All Rights Reserved.