|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationStateManager
Responsible for managing application state objects, objects which persist between requests, but are not tied to any individual page or component. ASOs are also created on demand. ASOs are typically stored in the session, so that they are specific to a particular client.
| Method Summary | ||
|---|---|---|
|
exists(Class<T> asoClass)
Returns true if the ASO already exists, false if it has not yet been created. |
|
|
get(Class<T> asoClass)
For a given class, find the ASO for the class, creating it if necessary. |
|
|
getIfExists(Class<T> asoClass)
For a given class, find the ASO for the class. |
|
|
set(Class<T> asoClass,
T aso)
Stores a new ASO, replacing the existing ASO (if any). |
|
| Method Detail |
|---|
<T> T get(Class<T> asoClass)
T - asoClass - identifies the ASO to access or create
<T> T getIfExists(Class<T> asoClass)
T - asoClass - identifies the ASO to access or create
<T> boolean exists(Class<T> asoClass)
asoClass - used to select the ASO
<T> void set(Class<T> asoClass,
T aso)
T - asoClass - the type of ASOaso - the ASO instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||