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, setWrappedaddProperty, append, append, getParameterMap, setParameter, setParameter, setParameters, setProperty, setSecure, setWrapped, toString, write, writegetPortletMode, getWindowState, setWrappedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitremovePublicRenderParameter, setBeanParameteraddProperty, append, append, getParameterMap, setParameter, setParameter, setParameters, setProperty, setSecure, toString, write, writegetRenderParameters, setPortletMode, setWindowStategetPortletMode, getWindowStatepublic ActionURLWrapper(ActionURL wrapped)
wrapped - the wrapped object to set.IllegalArgumentException - if the ActionURL is null.public ActionURL getWrapped()
getWrapped in class PortletURLWrapperpublic void setWrapped(ActionURL wrapped)
wrapped - the wrapped object to set.IllegalArgumentException - if the ActionURL is null.public MutableActionParameters getActionParameters()
ActionURLAction 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 ActionURLMutableActionParameters object representing
the action parameters.ActionParameters,
MutableActionParametersJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.