javax.faces.application

Class StateManager

public abstract class StateManager extends Object

Version: $Revision: 220121 $ $Date: 2005-07-21 17:58:42 +0200 (Thu, 21 Jul 2005) $

Author: Manfred Geiler (latest modification by $Author: bdudney $)

Nested Class Summary
classStateManager.SerializedView
Field Summary
static StringSTATE_SAVING_METHOD_CLIENT
static StringSTATE_SAVING_METHOD_PARAM_NAME
static StringSTATE_SAVING_METHOD_SERVER
Method Summary
protected abstract ObjectgetComponentStateToSave(FacesContext context)
protected abstract ObjectgetTreeStructureToSave(FacesContext context)
booleanisSavingStateInClient(FacesContext context)
protected abstract voidrestoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)
protected abstract UIViewRootrestoreTreeStructure(FacesContext context, String viewId, String renderKitId)
abstract UIViewRootrestoreView(FacesContext context, String viewId, String renderKitId)
abstract StateManager.SerializedViewsaveSerializedView(FacesContext context)
abstract voidwriteState(FacesContext context, StateManager.SerializedView state)

Field Detail

STATE_SAVING_METHOD_CLIENT

public static final String STATE_SAVING_METHOD_CLIENT

STATE_SAVING_METHOD_PARAM_NAME

public static final String STATE_SAVING_METHOD_PARAM_NAME

STATE_SAVING_METHOD_SERVER

public static final String STATE_SAVING_METHOD_SERVER

Method Detail

getComponentStateToSave

protected abstract Object getComponentStateToSave(FacesContext context)

getTreeStructureToSave

protected abstract Object getTreeStructureToSave(FacesContext context)

isSavingStateInClient

public boolean isSavingStateInClient(FacesContext context)

restoreComponentState

protected abstract void restoreComponentState(FacesContext context, UIViewRoot viewRoot, String renderKitId)

restoreTreeStructure

protected abstract UIViewRoot restoreTreeStructure(FacesContext context, String viewId, String renderKitId)

restoreView

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

saveSerializedView

public abstract StateManager.SerializedView saveSerializedView(FacesContext context)

writeState

public abstract void writeState(FacesContext context, StateManager.SerializedView state)