Top Description Constructors Methods
javax.portlet.filter

public Class ActionURLWrapper

extends PortletURLWrapper
implements ActionURL
Class Inheritance
All Implemented Interfaces
javax.portlet.ActionURL, javax.portlet.PortletURL, javax.portlet.MutableRenderState, javax.portlet.Mutable, javax.portlet.RenderState, javax.portlet.BaseURL
Imports
javax.portlet.ActionURL, .MutableActionParameters

The ActionURLWrapper provides a convenient implementation of the ActionURL interface that can be subclassed by developers. This class implements the Wrapper or Decorator pattern. Methods default to calling through to the wrapped request object.
Since
3.0

Constructor Summary

AccessConstructor and Description
public
ActionURLWrapper(ActionURL
the wrapped object to set.
wrapped
)

Method Summary

Modifier and TypeMethod and Description
public MutableActionParameters
getActionParameters()

Implements javax.portlet.ActionURL.getActionParameters.

Gets the action parameter values set for this URL.
public ActionURL

Returns:

the wrapped object.
getWrapped
()

Overrides javax.portlet.filter.PortletURLWrapper.getWrapped.

Gets the wrapped object.
public void
setWrapped(ActionURL
the wrapped object to set.
wrapped
)

Sets the wrapped object.

Inherited from javax.portlet.filter.PortletURLWrapper:
getRenderParametersremovePublicRenderParametersetBeanParametersetPortletModesetWindowStatesetWrapped

Constructor Detail

ActionURLWrapperback to summary
public ActionURLWrapper(ActionURL wrapped)
Parameters
wrapped:ActionURL

the wrapped object to set.

Exceptions
IllegalArgumentException:
if the ActionURL is null.

Method Detail

getActionParametersback to summary
public MutableActionParameters getActionParameters()

Implements javax.portlet.ActionURL.getActionParameters.

Doc from javax.portlet.ActionURL.getActionParameters.

Gets the action parameter values set for this URL.

Action parameters are additional portlet parameters added to the URL that extend the state information provided by the render parameters.

Initially the returned object is empty.

Modifying the parameter values encapsulated by the returned object directly modifies the action parameters applied to the URL.

PortletParameters provides a description of the parameter concept.

Returns:MutableActionParameters

a MutableActionParameters object representing the action parameters.

Annotations
@Override
getWrappedback to summary
public ActionURL getWrapped()

Overrides javax.portlet.filter.PortletURLWrapper.getWrapped.

Gets the wrapped object.

Returns:ActionURL

the wrapped object.

setWrappedback to summary
public void setWrapped(ActionURL wrapped)

Sets the wrapped object.

Parameters
wrapped:ActionURL

the wrapped object to set.

Exceptions
IllegalArgumentException:
if the ActionURL is null.