public class PortletPreferencesImpl
extends java.lang.Object
implements javax.portlet.PortletPreferences
Constructor and Description |
---|
PortletPreferencesImpl(java.lang.Integer methodId,
PortletDefinition portletDefinition) |
PortletPreferencesImpl(java.lang.Integer methodId,
PortletEntity portletEntity) |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getMap() |
java.util.Enumeration |
getNames() |
java.lang.String |
getValue(java.lang.String key,
java.lang.String def) |
java.lang.String[] |
getValues(java.lang.String key,
java.lang.String[] def) |
boolean |
isReadOnly(java.lang.String key) |
void |
reset(java.lang.String key) |
void |
setValue(java.lang.String key,
java.lang.String value) |
void |
setValues(java.lang.String key,
java.lang.String[] values) |
void |
store() |
public PortletPreferencesImpl(java.lang.Integer methodId, PortletEntity portletEntity)
public PortletPreferencesImpl(java.lang.Integer methodId, PortletDefinition portletDefinition)
public boolean isReadOnly(java.lang.String key)
isReadOnly
in interface javax.portlet.PortletPreferences
public java.lang.String getValue(java.lang.String key, java.lang.String def)
getValue
in interface javax.portlet.PortletPreferences
public java.lang.String[] getValues(java.lang.String key, java.lang.String[] def)
getValues
in interface javax.portlet.PortletPreferences
public void setValue(java.lang.String key, java.lang.String value) throws javax.portlet.ReadOnlyException
setValue
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void setValues(java.lang.String key, java.lang.String[] values) throws javax.portlet.ReadOnlyException
setValues
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public java.util.Enumeration getNames()
getNames
in interface javax.portlet.PortletPreferences
public java.util.Map getMap()
getMap
in interface javax.portlet.PortletPreferences
public void reset(java.lang.String key) throws javax.portlet.ReadOnlyException
reset
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void store() throws java.io.IOException, javax.portlet.ValidatorException
store
in interface javax.portlet.PortletPreferences
java.io.IOException
javax.portlet.ValidatorException
Copyright © 2003-2013 . All Rights Reserved.