PageFlowStack Class

com.bea.wlw.netui.pageflow
PageFlowStack Class

public class PageFlowStack

    extends Stack
    implements HttpSessionBindingListener

Stack for keeping track of a series of nested page flows. When a nested page flow is entered, the previous page flow is pushed onto this stack, which is kept in the user session.


Hierarchy
Object
  AbstractCollection
    AbstractList
      Vector
        Stack
          PageFlowStack
All Implemented Interfaces

Cloneable, Collection, EventListener, HttpSessionBindingListener, List, RandomAccess, Serializable

Field Summary

   
Fields from  java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields from  java.util.AbstractList
modCount
 

Constructor Summary

PageFlowStack()

 

Method Summary

public int
search(, Class targetClass)
Returns the 1-based position where a PageFlowController with the same class is on this stack.
public void
valueBound(HttpSessionBindingEvent event)
public void
valueUnbound(HttpSessionBindingEvent event)
 
Methods from  java.util.Stack
empty, peek, pop, push, search
 
Methods from  java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods from  java.util.AbstractList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
 
Methods from  java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods from interface javax.servlet.http.HttpSessionBindingListener
valueBound, valueUnbound
 
Methods from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Constructor Detail

PageFlowStack

public PageFlowStack()
 

Method Detail

search(, Class) Method

public int search( , 
                  Class targetClass)
Returns the 1-based position where a PageFlowController with the same class is on this stack. This overloads the method Stack.search(Object o)

Returns

the 1-based position from the top of the stack where the object is located; the return value -1 indicates that the object is not on the stack.

valueBound(HttpSessionBindingEvent) Method

public void valueBound(HttpSessionBindingEvent event)

valueUnbound(HttpSessionBindingEvent) Method

public void valueUnbound(HttpSessionBindingEvent event)