Top Description Fields Constructors Methods
com.sun.faces.application

public Class ApplicationStateInfo

extends Object
Class Inheritance
Static Imports
com.sun.faces.config.WebConfiguration.BooleanWebContextInitParameter.PartialStateSaving, .WebConfiguration.WebContextInitParameter.FullStateSavingViewIds, com.sun.faces.util.Util.notNullViewId, java.util.Arrays.asList

This class maintains per-application information pertaining to partail or full state saving as a whole or partial state saving with some views using full state saving.

Field Summary

Modifier and TypeField and Description
private Set<String>
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if partial state saving should be used for the specified view ID, otherwise false
usePartialStateSaving
(String
the view ID to check
viewId
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fullStateViewIdsback to summary
private Set<String> fullStateViewIds
partialStateSavingback to summary
private boolean partialStateSaving

Constructor Detail

ApplicationStateInfoback to summary
public ApplicationStateInfo()

Method Detail

usePartialStateSavingback to summary
public boolean usePartialStateSaving(String viewId)
Parameters
viewId:String

the view ID to check

Returns:boolean

true if partial state saving should be used for the specified view ID, otherwise false

Exceptions
IllegalArgumentException:
if viewId is null