Class PortalPreferencesWrapper

Object
com.liferay.portlet.PortalPreferencesWrapper
All Implemented Interfaces:
jakarta.portlet.PortletPreferences, Serializable, Cloneable

public class PortalPreferencesWrapper extends Object implements Cloneable, jakarta.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 jakarta.portlet.PortletPreferences
    • getNames

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

      public PortalPreferencesImpl getPortalPreferencesImpl()
    • getValue

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

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

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

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

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

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

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