Spring Web Flow

org.springframework.faces.webflow
Class FlowStateManager

java.lang.Object
  extended by javax.faces.application.StateManager
      extended by javax.faces.application.StateManagerWrapper
          extended by org.springframework.faces.webflow.FlowStateManager
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.application.StateManager>

public class FlowStateManager
extends javax.faces.application.StateManagerWrapper

Custom StateManager that manages ensures web flow's state is always stored server side.

Since:
2.4
Author:
Jeremy Grelle, Rossen Stoyanchev, Phillip Webb

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.faces.application.StateManager
javax.faces.application.StateManager.SerializedView
 
Field Summary
 
Fields inherited from class javax.faces.application.StateManager
FULL_STATE_SAVING_VIEW_IDS_PARAM_NAME, IS_BUILDING_INITIAL_STATE, IS_SAVING_STATE, PARTIAL_STATE_SAVING_PARAM_NAME, STATE_SAVING_METHOD_CLIENT, STATE_SAVING_METHOD_PARAM_NAME, STATE_SAVING_METHOD_SERVER
 
Constructor Summary
FlowStateManager(javax.faces.application.StateManager wrapped)
           
 
Method Summary
 javax.faces.application.StateManager getWrapped()
           
 boolean isSavingStateInClient(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.application.StateManagerWrapper
getComponentStateToSave, getTreeStructureToSave, getViewState, restoreComponentState, restoreTreeStructure, restoreView, saveSerializedView, saveView, writeState, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowStateManager

public FlowStateManager(javax.faces.application.StateManager wrapped)
Method Detail

getWrapped

public javax.faces.application.StateManager getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.StateManager>
Overrides:
getWrapped in class javax.faces.application.StateManagerWrapper

isSavingStateInClient

public boolean isSavingStateInClient(javax.faces.context.FacesContext context)
Overrides:
isSavingStateInClient in class javax.faces.application.StateManagerWrapper

Spring Web Flow