public class StateManagerImpl
extends jakarta.faces.application.StateManager
A StateManager implementation to meet the requirements of the specification.
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 |
|---|---|
jakarta.faces.component.UIViewRoot |
restoreView(jakarta.faces.context.FacesContext context,
String viewId,
String renderKitId)
Restores the view.
|
Object |
saveView(jakarta.faces.context.FacesContext context)
Save the view.
|
void |
writeState(jakarta.faces.context.FacesContext context,
Object state)
Write out the state.
|
public Object saveView(jakarta.faces.context.FacesContext context)
saveView in class jakarta.faces.application.StateManagercontext - the Faces context.public void writeState(jakarta.faces.context.FacesContext context,
Object state)
throws IOException
writeState in class jakarta.faces.application.StateManagercontext - the Faces context.state - the state.IOException - when an I/O error occurs.public jakarta.faces.component.UIViewRoot restoreView(jakarta.faces.context.FacesContext context,
String viewId,
String renderKitId)
restoreView in class jakarta.faces.application.StateManagercontext - the Faces context.viewId - the view id.renderKitId - the render kit id.StateManager.restoreView(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String)Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.