public class ServletPortletPreferences extends Object implements javax.portlet.PortletPreferences
Constructor and Description |
---|
ServletPortletPreferences(Map session) |
Modifier and Type | Method and Description |
---|---|
Map |
getMap() |
Enumeration |
getNames() |
String |
getValue(String key,
String def) |
String[] |
getValues(String key,
String[] def) |
boolean |
isReadOnly(String arg0) |
void |
reset(String arg0) |
void |
setValue(String key,
String value) |
void |
setValues(String key,
String[] value) |
void |
store() |
public ServletPortletPreferences(Map session)
public Map getMap()
getMap
in interface javax.portlet.PortletPreferences
public Enumeration getNames()
getNames
in interface javax.portlet.PortletPreferences
public String getValue(String key, String def)
getValue
in interface javax.portlet.PortletPreferences
public String[] getValues(String key, String[] def)
getValues
in interface javax.portlet.PortletPreferences
public boolean isReadOnly(String arg0)
isReadOnly
in interface javax.portlet.PortletPreferences
public void reset(String arg0) throws javax.portlet.ReadOnlyException
reset
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void setValue(String key, String value) throws javax.portlet.ReadOnlyException
setValue
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void setValues(String key, String[] value) throws javax.portlet.ReadOnlyException
setValues
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void store() throws IOException, javax.portlet.ValidatorException
store
in interface javax.portlet.PortletPreferences
IOException
javax.portlet.ValidatorException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.