|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.adf.view.faces.bean.util.StateUtils
Utilities for handling state persistance.
Constructor Summary | |
StateUtils()
|
Method Summary | |
static PropertyKey |
restoreKey(FacesBean.Type type,
java.lang.Object value)
Restores a persisted PropertyKey. |
static java.lang.Object |
restoreList(javax.faces.context.FacesContext context,
java.lang.Object savedValue)
Restores a List whose elements may implement StateHolder. |
static void |
restoreState(PropertyMap map,
javax.faces.context.FacesContext context,
FacesBean.Type type,
java.lang.Object state,
boolean useStateHolder)
Generic (unoptimized) version of PropertyMap state restoring. |
static java.lang.Object |
restoreStateHolder(javax.faces.context.FacesContext context,
java.lang.Object savedValue)
Restores an object that was saved using saveStateHolder() |
static java.lang.Object |
saveKey(PropertyKey key)
Persists a property key. |
static java.lang.Object |
saveList(javax.faces.context.FacesContext context,
java.lang.Object value)
Saves a List whose elements may implement StateHolder. |
static java.lang.Object |
saveState(PropertyMap map,
javax.faces.context.FacesContext context,
boolean useStateHolder)
Generic (unoptimized) version of PropertyMap state saving. |
static java.lang.Object |
saveStateHolder(javax.faces.context.FacesContext context,
java.lang.Object value)
Saves an object that may implement StateHolder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StateUtils()
Method Detail |
public static java.lang.Object saveKey(PropertyKey key)
public static PropertyKey restoreKey(FacesBean.Type type, java.lang.Object value)
public static java.lang.Object saveState(PropertyMap map, javax.faces.context.FacesContext context, boolean useStateHolder)
public static void restoreState(PropertyMap map, javax.faces.context.FacesContext context, FacesBean.Type type, java.lang.Object state, boolean useStateHolder)
public static java.lang.Object saveStateHolder(javax.faces.context.FacesContext context, java.lang.Object value)
public static java.lang.Object restoreStateHolder(javax.faces.context.FacesContext context, java.lang.Object savedValue)
public static java.lang.Object saveList(javax.faces.context.FacesContext context, java.lang.Object value)
public static java.lang.Object restoreList(javax.faces.context.FacesContext context, java.lang.Object savedValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |