public class StateManagerImpl extends StateManager
StateManager.SerializedViewFULL_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, writeStateprotected Object getComponentStateToSave(FacesContext facesContext)
getComponentStateToSave in class StateManagerprotected Object getTreeStructureToSave(FacesContext facesContext)
getTreeStructureToSave in class StateManagerpublic UIViewRoot restoreView(FacesContext facesContext, String viewId, String renderKitId)
restoreView in class StateManagerpublic Object saveView(FacesContext facesContext)
saveView in class StateManagerpublic void writeState(FacesContext facesContext, Object state) throws IOException
writeState in class StateManagerIOExceptionprotected RenderKitFactory getRenderKitFactory()
Copyright © 2025 The Apache Software Foundation. All rights reserved.