org.apache.myfaces.application.jsp
Class JspStateManagerImpl.SerializedViewCollection
java.lang.Object
   org.apache.myfaces.application.jsp.JspStateManagerImpl.SerializedViewCollection
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  java.lang.String | getCacheOldViewsInSessionMode(javax.faces.context.FacesContext context)Reads the value of the
 org.apache.myfaces.CACHE_OLD_VIEWS_IN_SESSION_MODEcontext parameter. | 
| 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
 
getCacheOldViewsInSessionMode
protected java.lang.String getCacheOldViewsInSessionMode(javax.faces.context.FacesContext context)
- Reads the value of the org.apache.myfaces.CACHE_OLD_VIEWS_IN_SESSION_MODEcontext parameter.
 
- 
 
- 
- Parameters:
- context-
- Returns:
- constant indicating caching mode
- Since:
- 1.1.7
- See Also:
- CACHE_OLD_VIEWS_IN_SESSION_MODE
 
get
public java.lang.Object get(java.lang.Integer sequence,
                            java.lang.String viewId)
- 
 
- 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.