|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPreviousInfo
PreviousPageInfo
public class PreviousPageInfo
Stores information about a previously-displayed page, as well as its initialization data.
Used with
navigateTo=
or Jpf.NavigateTo.currentPage
navigateTo=
on Jpf.NavigateTo.previousPage
Jpf.Forward
,
Jpf.SimpleAction
, or
Jpf.ConditionalForward
.
Constructor Summary | |
---|---|
PreviousPageInfo(ActionForward forward,
ActionForm form,
ActionMapping mapping,
String queryString)
Constructor which accepts the ActionForward used to display the page, the ActionForm used to initialize the page, and the associated ActionMapping, which represents the action that forwarded to the page. |
Method Summary | |
---|---|
Object |
getClientState()
Get client state associated with the page (e.g., component tree state for a JSF page). |
ActionForward |
getForward()
Get the object that was used to forward to the page. |
ActionMapping |
getMapping()
Get information about the action that forwarded to the page. |
void |
reinitialize(PageFlowController pfc)
Reinitialize the stored ActionMapping and PageFlowController objects. |
void |
setClientState(Object clientState)
Set client state associated with the page (e.g., component tree state for a JSF page). |
void |
setForward(ActionForward forward)
Set the object that was used to forward to the page. |
void |
setMapping(ActionMapping mapping)
Set information about the action that forwarded to the page. |
Methods inherited from class PreviousInfo |
---|
getForm, getQueryString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreviousPageInfo(ActionForward forward, ActionForm form, ActionMapping mapping, String queryString)
forward
- the ActionForward that contains the path to the page.form
- the form that was present for the page when it was rendered initially.mapping
- the ActionMapping associated with the action that forwarded to the page, or null
if the page was requested directly.queryString
- the query string from the request URI.Method Detail |
---|
public ActionMapping getMapping()
null
unless you first call reinitialize(org.apache.beehive.netui.pageflow.PageFlowController)
.
null
if the page was requested directly.public void setMapping(ActionMapping mapping)
mapping
- an ActionMapping that contains information about the action that forwarded to this page.public void reinitialize(PageFlowController pfc)
public ActionForward getForward()
public void setForward(ActionForward forward)
forward
- the ActionForward returned by the action that forwarded to this page.public Object getClientState()
public void setClientState(Object clientState)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |