Class PortletPreferencesWrapper

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

public class PortletPreferencesWrapper extends Object implements jakarta.portlet.PortletPreferences, Serializable
Author:
Brian Wing Shun Chan
See Also:
  • Constructor Details

    • PortletPreferencesWrapper

      public PortletPreferencesWrapper(jakarta.portlet.PortletPreferences portletPreferences)
  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals 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
    • getPortletPreferencesImpl

      public PortletPreferencesImpl getPortletPreferencesImpl()
    • 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
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isReadOnly

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

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

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

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

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