net.ontopia.topicmaps.webed.impl.basic
Class ActionForwardPage

java.lang.Object
  extended by net.ontopia.topicmaps.webed.impl.basic.ActionForwardPage
All Implemented Interfaces:
ActionForwardPageIF

public class ActionForwardPage
extends java.lang.Object
implements ActionForwardPageIF

INTERNAL: Default implementation of the interface ActionForwardPageIF


Field Summary
protected static ParamRuleIF DEF_PARAM_RULE
           
protected  java.lang.String framename
           
protected  java.lang.String nextActionTemplate
           
protected  ParamRuleIF paramRule
           
protected  java.util.Map reqParams
           
protected  java.lang.String url
           
 
Constructor Summary
ActionForwardPage(java.lang.String relativeURL)
           
ActionForwardPage(java.lang.String aUrlString, java.util.Map parameters)
           
ActionForwardPage(java.lang.String relativeURL, ParamRuleIF paramRule)
           
ActionForwardPage(java.lang.String relativeURL, java.lang.String framename)
           
ActionForwardPage(java.lang.String relativeURL, java.lang.String framename, java.lang.String nextActionTemplate)
           
ActionForwardPage(java.lang.String aUrlString, java.lang.String framename, java.lang.String nextActionTemplate, ParamRuleIF paramRule)
           
 
Method Summary
 void addParameter(java.lang.String paramName, java.lang.String paramValue)
          INTERNAL: Adds a request parameter (name, value) pair which should be included when setting up the next request.
 boolean equals(java.lang.Object comp)
           
 java.lang.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.
 java.lang.String getNextActionTemplate()
          INTERNAL: Gets name of the template for the request parameter which identifies the next action.
 java.util.Map getParameters()
          INTERNAL: Gets all existing request parameter (name, value) pairs.
 java.lang.String getURL()
          INTERNAL: Gets the URL to forward to.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEF_PARAM_RULE

protected static final ParamRuleIF DEF_PARAM_RULE

url

protected java.lang.String url

framename

protected java.lang.String framename

nextActionTemplate

protected java.lang.String nextActionTemplate

paramRule

protected ParamRuleIF paramRule

reqParams

protected java.util.Map reqParams
Constructor Detail

ActionForwardPage

public ActionForwardPage(java.lang.String relativeURL)

ActionForwardPage

public ActionForwardPage(java.lang.String aUrlString,
                         java.util.Map parameters)

ActionForwardPage

public ActionForwardPage(java.lang.String relativeURL,
                         ParamRuleIF paramRule)

ActionForwardPage

public ActionForwardPage(java.lang.String relativeURL,
                         java.lang.String framename)

ActionForwardPage

public ActionForwardPage(java.lang.String relativeURL,
                         java.lang.String framename,
                         java.lang.String nextActionTemplate)

ActionForwardPage

public ActionForwardPage(java.lang.String aUrlString,
                         java.lang.String framename,
                         java.lang.String nextActionTemplate,
                         ParamRuleIF paramRule)
Method Detail

getURL

public java.lang.String getURL()
Description copied from interface: ActionForwardPageIF
INTERNAL: Gets the URL to forward to.

Specified by:
getURL in interface ActionForwardPageIF

getFramename

public java.lang.String getFramename()
Description copied from interface: ActionForwardPageIF
INTERNAL: Gets the name of the frame which the forwarded page should appear in.

Specified by:
getFramename in interface ActionForwardPageIF

addParameter

public void addParameter(java.lang.String paramName,
                         java.lang.String paramValue)
Description copied from interface: ActionForwardPageIF
INTERNAL: Adds a request parameter (name, value) pair which should be included when setting up the next request.

Specified by:
addParameter in interface ActionForwardPageIF

getParameters

public java.util.Map getParameters()
Description copied from interface: ActionForwardPageIF
INTERNAL: Gets all existing request parameter (name, value) pairs.

Specified by:
getParameters in interface ActionForwardPageIF
Returns:
Map containing parameter name (String object) as key and parameter value (String object) as value.

getNextActionTemplate

public java.lang.String getNextActionTemplate()
Description copied from interface: ActionForwardPageIF
INTERNAL: Gets name of the template for the request parameter which identifies the next action. May be making use of name patterns with the help of placeholders.

Specified by:
getNextActionTemplate in interface ActionForwardPageIF

getNextActionParamRule

public ParamRuleIF getNextActionParamRule()
Description copied from interface: ActionForwardPageIF
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.

Note: If no specific rule was setup the next action will be identical to the next action template

Specified by:
getNextActionParamRule in interface ActionForwardPageIF

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object comp)
Overrides:
equals in class java.lang.Object


Copyright © 2000-2012 Ontopia.