org.rcfaces.core.util
Class ViewSessionPatchStateManager

java.lang.Object
  extended by javax.faces.application.StateManager
      extended by org.rcfaces.core.util.ViewSessionPatchStateManager

public class ViewSessionPatchStateManager
extends StateManager

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:42 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.faces.application.StateManager
StateManager.SerializedView
 
Field Summary
 
Fields inherited from class javax.faces.application.StateManager
STATE_SAVING_METHOD_CLIENT, STATE_SAVING_METHOD_PARAM_NAME, STATE_SAVING_METHOD_SERVER
 
Constructor Summary
ViewSessionPatchStateManager(StateManager stateManager)
           
 
Method Summary
protected  Object getComponentStateToSave(FacesContext context)
           
protected  Object getTreeStructureToSave(FacesContext context)
           
protected  void restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
           
protected  UIViewRoot restoreTreeStructure(FacesContext context, String viewId, String renderKitId)
           
 UIViewRoot restoreView(FacesContext context, String viewId, String renderKitId)
           
 StateManager.SerializedView saveSerializedView(FacesContext context)
           
 void writeState(FacesContext context, StateManager.SerializedView state)
           
 
Methods inherited from class javax.faces.application.StateManager
isSavingStateInClient, saveView, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewSessionPatchStateManager

public ViewSessionPatchStateManager(StateManager stateManager)
Method Detail

saveSerializedView

public StateManager.SerializedView saveSerializedView(FacesContext context)
Overrides:
saveSerializedView in class StateManager

writeState

public void writeState(FacesContext context,
                       StateManager.SerializedView state)
                throws IOException
Overrides:
writeState in class StateManager
Throws:
IOException

restoreView

public UIViewRoot restoreView(FacesContext context,
                              String viewId,
                              String renderKitId)
Specified by:
restoreView in class StateManager

getTreeStructureToSave

protected Object getTreeStructureToSave(FacesContext context)
Overrides:
getTreeStructureToSave in class StateManager

getComponentStateToSave

protected Object getComponentStateToSave(FacesContext context)
Overrides:
getComponentStateToSave in class StateManager

restoreTreeStructure

protected UIViewRoot restoreTreeStructure(FacesContext context,
                                          String viewId,
                                          String renderKitId)
Overrides:
restoreTreeStructure in class StateManager

restoreComponentState

protected void restoreComponentState(FacesContext context,
                                     UIViewRoot viewRoot,
                                     String renderKitId)
Overrides:
restoreComponentState in class StateManager


Copyright © 2006-2011 Vedana. All Rights Reserved.