com.fruitioninc.jwc
Class ApplicationStateManager

java.lang.Object
  |
  +--com.fruitioninc.jwc.ApplicationStateManager

public class ApplicationStateManager
extends java.lang.Object

Moves state in and out of an application.


Field Summary
static java.lang.String PARAMETER_PAGE_NAME
           
 
Constructor Summary
ApplicationStateManager()
           
 
Method Summary
static void applyState(Application application, java.util.Map parameterMap)
          Applies parameters to the state of an application.
static Memento extractNonvisibleState(Application application)
          Extract the state of an application excluding state from the visible page.
static Memento extractState(Application application)
          Extract the state of an application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAMETER_PAGE_NAME

public static final java.lang.String PARAMETER_PAGE_NAME
See Also:
Constant Field Values
Constructor Detail

ApplicationStateManager

public ApplicationStateManager()
Method Detail

extractState

public static Memento extractState(Application application)
Extract the state of an application.


extractNonvisibleState

public static Memento extractNonvisibleState(Application application)
Extract the state of an application excluding state from the visible page.


applyState

public static void applyState(Application application,
                              java.util.Map parameterMap)
Applies parameters to the state of an application.