public class PortletPreferencesWrapper extends Object implements PortletPreferences, Serializable
Constructor and Description |
---|
PortletPreferencesWrapper(PortletPreferences portletPreferences) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Map<String,String[]> |
getMap() |
Enumeration<String> |
getNames() |
PortletPreferencesImpl |
getPortletPreferencesImpl() |
String |
getValue(String key,
String def) |
String[] |
getValues(String key,
String[] def) |
int |
hashCode() |
boolean |
isReadOnly(String key) |
void |
reset(String key) |
void |
setValue(String key,
String value) |
void |
setValues(String key,
String[] values) |
void |
store() |
public PortletPreferencesWrapper(PortletPreferences portletPreferences)
public boolean equals(Object obj)
equals
in class Object
public Map<String,String[]> getMap()
getMap
in interface PortletPreferences
public Enumeration<String> getNames()
getNames
in interface PortletPreferences
public PortletPreferencesImpl getPortletPreferencesImpl()
public String getValue(String key, String def)
getValue
in interface PortletPreferences
public String[] getValues(String key, String[] def)
getValues
in interface PortletPreferences
public int hashCode()
hashCode
in class Object
public boolean isReadOnly(String key)
isReadOnly
in interface PortletPreferences
public void reset(String key) throws ReadOnlyException
reset
in interface PortletPreferences
ReadOnlyException
public void setValue(String key, String value) throws ReadOnlyException
setValue
in interface PortletPreferences
ReadOnlyException
public void setValues(String key, String[] values) throws ReadOnlyException
setValues
in interface PortletPreferences
ReadOnlyException
public void store() throws IOException, ValidatorException
store
in interface PortletPreferences
IOException
ValidatorException