net.ontopia.topicmaps.webed.core
Interface ActionResponseIF

All Known Implementing Classes:
ActionResponse

public interface ActionResponseIF

PUBLIC: Interface for passing information from an action to the forward request.


Method Summary
 void addParameter(java.lang.String key, java.lang.String value)
          PUBLIC: Sets a parameter value in the forward request.
 java.lang.String getForward()
          PUBLIC: Returns the forward URL.
 java.lang.String getParameter(java.lang.String key)
          PUBLIC: Gets the value of the named request parameter.
 java.util.Map getParameters()
          PUBLIC: Gets the parameter map which contains (key, value) pairs of String objects representing request parameters that should be included in the forward request.
 void setForward(java.lang.String relativeUrl)
          PUBLIC: Tells the editor framework which page to go to after form processing is complete.
 

Method Detail

getParameters

java.util.Map getParameters()
PUBLIC: Gets the parameter map which contains (key, value) pairs of String objects representing request parameters that should be included in the forward request.


getParameter

java.lang.String getParameter(java.lang.String key)
PUBLIC: Gets the value of the named request parameter.

Since:
2.0

addParameter

void addParameter(java.lang.String key,
                  java.lang.String value)
PUBLIC: Sets a parameter value in the forward request.


setForward

void setForward(java.lang.String relativeUrl)
PUBLIC: Tells the editor framework which page to go to after form processing is complete. The URL set here is relative to the root of the web application, and will override URLs set by earlier actions as well as the forwarding rules in the actions file.

Since:
2.0

getForward

java.lang.String getForward()
PUBLIC: Returns the forward URL.

Since:
2.0


Copyright © 2000-2012 Ontopia.