javax.faces.application
Class StateManager

java.lang.Object
  extended by javax.faces.application.StateManager
Direct Known Subclasses:
StateManagerWrapper

public abstract class StateManager
extends java.lang.Object

see Javadoc of JSF Specification

Version:
$Revision: 512227 $ $Date: 2007-02-27 13:25:16 +0100 (Di, 27 Feb 2007) $
Author:
Manfred Geiler (latest modification by $Author: mbr $), Stan Silvert

Nested Class Summary
 class StateManager.SerializedView
          Deprecated.  
 
Field Summary
static java.lang.String STATE_SAVING_METHOD_CLIENT
           
static java.lang.String STATE_SAVING_METHOD_PARAM_NAME
           
static java.lang.String STATE_SAVING_METHOD_SERVER
           
 
Constructor Summary
StateManager()
           
 
Method Summary
protected  java.lang.Object getComponentStateToSave(FacesContext context)
          Deprecated.  
protected  java.lang.Object getTreeStructureToSave(FacesContext context)
          Deprecated.  
 boolean isSavingStateInClient(FacesContext context)
           
protected  void restoreComponentState(FacesContext context, UIViewRoot viewRoot, java.lang.String renderKitId)
          Deprecated.  
protected  UIViewRoot restoreTreeStructure(FacesContext context, java.lang.String viewId, java.lang.String renderKitId)
          Deprecated.  
abstract  UIViewRoot restoreView(FacesContext context, java.lang.String viewId, java.lang.String renderKitId)
           
 StateManager.SerializedView saveSerializedView(FacesContext context)
          Deprecated.  
 java.lang.Object saveView(FacesContext context)
           
 void writeState(FacesContext context, java.lang.Object state)
           
 void writeState(FacesContext context, StateManager.SerializedView state)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STATE_SAVING_METHOD_PARAM_NAME

public static final java.lang.String STATE_SAVING_METHOD_PARAM_NAME
See Also:
Constant Field Values

STATE_SAVING_METHOD_CLIENT

public static final java.lang.String STATE_SAVING_METHOD_CLIENT
See Also:
Constant Field Values

STATE_SAVING_METHOD_SERVER

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

StateManager

public StateManager()
Method Detail

saveSerializedView

public StateManager.SerializedView saveSerializedView(FacesContext context)
Deprecated. 


saveView

public java.lang.Object saveView(FacesContext context)
Since:
1.2

getTreeStructureToSave

protected java.lang.Object getTreeStructureToSave(FacesContext context)
Deprecated. 


getComponentStateToSave

protected java.lang.Object getComponentStateToSave(FacesContext context)
Deprecated. 


writeState

public void writeState(FacesContext context,
                       StateManager.SerializedView state)
                throws java.io.IOException
Deprecated. 

Throws:
java.io.IOException

writeState

public void writeState(FacesContext context,
                       java.lang.Object state)
                throws java.io.IOException
Throws:
java.io.IOException
Since:
1.2

restoreView

public abstract UIViewRoot restoreView(FacesContext context,
                                       java.lang.String viewId,
                                       java.lang.String renderKitId)

restoreTreeStructure

protected UIViewRoot restoreTreeStructure(FacesContext context,
                                          java.lang.String viewId,
                                          java.lang.String renderKitId)
Deprecated. 


restoreComponentState

protected void restoreComponentState(FacesContext context,
                                     UIViewRoot viewRoot,
                                     java.lang.String renderKitId)
Deprecated. 


isSavingStateInClient

public boolean isSavingStateInClient(FacesContext context)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.