| java.lang.Object org.apache.beehive.netui.pageflow.PreviousInfo org.apache.beehive.netui.pageflow.PreviousPageInfo
PreviousPageInfo | public class PreviousPageInfo extends PreviousInfo implements Serializable(Code) | | Stores information about a previously-displayed page, as well as its initialization data.
Used with
navigateTo=
org.apache.beehive.netui.pageflow.annotations.Jpf.NavigateTo.currentPage Jpf.NavigateTo.currentPage
or navigateTo=
org.apache.beehive.netui.pageflow.annotations.Jpf.NavigateTo.previousPage Jpf.NavigateTo.previousPage
on
org.apache.beehive.netui.pageflow.annotations.Jpf.Forward Jpf.Forward ,
org.apache.beehive.netui.pageflow.annotations.Jpf.SimpleAction Jpf.SimpleAction , or
org.apache.beehive.netui.pageflow.annotations.Jpf.ConditionalForward Jpf.ConditionalForward .
|
Constructor Summary | |
public | 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 | |
public Object | getClientState() Get client state associated with the page (e.g., component tree state for a JSF page). | public ActionForward | getForward() Get the object that was used to forward to the page. | public ActionMapping | getMapping() Get information about the action that forwarded to the page.
Note that this information is transient. | public void | reinitialize(PageFlowController pfc) Reinitialize the stored ActionMapping and PageFlowController objects. | public void | setClientState(Object clientState) Set client state associated with the page (e.g., component tree state for a JSF page). | public void | setForward(ActionForward forward) Set the object that was used to forward to the page. | public void | setMapping(ActionMapping mapping) Set information about the action that forwarded to the page. |
PreviousPageInfo | public PreviousPageInfo(ActionForward forward, ActionForm form, ActionMapping mapping, String queryString)(Code) | | 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.
Parameters: forward - the ActionForward that contains the path to the page. Parameters: form - the form that was present for the page when it was rendered initially. Parameters: mapping - the ActionMapping associated with the action that forwarded to the page, or null if the page was requested directly. Parameters: queryString - the query string from the request URI. |
getClientState | public Object getClientState()(Code) | | Get client state associated with the page (e.g., component tree state for a JSF page).
|
getForward | public ActionForward getForward()(Code) | | Get the object that was used to forward to the page.
the ActionForward returned by the action that forwarded to this page. |
getMapping | public ActionMapping getMapping()(Code) | | Get information about the action that forwarded to the page.
Note that this information is transient. If you place this object in the session, and then retrieve it after
a session failover has occurred (i.e., after this object has been serialized and deserialized), then this method
will return null unless you first call
PreviousPageInfo.reinitialize .
an ActionMapping that contains information about the action that forwarded to this page, ornull if the page was requested directly. |
reinitialize | public void reinitialize(PageFlowController pfc)(Code) | | Reinitialize the stored ActionMapping and PageFlowController objects. These are transient, and will be lost if
you place this object in the session, and then retrieve it after a session failover has occurred (i.e., after
this object has been serialized and deserialized).
|
setClientState | public void setClientState(Object clientState)(Code) | | Set client state associated with the page (e.g., component tree state for a JSF page).
|
setForward | public void setForward(ActionForward forward)(Code) | | Set the object that was used to forward to the page.
Parameters: forward - the ActionForward returned by the action that forwarded to this page. |
setMapping | public void setMapping(ActionMapping mapping)(Code) | | Set information about the action that forwarded to the page.
Parameters: mapping - an ActionMapping that contains information about the action that forwarded to this page. |
|
|