public class PortletPreferencesSettings extends BaseModifiableSettings
Settings.Config, Settings.OverrideClass, Settings.Property
parentSettings
Constructor and Description |
---|
PortletPreferencesSettings(PortletPreferences portletPreferences) |
PortletPreferencesSettings(PortletPreferences portletPreferences,
Settings parentSettings) |
Modifier and Type | Method and Description |
---|---|
protected String |
doGetValue(String key) |
protected String[] |
doGetValues(String key) |
Collection<String> |
getModifiedKeys() |
PortletPreferences |
getPortletPreferences() |
protected boolean |
isNull(String value)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
protected String |
normalizeValue(String value)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
protected String[] |
normalizeValues(String[] values)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
void |
reset(String key) |
ModifiableSettings |
setValue(String key,
String value) |
ModifiableSettings |
setValues(String key,
String[] values) |
void |
store() |
reset, setValues
getModifiableSettings, getParentSettings, getValue, getValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModifiableSettings, getParentSettings, getValue, getValues
public PortletPreferencesSettings(PortletPreferences portletPreferences)
public PortletPreferencesSettings(PortletPreferences portletPreferences, Settings parentSettings)
public Collection<String> getModifiedKeys()
public PortletPreferences getPortletPreferences()
public void reset(String key)
public ModifiableSettings setValue(String key, String value)
public ModifiableSettings setValues(String key, String[] values)
public void store() throws IOException, ValidatorException
IOException
ValidatorException
protected String doGetValue(String key)
doGetValue
in class BaseSettings
protected String[] doGetValues(String key)
doGetValues
in class BaseSettings
@Deprecated protected boolean isNull(String value)
@Deprecated protected String normalizeValue(String value)
@Deprecated protected String[] normalizeValues(String[] values)