Class PortalPreferencesWrapper

java.lang.Object
com.liferay.portlet.PortalPreferencesWrapper
All Implemented Interfaces:
Serializable, Cloneable, javax.portlet.PortletPreferences

public class PortalPreferencesWrapper extends Object implements Cloneable, javax.portlet.PortletPreferences, Serializable
Author:
Alexander Chow
See Also:
  • Constructor Details

    • PortalPreferencesWrapper

      public PortalPreferencesWrapper(PortalPreferencesImpl portalPreferencesImpl)
  • Method Details

    • clone

      public PortalPreferencesWrapper clone()
      Overrides:
      clone in class Object
    • getMap

      public Map<String,String[]> getMap()
      Specified by:
      getMap in interface javax.portlet.PortletPreferences
    • getNames

      public Enumeration<String> getNames()
      Specified by:
      getNames in interface javax.portlet.PortletPreferences
    • getPortalPreferencesImpl

      public PortalPreferencesImpl getPortalPreferencesImpl()
    • getValue

      public String getValue(String key, String def)
      Specified by:
      getValue in interface javax.portlet.PortletPreferences
    • getValues

      public String[] getValues(String key, String[] def)
      Specified by:
      getValues in interface javax.portlet.PortletPreferences
    • isReadOnly

      public boolean isReadOnly(String key)
      Specified by:
      isReadOnly in interface javax.portlet.PortletPreferences
    • reset

      public void reset(String key)
      Specified by:
      reset in interface javax.portlet.PortletPreferences
    • setValue

      public void setValue(String key, String value)
      Specified by:
      setValue in interface javax.portlet.PortletPreferences
    • setValues

      public void setValues(String key, String... values)
      Specified by:
      setValues in interface javax.portlet.PortletPreferences
    • store

      public void store() throws IOException
      Specified by:
      store in interface javax.portlet.PortletPreferences
      Throws:
      IOException