org.apache.wicket.session.pagemap
Interface IPageMapEntry
- All Superinterfaces:
- IClusterable, java.io.Serializable
- All Known Implementing Classes:
- AbstractPageMapEntry, AccessDeniedPage, AdminAnnotationsBookmarkablePage, AdminAnnotationsInternalPage, AdminBookmarkablePage, AdminInternalPage, AdminPage, AjaxDataTablePage, AlternativePageFromWebContext, AnnotationsPanelsPage, AnnotPage, AuthenticatedWebPage, AuthenticatedWebPage, AutoCompletePage, BasePage, BasePage, BasePage, BasePage, BasePage, BaseTreePage, BodyFrame, BookDetails, BookDetails, BookmarkablePage, BookmarkablePageLinkPage, BorderPage, BrowserInfoPage, ButtonPage, Captcha, CheckBoxMultipleChoicePage, CheckBoxPage, CheckGroupPage, ChoicePage, ClockPage, ContactsDisplayPage, DataGridPage, DataTablePage, DatesPage, DirectPage, DropDownChoicePage, DummyHomePage, DummyPanelPage, DynamicPage, Echo, EditableLabelPage, EditableTreeTablePage, EditBook, EditPage, EffectsPage, EmailPage, ExamplePage, ExceptionErrorPage, ExternalLinkPage, FormInput, FormPage, FormPage, FormPage, FragmentPage, GridViewPage, Guess, GuestBook, GuestBook, HangmanPage, HeaderPage, HelloBrowser, HelloWorld, Home, Home, Home, Home, Home, Home, Home, Home, Home, Home, Home, Home, Home, Home, HomePage, HomePage, HomePage, IncludePage, Index, Index, Index, Index, Index, Index, Index, Index, Index, Index, InspectorPage, InternalErrorPage, LabelPage, LazyLoadingPage, LeftFrame, LinkPage, LinksPage, ListChoicePage, ListMultipleChoicePage, LiveSessionsPage, Lose, MenuPage, ModalContent1Page, ModalContent2Page, ModalWindowPage, MultiLineLabelPage, MultiUploadPage, MySignInPage, MySignOutPage, NonBookmarkablePage, OIRPage, OnChangeAjaxBehaviorPage, Page, Page, Page1, Page1, Page1, Page1, Page1, Page1, Page2, Page2, Page2, Page2, Page2, Page2, Page2QP, Page3, Page3, Page3, Page4, Page5, PageablesPage, PageExpiredErrorPage, PageFromWebContext, PageLinkPage, PageWithCustomLoading, PagingPage, PalettePage, PanelPage, PanelsPage, Popup, PopupCloseLink.ClosePopupPage, ProxyPage, RadioChoicePage, RadioGroupPage, RatingsPage, RedirectPage, RefreshingPage, RepeatingPage, RequestsPage, SelectPage, Sent, SignIn, SignIn, SignIn2, SignInPage, SignOut, SignOutPage, SimplePage, SimpleTreePage, SortingPage, SourcesPage, StatefulPage, StatelessPage, StockQuotePage, SubmitLinkPage, TabbedPanelPage, TabbedPanelPage, TemplatePage, TemplatePage, TextAreaPage, TextFieldPage, TodoList, TopFrame, TreeTablePage, UnicodeConverter, UploadPage, WebPage, WicketExamplePage, Win, WizardPage, WorldClockPage, XmlPage
public interface IPageMapEntry
- extends IClusterable
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-2010 Apache Software Foundation. All Rights Reserved.