|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelStateManager
Interface for classes which oversee saving and restoring the linked model structure of an application by use of information encoded in a URL.
Field Summary | |
---|---|
static java.lang.String |
MODEL_STATE_MANAGER_ATTRIBUTE
Session attribute for storing ModelStateManager implementation |
Method Summary | |
---|---|
java.lang.String |
getStateID(javax.servlet.http.HttpServletRequest req)
Analyze the current application state, and return an identifier that can be used to later reconstitute this structure. |
void |
realizeState(javax.servlet.http.HttpServletRequest req,
java.lang.String ID)
Given a previously-computed application state ID, bring the current application state into synch with the implied structure. |
void |
setWebAppAccess(WebAppAccess webAppAccess)
Call this to give other methods a WebAppAccess implementation to use. |
Field Detail |
---|
static final java.lang.String MODEL_STATE_MANAGER_ATTRIBUTE
Method Detail |
---|
java.lang.String getStateID(javax.servlet.http.HttpServletRequest req)
req
- the HttpServletRequest for this request
void realizeState(javax.servlet.http.HttpServletRequest req, java.lang.String ID)
req
- the HttpServletRequest for this requestID
- the state identifier for the state in questionvoid setWebAppAccess(WebAppAccess webAppAccess)
webAppAccess
- a valid WebAppAccess implementation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |