org.apache.wicket.protocol.http
Class SecondLevelCacheSessionStore.SecondLevelCachePageMap
java.lang.Object
org.apache.wicket.PageMap
org.apache.wicket.protocol.http.SecondLevelCacheSessionStore.SecondLevelCachePageMap
- All Implemented Interfaces:
- Serializable, IClusterable, IPageMap
- Enclosing class:
- SecondLevelCacheSessionStore
protected static final class SecondLevelCacheSessionStore.SecondLevelCachePageMap
- extends PageMap
Page map implementation for this session store.
- See Also:
- Serialized Form
Methods inherited from class org.apache.wicket.PageMap |
attributeForId, continueToOriginalDestination, dirty, forName, getEntry, getMetaData, getName, getSession, getSizeInBytes, isDefault, nextId, redirectToInterceptPage, redirectToInterceptPage, remove, remove, setMetaData, toString, visitEntries |
getLastPage
protected Page getLastPage()
setLastPage
protected void setLastPage(Page lastPage)
containsPage
public boolean containsPage(int id,
int versionNumber)
- Description copied from interface:
IPageMap
- Returns true if the PageMap contains page with given id and versonNumber
- Returns:
- true if the
PageMap
contains a page with the given id and versionNumber
get
public Page get(int id,
int versionNumber)
- Description copied from interface:
IPageMap
- Retrieves page with given id.
- Specified by:
get
in interface IPageMap
- Specified by:
get
in class PageMap
- Parameters:
id
- The page identifierversionNumber
- The version to get
- Returns:
- Any page having the given id
- See Also:
PageMap.get(int, int)
put
public void put(Page page)
- Specified by:
put
in interface IPageMap
- Specified by:
put
in class PageMap
- Parameters:
page
- The page to put into this map- See Also:
PageMap.put(org.apache.wicket.Page)
clear
public void clear()
- Description copied from interface:
IPageMap
- Removes all pages from this map
- Specified by:
clear
in interface IPageMap
- Overrides:
clear
in class PageMap
- See Also:
PageMap.clear()
removeEntry
public void removeEntry(IPageMapEntry entry)
- Specified by:
removeEntry
in interface IPageMap
- Specified by:
removeEntry
in class PageMap
- Parameters:
entry
- The entry to remove- See Also:
PageMap.removeEntry(org.apache.wicket.session.pagemap.IPageMapEntry)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.