public class ActionURLWrapper extends PortletURLWrapper implements ActionURL
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.
wrapped
Constructor and Description |
---|
ActionURLWrapper(ActionURL wrapped) |
Modifier and Type | Method and Description |
---|---|
MutableActionParameters |
getActionParameters()
Gets the action parameter values set for this URL.
|
ActionURL |
getWrapped()
Gets the wrapped object.
|
void |
setWrapped(ActionURL wrapped)
Sets the wrapped object.
|
getRenderParameters, removePublicRenderParameter, setBeanParameter, setPortletMode, setWindowState, setWrapped
addProperty, append, append, getParameterMap, setParameter, setParameter, setParameters, setProperty, setSecure, setWrapped, toString, write, write
getPortletMode, getWindowState, setWrapped
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
removePublicRenderParameter, setBeanParameter
addProperty, append, append, getParameterMap, setParameter, setParameter, setParameters, setProperty, setSecure, toString, write, write
getRenderParameters, setPortletMode, setWindowState
getPortletMode, getWindowState
public ActionURLWrapper(ActionURL wrapped)
wrapped
- the wrapped object to set.IllegalArgumentException
- if the ActionURL is null.public ActionURL getWrapped()
getWrapped
in class PortletURLWrapper
public void setWrapped(ActionURL wrapped)
wrapped
- the wrapped object to set.IllegalArgumentException
- if the ActionURL is null.public MutableActionParameters getActionParameters()
ActionURL
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.
getActionParameters
in interface ActionURL
MutableActionParameters
object representing
the action parameters.ActionParameters
,
MutableActionParameters
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.