org.apache.myfaces.application.jsp
Class JspStateManagerImpl.SerializedViewCollection
java.lang.Object
org.apache.myfaces.application.jsp.JspStateManagerImpl.SerializedViewCollection
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- JspStateManagerImpl
protected static class JspStateManagerImpl.SerializedViewCollection
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
void |
add(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
get(java.lang.Integer sequence,
java.lang.String viewId)
|
protected int |
getNumberOfViewsInSession(javax.faces.context.FacesContext context)
Reads the amount (default = 20) of views to be stored in session. |
protected java.util.Map |
getOldSerializedViewsMap()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JspStateManagerImpl.SerializedViewCollection
protected JspStateManagerImpl.SerializedViewCollection()
add
public void add(javax.faces.context.FacesContext context,
java.lang.Object state)
getNumberOfViewsInSession
protected int getNumberOfViewsInSession(javax.faces.context.FacesContext context)
- Reads the amount (default = 20) of views to be stored in session.
- Parameters:
context
- FacesContext for the current request, we are processing
- Returns:
- Number vf views stored in the session
- See Also:
NUMBER_OF_VIEWS_IN_SESSION_PARAM
getOldSerializedViewsMap
protected java.util.Map getOldSerializedViewsMap()
- Returns:
- old serialized views map
get
public java.lang.Object get(java.lang.Integer sequence,
java.lang.String viewId)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.