public class StateManagerImpl extends StateManager
StateManager.SerializedView
FULL_STATE_SAVING_VIEW_IDS_PARAM_NAME, IS_BUILDING_INITIAL_STATE, IS_SAVING_STATE, PARTIAL_STATE_SAVING_PARAM_NAME, SERIALIZE_SERVER_STATE_PARAM_NAME, STATE_SAVING_METHOD_CLIENT, STATE_SAVING_METHOD_PARAM_NAME, STATE_SAVING_METHOD_SERVER
Constructor and Description |
---|
StateManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getComponentStateToSave(FacesContext facesContext) |
protected RenderKitFactory |
getRenderKitFactory() |
protected Object |
getTreeStructureToSave(FacesContext facesContext)
Return an object which contains info about the UIComponent type
of each node in the view tree.
|
UIViewRoot |
restoreView(FacesContext facesContext,
String viewId,
String renderKitId) |
Object |
saveView(FacesContext facesContext)
Wrap the original method and redirect to VDL StateManagementStrategy when
necessary
|
void |
writeState(FacesContext facesContext,
Object state) |
getViewState, isSavingStateInClient, restoreComponentState, restoreTreeStructure, saveSerializedView, writeState
protected Object getComponentStateToSave(FacesContext facesContext)
getComponentStateToSave
in class StateManager
protected Object getTreeStructureToSave(FacesContext facesContext)
getTreeStructureToSave
in class StateManager
public UIViewRoot restoreView(FacesContext facesContext, String viewId, String renderKitId)
restoreView
in class StateManager
public Object saveView(FacesContext facesContext)
saveView
in class StateManager
public void writeState(FacesContext facesContext, Object state) throws IOException
writeState
in class StateManager
IOException
protected RenderKitFactory getRenderKitFactory()
Copyright © 2020 The Apache Software Foundation. All rights reserved.