public class MutableActionParametersWrapper extends MutablePortletParametersWrapper implements MutableActionParameters
MutableActionParametersWrapper provides a convenient
implementation of the MutableActionParameters 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 |
|---|
MutableActionParametersWrapper(MutableActionParameters wrapped) |
| Modifier and Type | Method and Description |
|---|---|
MutableActionParameters |
clone()
Returns a
MutablePortletParameters object encapsulating a copy of the same
parameters as the original object. |
MutableActionParameters |
getWrapped()
Gets the wrapped object.
|
void |
setWrapped(MutableActionParameters wrapped)
Sets the wrapped object.
|
add, clear, removeParameter, set, setValue, setValues, setWrappedgetNames, getValue, getValues, isEmpty, setWrapped, sizeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, clear, getNames, removeParameter, set, setValue, setValuesgetValue, getValues, isEmpty, sizepublic MutableActionParametersWrapper(MutableActionParameters wrapped)
wrapped - the wrapped object to set.IllegalArgumentException - if the MutableActionParameters is null.public MutableActionParameters getWrapped()
getWrapped in class MutablePortletParametersWrapperpublic void setWrapped(MutableActionParameters wrapped)
wrapped - the wrapped object to set.IllegalArgumentException - if the MutableActionParameters is null.public MutableActionParameters clone()
PortletParametersMutablePortletParameters object encapsulating a copy of the same
parameters as the original object.
Changing a mutable copy will not influence the source object.
clone in interface ActionParametersclone in interface PortletParametersclone in class PortletParametersWrapperJava Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.