public class StateManagerImpl
extends javax.faces.application.StateManager
Constructor and Description |
---|
StateManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkIdUniqueness(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.util.Set<java.lang.String> componentIds) |
protected int |
getNumberOfViewsInLogicalViewParameter(javax.faces.context.FacesContext context)
Returns the value of ServletContextInitParameter that specifies the
maximum number of views to be saved in this logical view.
|
protected int |
getNumberOfViewsParameter(javax.faces.context.FacesContext context)
Returns the value of ServletContextInitParameter that specifies the
maximum number of logical views to be saved in session.
|
javax.faces.component.UIViewRoot |
restoreView(javax.faces.context.FacesContext context,
java.lang.String viewId,
java.lang.String renderKitId) |
javax.faces.application.StateManager.SerializedView |
saveSerializedView(javax.faces.context.FacesContext context) |
void |
writeState(javax.faces.context.FacesContext context,
javax.faces.application.StateManager.SerializedView state) |
public javax.faces.component.UIViewRoot restoreView(javax.faces.context.FacesContext context, java.lang.String viewId, java.lang.String renderKitId)
restoreView
in class javax.faces.application.StateManager
public javax.faces.application.StateManager.SerializedView saveSerializedView(javax.faces.context.FacesContext context)
saveSerializedView
in class javax.faces.application.StateManager
public void writeState(javax.faces.context.FacesContext context, javax.faces.application.StateManager.SerializedView state) throws java.io.IOException
writeState
in class javax.faces.application.StateManager
java.io.IOException
protected void checkIdUniqueness(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.util.Set<java.lang.String> componentIds) throws java.lang.IllegalStateException
java.lang.IllegalStateException
protected int getNumberOfViewsInLogicalViewParameter(javax.faces.context.FacesContext context)
DEFAULT_NUMBER_OF_VIEWS_IN_LOGICAL_VIEW_IN_SESSION
.context
- the FacesContextprotected int getNumberOfViewsParameter(javax.faces.context.FacesContext context)
DEFAULT_NUMBER_OF_VIEWS_IN_SESSION
.context
- the FacesContextCopyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.