Package com.liferay.portlet.internal
Interface LiferayMutablePortletParameters
- All Superinterfaces:
jakarta.portlet.Mutable,jakarta.portlet.MutablePortletParameters,jakarta.portlet.PortletParameters
- All Known Subinterfaces:
LiferayMutableRenderParameters
- All Known Implementing Classes:
BaseMutablePortletParameters,MutableActionParametersImpl,MutableRenderParametersImpl,MutableResourceParametersImpl
public interface LiferayMutablePortletParameters
extends jakarta.portlet.MutablePortletParameters
- Author:
- Neil Griffin
-
Field Summary
Fields -
Method Summary
Methods inherited from interface jakarta.portlet.MutablePortletParameters
add, clear, getNames, removeParameter, set, setValue, setValuesMethods inherited from interface jakarta.portlet.PortletParameters
clone, getValue, getValues, isEmpty, size
-
Field Details
-
NULL_PARAM_VALUE
- See Also:
-
-
Method Details
-
isMutated
boolean isMutated()Returnstrueif the state of the portlet parameters has changed.- Returns:
trueif the state has changed;falseotherwise
-
setValue
Sets the parameter value. AnIllegalArgumentExceptionis 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. AnIllegalArgumentExceptionis 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
-