Class PrefsParamUtil

Object
com.liferay.portal.kernel.util.PrefsParamUtil

public class PrefsParamUtil extends Object
Author:
Brian Wing Shun Chan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
     
    static boolean
    getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, boolean defaultValue)
     
    static boolean
    getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static boolean
    getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue, Locale locale)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, Locale locale)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale)
     
    static double
    getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale)
     
    static int
    getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
     
    static int
    getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, int defaultValue)
     
    static int
    getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static int
    getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue)
     
    static long
    getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
     
    static long
    getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, long defaultValue)
     
    static long
    getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static long
    getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue)
     
    static String
    getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
     
    static String
    getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, String defaultValue)
     
    static String
    getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
     
    static String
    getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PrefsParamUtil

      public PrefsParamUtil()
  • Method Details

    • getBoolean

      public static boolean getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
    • getBoolean

      public static boolean getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue)
    • getBoolean

      public static boolean getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
    • getBoolean

      public static boolean getBoolean(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, boolean defaultValue)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, double defaultValue, Locale locale)
    • getDouble

      public static double getDouble(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, Locale locale)
    • getInteger

      public static int getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
    • getInteger

      public static int getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue)
    • getInteger

      public static int getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
    • getInteger

      public static int getInteger(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, int defaultValue)
    • getLong

      public static long getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
    • getLong

      public static long getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue)
    • getLong

      public static long getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
    • getLong

      public static long getLong(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, long defaultValue)
    • getString

      public static String getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param)
    • getString

      public static String getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
    • getString

      public static String getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param)
    • getString

      public static String getString(jakarta.portlet.PortletPreferences portletPreferences, jakarta.portlet.PortletRequest portletRequest, String param, String defaultValue)