org.apache.beehive.netui.pageflow
Class PreviousActionInfo

Object
  extended by PreviousActionInfo
All Implemented Interfaces:
Serializable

public class PreviousActionInfo
extends Object
implements Serializable

Stores information about a recent action execution within a pageflow -- used with Used with return-to="previousAction" on @jpf:forward.

See Also:
Serialized Form

Constructor Summary
PreviousActionInfo(ActionForm form, String actionURI, String queryString)
          Constructor which accepts an ActionForm and action URI.
 
Method Summary
 String getActionURI()
          Get the URI that was used to execute the action.
 ActionForm getForm()
          Get the form that was passed to the action.
 String getQueryString()
          Get the query string from the original request URI.
 void setActionURI(String actionURI)
          Set the URI that was used to execute the action.
 void setForm(ActionForm form)
          Set the form that was passed to the action.
 void setQueryString(String queryString)
          Set the query string from the original request URI.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviousActionInfo

public PreviousActionInfo(ActionForm form,
                          String actionURI,
                          String queryString)
Constructor which accepts an ActionForm and action URI.

Parameters:
form - the form that was passed to the action.
actionURI - the URI that was used to execute the action.
Method Detail

getForm

public ActionForm getForm()
Get the form that was passed to the action.

Returns:
the form that was passed to the action.

setForm

public void setForm(ActionForm form)
Set the form that was passed to the action.

Parameters:
form - the form that was passed to the action.

getActionURI

public String getActionURI()
Get the URI that was used to execute the action.

Returns:
the String URI that was used to execute the action.

setActionURI

public void setActionURI(String actionURI)
Set the URI that was used to execute the action.

Parameters:
actionURI - the URI that was used to execute the action.

getQueryString

public String getQueryString()
Get the query string from the original request URI.

Returns:
the query string from the original request URI.

setQueryString

public void setQueryString(String queryString)
Set the query string from the original request URI.

Parameters:
queryString - the query string from the original request URI.