org.apache.myfaces.application.jsp
Class JspStateManagerImpl.SerializedViewCollection
java.lang.Object
org.apache.myfaces.application.jsp.JspStateManagerImpl.SerializedViewCollection
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- JspStateManagerImpl
protected static class JspStateManagerImpl.SerializedViewCollection
- extends Object
- implements Serializable
- See Also:
- Serialized Form
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(FacesContext context,
Object state)
getNumberOfViewsInSession
protected int getNumberOfViewsInSession(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 Map<Object,Object> getOldSerializedViewsMap()
- Returns:
- old serialized views map
getCacheOldViewsInSessionMode
protected String getCacheOldViewsInSessionMode(FacesContext context)
- Reads the value of the
org.apache.myfaces.CACHE_OLD_VIEWS_IN_SESSION_MODE
context parameter.
- Parameters:
context
-
- Returns:
- constant indicating caching mode
- Since:
- 1.2.5
- See Also:
CACHE_OLD_VIEWS_IN_SESSION_MODE
get
public Object get(Integer sequence,
String viewId)
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.