|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public ModifiablePreferences
An interface representing modifiable preferences. It can be obtained through an PreferencesProvider
.
| Method Summary | |
|---|---|
boolean |
confirmRemove(String name)
Indicates if the preference identified with the specified name may be removed. |
boolean |
confirmSetValue(String name,
String value)
Indicates if the value for the preference identified by the specified name may be set. |
boolean |
confirmSetValues(String name,
String[] values)
Indicates if the values for the preference identified by the specified name may be set. |
boolean |
confirmSetReadOnly(String name)
Indicates if the readOnly parameter of the setValue
method is evaluated by the remote system. |
boolean |
setValue(String name,
String value)
Sets the value for the preference identified by the specified name. |
boolean |
setValue(String name,
String value,
boolean readOnly)
Sets the value for the preference identified by the specified name. |
boolean |
setValues(String name,
String[] values)
Sets the values for the preference identified by the specified name. |
boolean |
setValues(String name,
String[] values,
boolean readOnly)
Sets the values for the preference identified by the specified name. |
boolean |
remove(String name)
Removes the preference identified with the specified name. |
| Methods inherited from interface com.ibm.mashups.enabler.widget.Preferences |
|---|
getValue, getValues, isReadOnly, getNames, getMap |
| Method Detail |
|---|
boolean confirmRemove(String name)
name -
name of preference. Must not be null
true in case the preference may be removed, false otherwise
boolean confirmSetValue(String name,
String value)
name -
name of preference. Must not be nullvalue -
preference value. Must not be null
true in case the preference may be set, false otherwise
boolean confirmSetValues(String name,
String[] values)
name -
name of preference. Must not be nullvalues -
preference values. Must not be null
true in case the preference may be set, false otherwiseboolean confirmSetReadOnly(String name)
setValue
method is evaluated by the remote system.
name -
name of preference. Must not be null
true in case the readOnly parameter is evaluated, false otherwise.
boolean setValue(String name,
String value)
false.
- Parameters:
name -
name of preference to set the value for. Must not be nullvalue -
preference value to set. Must not be null
- Returns:
-
returns true in case the setting of the value was successful, false otherwise.
boolean setValue(String name,
String value,
boolean readOnly)
name -
name of preference to set the value for. Must not be nullvalue -
preference value to set. Must not be nullreadOnly -
true if a new created preference should be read-only. false otherwise. default: false
boolean setValues(String name,
String[] values)
name -
name of preference to set the value for. Must not be nullvalues -
preference values to set. Must not be null
boolean setValues(String name,
String[] values,
boolean readOnly)
name -
name of preference to set the value for. Must not be nullvalues -
preference values to set. Must not be nullreadOnly -
true if a new created preference should be read-only. false otherwise. default: false
boolean remove(String name)
name -
name of preference to remove. Must not be null
com.ibm.mashups.enabler.widget.WidgetModel#getHierachicalPreferences
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||