public class ActionForwardPage extends Object implements ActionForwardPageIF
Modifier and Type | Field and Description |
---|---|
protected static ParamRuleIF |
DEF_PARAM_RULE |
protected String |
framename |
protected String |
nextActionTemplate |
protected ParamRuleIF |
paramRule |
protected Map |
reqParams |
protected String |
url |
Constructor and Description |
---|
ActionForwardPage(String relativeURL) |
ActionForwardPage(String aUrlString,
Map parameters) |
ActionForwardPage(String relativeURL,
ParamRuleIF paramRule) |
ActionForwardPage(String relativeURL,
String framename) |
ActionForwardPage(String relativeURL,
String framename,
String nextActionTemplate) |
ActionForwardPage(String aUrlString,
String framename,
String nextActionTemplate,
ParamRuleIF paramRule) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String paramName,
String paramValue)
INTERNAL: Adds a request parameter (name, value) pair which should
be included when setting up the next request.
|
boolean |
equals(Object comp) |
String |
getFramename()
INTERNAL: Gets the name of the frame which the forwarded page should
appear in.
|
ParamRuleIF |
getNextActionParamRule()
INTERNAL: Get the rule for processing the request parameter
handling with the current action name and constructing the next
action request parameter with the help of the next action
template.
|
String |
getNextActionTemplate()
INTERNAL: Gets name of the template for the request parameter which
identifies the next action.
|
Map |
getParameters()
INTERNAL: Gets all existing request parameter (name, value) pairs.
|
String |
getURL()
INTERNAL: Gets the URL to forward to.
|
String |
toString() |
protected static final ParamRuleIF DEF_PARAM_RULE
protected String url
protected String framename
protected String nextActionTemplate
protected ParamRuleIF paramRule
protected Map reqParams
public ActionForwardPage(String relativeURL)
public ActionForwardPage(String relativeURL, ParamRuleIF paramRule)
public ActionForwardPage(String relativeURL, String framename, String nextActionTemplate)
public ActionForwardPage(String aUrlString, String framename, String nextActionTemplate, ParamRuleIF paramRule)
public String getURL()
ActionForwardPageIF
getURL
in interface ActionForwardPageIF
public String getFramename()
ActionForwardPageIF
getFramename
in interface ActionForwardPageIF
public void addParameter(String paramName, String paramValue)
ActionForwardPageIF
addParameter
in interface ActionForwardPageIF
public Map getParameters()
ActionForwardPageIF
getParameters
in interface ActionForwardPageIF
public String getNextActionTemplate()
ActionForwardPageIF
getNextActionTemplate
in interface ActionForwardPageIF
public ParamRuleIF getNextActionParamRule()
ActionForwardPageIF
Note: If no specific rule was setup the next action will be identical to the next action template
getNextActionParamRule
in interface ActionForwardPageIF