org.apache.wicket.protocol.http
Class SecondLevelCacheSessionStore.SecondLevelCachePageMap

java.lang.Object
  extended by org.apache.wicket.PageMap
      extended by 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

Field Summary
 
Fields inherited from class org.apache.wicket.PageMap
DEFAULT_NAME
 
Method Summary
 void clear()
          Removes all pages from this map
 boolean containsPage(int id, int versionNumber)
          Returns true if the PageMap contains page with given id and versonNumber
 Page get(int id, int versionNumber)
          Retrieves page with given id.
protected  Page getLastPage()
           
 void put(Page page)
           
 void removeEntry(IPageMapEntry entry)
           
protected  void setLastPage(Page lastPage)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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 identifier
versionNumber - 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.