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.PortletPreferencespublic Enumeration getNames()
getNames in interface javax.portlet.PortletPreferencespublic String getValue(String key, String def)
getValue in interface javax.portlet.PortletPreferencespublic String[] getValues(String key, String[] def)
getValues in interface javax.portlet.PortletPreferencespublic boolean isReadOnly(String arg0)
isReadOnly in interface javax.portlet.PortletPreferencespublic void reset(String arg0) throws javax.portlet.ReadOnlyException
reset in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void setValue(String key, String value) throws javax.portlet.ReadOnlyException
setValue in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void setValues(String key, String[] value) throws javax.portlet.ReadOnlyException
setValues in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void store()
           throws IOException,
                  javax.portlet.ValidatorException
store in interface javax.portlet.PortletPreferencesIOExceptionjavax.portlet.ValidatorExceptionCopyright © 2000–2025 Apache Software Foundation. All rights reserved.