org.apache.jetspeed.portlet
Class DefaultPortletAction

java.lang.Object
  extended by org.apache.jetspeed.portlet.DefaultPortletAction
All Implemented Interfaces:
java.io.Serializable, PortletAction

Deprecated. since 6.0. Support of the IBM portlet API may be removed in a future release of WebSphere Portal. Use of the Java Portlet API (javax.portlet) is recommended instead.

public final class DefaultPortletAction
extends java.lang.Object
implements PortletAction, java.io.Serializable

The DefaultPortletAction is a portlet action with default parameters. You can use this portlet action to pass parameters in your action or create your own portlet action. This default implementation demonstrates how to implement it.

Since:
4.1
See Also:
PortletAction, Serialized Form

Constructor Summary
DefaultPortletAction(java.lang.String name)
          Deprecated.  
 
Method Summary
 void addParameter(java.lang.String name, java.lang.Object value)
          Deprecated. Adds a parameters to this action
 java.lang.String getName()
          Deprecated. Returns the name of this action
 java.util.Map getParameters()
          Deprecated. Returns all parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPortletAction

public DefaultPortletAction(java.lang.String name)
Deprecated. 
Method Detail

getName

public java.lang.String getName()
Deprecated. 
Returns the name of this action

Returns:
the name as a string

addParameter

public void addParameter(java.lang.String name,
                         java.lang.Object value)
Deprecated. 
Adds a parameters to this action

Parameters:
name - the name of the new parameter
value - the value of the new parameter

getParameters

public java.util.Map getParameters()
Deprecated. 
Returns all parameters

Returns:
all parameters as map