Package com.liferay.portlet.internal
Interface LiferayMutablePortletParameters
- All Superinterfaces:
Mutable
,MutablePortletParameters
,PortletParameters
- All Known Subinterfaces:
LiferayMutableRenderParameters
- All Known Implementing Classes:
BaseMutablePortletParameters
,MutableActionParametersImpl
,MutableRenderParametersImpl
,MutableResourceParametersImpl
- Author:
- Neil Griffin
-
Field Summary
Fields -
Method Summary
Methods inherited from interface javax.portlet.MutablePortletParameters
add, clear, getNames, removeParameter, set, setValue, setValues
-
Field Details
-
NULL_PARAM_VALUE
- See Also:
-
-
Method Details
-
isMutated
boolean isMutated()Returnstrue
if the state of the portlet parameters has changed.- Returns:
true
if the state has changed;false
otherwise
-
setValue
Sets the parameter value. AnIllegalArgumentException
is thrown if the name isnull
.- Parameters:
name
- the parameter's namevalue
- the parameter's value. Ifnull
, the parameter is removed.append
- whether the new value is appended to any existing values for the parameter. If this isfalse
, any existing values are overwritten with the new value.- Returns:
- the parameter value prior to setting
-
setValues
Sets the parameter values. AnIllegalArgumentException
is thrown if the name isnull
.- Parameters:
name
- the parameter's namevalues
- the parameter's values. Ifnull
, the parameter is removed.append
- whether the new values are appended to any existing values for the parameter. If this isfalse
, any existing values are overwritten with the new values.- Returns:
- the parameter values prior to setting
-