org.apache.myfaces.application.jsp
Class JspStateManagerImpl.SerializedViewCollection

java.lang.Object
  extended by 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

Constructor Summary
protected JspStateManagerImpl.SerializedViewCollection()
           
 
Method Summary
 void add(FacesContext context, Object state)
           
 Object get(Integer sequence, String viewId)
           
protected  String getCacheOldViewsInSessionMode(FacesContext context)
          Reads the value of the org.apache.myfaces.CACHE_OLD_VIEWS_IN_SESSION_MODE context parameter.
protected  int getNumberOfViewsInSession(FacesContext context)
          Reads the amount (default = 20) of views to be stored in session.
protected  Map<Object,Object> getOldSerializedViewsMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspStateManagerImpl.SerializedViewCollection

protected JspStateManagerImpl.SerializedViewCollection()
Method Detail

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 © 2014 The Apache Software Foundation. All Rights Reserved.