com.tonbeller.wcf.pagestack
Class PageStack

java.lang.Object
  extended bycom.tonbeller.wcf.pagestack.PageStack

public class PageStack
extends java.lang.Object

Author:
av

Field Summary
static java.lang.String WEBKEY
           
 
Method Summary
 void clear()
           
static PageStack instance(javax.servlet.http.HttpSession session)
           
 java.util.Iterator iterator()
           
 Page peek(int n)
          returns the n-th Page.
 void setCurrentPage(Page page)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBKEY

public static final java.lang.String WEBKEY
See Also:
Constant Field Values
Method Detail

instance

public static PageStack instance(javax.servlet.http.HttpSession session)

setCurrentPage

public void setCurrentPage(Page page)

peek

public Page peek(int n)
returns the n-th Page.

Parameters:
n - nuber of pages back (0 = current page, 1 = previous page etc)
Returns:
null if n > number of pages, Page else.

iterator

public java.util.Iterator iterator()

clear

public void clear()