Liferay 7.0-ce-b4

com.liferay.portal.kernel.settings
Class PortletPreferencesSettings

java.lang.Object
  extended by com.liferay.portal.kernel.settings.BaseSettings
      extended by com.liferay.portal.kernel.settings.BaseModifiableSettings
          extended by com.liferay.portal.kernel.settings.PortletPreferencesSettings
All Implemented Interfaces:
ModifiableSettings, Settings

public class PortletPreferencesSettings
extends BaseModifiableSettings


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.liferay.portal.kernel.settings.Settings
Settings.Config, Settings.OverrideClass, Settings.Property
 
Field Summary
 
Fields inherited from class com.liferay.portal.kernel.settings.BaseSettings
parentSettings
 
Constructor Summary
PortletPreferencesSettings(PortletPreferences portletPreferences)
           
PortletPreferencesSettings(PortletPreferences portletPreferences, Settings parentSettings)
           
 
Method Summary
protected  String doGetValue(String key)
           
protected  String[] doGetValues(String key)
           
 Collection<String> getModifiedKeys()
           
 PortletPreferences getPortletPreferences()
           
protected  boolean isNull(String value)
           
protected  String normalizeValue(String value)
           
protected  String[] normalizeValues(String[] values)
           
 void reset(String key)
           
 ModifiableSettings setValue(String key, String value)
           
 ModifiableSettings setValues(String key, String[] values)
           
 void store()
           
 
Methods inherited from class com.liferay.portal.kernel.settings.BaseModifiableSettings
reset, setValues
 
Methods inherited from class com.liferay.portal.kernel.settings.BaseSettings
getModifiableSettings, getParentSettings, getValue, getValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.settings.Settings
getModifiableSettings, getParentSettings, getValue, getValues
 

Constructor Detail

PortletPreferencesSettings

public PortletPreferencesSettings(PortletPreferences portletPreferences)

PortletPreferencesSettings

public PortletPreferencesSettings(PortletPreferences portletPreferences,
                                  Settings parentSettings)
Method Detail

getModifiedKeys

public Collection<String> getModifiedKeys()

getPortletPreferences

public PortletPreferences getPortletPreferences()

reset

public void reset(String key)

setValue

public ModifiableSettings setValue(String key,
                                   String value)

setValues

public ModifiableSettings setValues(String key,
                                    String[] values)

store

public void store()
           throws IOException,
                  ValidatorException
Throws:
IOException
ValidatorException

doGetValue

protected String doGetValue(String key)
Specified by:
doGetValue in class BaseSettings

doGetValues

protected String[] doGetValues(String key)
Specified by:
doGetValues in class BaseSettings

isNull

protected boolean isNull(String value)

normalizeValue

protected String normalizeValue(String value)

normalizeValues

protected String[] normalizeValues(String[] values)

Liferay 7.0-ce-b4