public interface LiferayMutablePortletParameters extends MutablePortletParameters
| Modifier and Type | Field and Description |
|---|---|
static String |
NULL_PARAM_VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMutated()
Returns
true if the state of the portlet parameters has
changed. |
String |
setValue(String name,
String value,
boolean append)
Sets the parameter value.
|
String[] |
setValues(String name,
String[] values,
boolean append)
Sets the parameter values.
|
add, clear, getNames, removeParameter, set, setValue, setValuesstatic final String NULL_PARAM_VALUE
boolean isMutated()
true if the state of the portlet parameters has
changed.true if the state has changed; false
otherwiseString setValue(String name,
String value,
boolean append)
IllegalArgumentException is
thrown if the name is null.name - the parameter's namevalue - the parameter's value. If null, the parameter
is removed.append - whether the new value is appended to any existing values
for the parameter. If this is false, any existing
values are overwritten with the new value.String[] setValues(String name,
String[] values,
boolean append)
IllegalArgumentException is
thrown if the name is null.name - the parameter's namevalues - the parameter's values. If null, the
parameter is removed.append - whether the new values are appended to any existing values
for the parameter. If this is false, any existing
values are overwritten with the new values.