Package com.liferay.portal.kernel.util
Class PropertiesParamUtil
Object
com.liferay.portal.kernel.util.PropertiesParamUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBoolean(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) static booleangetBoolean(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, boolean defaultValue) static booleangetBoolean(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static booleangetBoolean(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static booleangetBoolean(Properties properties, PortletRequest portletRequest, String param) static booleangetBoolean(Properties properties, PortletRequest portletRequest, String param, boolean defaultValue) static booleangetBoolean(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static booleangetBoolean(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static doublegetDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) static doublegetDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, double defaultValue) static doublegetDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, Locale locale) static doublegetDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static doublegetDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static doublegetDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale) static doublegetDouble(Properties properties, PortletRequest portletRequest, String param) static doublegetDouble(Properties properties, PortletRequest portletRequest, String param, double defaultValue) static doublegetDouble(Properties properties, PortletRequest portletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(Properties properties, PortletRequest portletRequest, String param, Locale locale) static doublegetDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static doublegetDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static doublegetDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale) static intgetInteger(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) static intgetInteger(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, int defaultValue) static intgetInteger(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static intgetInteger(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static intgetInteger(Properties properties, PortletRequest portletRequest, String param) static intgetInteger(Properties properties, PortletRequest portletRequest, String param, int defaultValue) static intgetInteger(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static intgetInteger(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static longgetLong(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) static longgetLong(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, long defaultValue) static longgetLong(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static longgetLong(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) static longgetLong(Properties properties, PortletRequest portletRequest, String param) static longgetLong(Properties properties, PortletRequest portletRequest, String param, long defaultValue) static longgetLong(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static longgetLong(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) static UnicodePropertiesgetProperties(ServiceContext serviceContext, String prefix) static UnicodePropertiesgetProperties(PortletRequest portletRequest, String prefix) static UnicodePropertiesgetProperties(javax.servlet.http.HttpServletRequest httpServletRequest, String prefix) static StringgetString(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) static StringgetString(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, String defaultValue) static StringgetString(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static StringgetString(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue) static StringgetString(Properties properties, PortletRequest portletRequest, String param) static StringgetString(Properties properties, PortletRequest portletRequest, String param, String defaultValue) static StringgetString(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static StringgetString(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
-
Constructor Details
-
PropertiesParamUtil
public PropertiesParamUtil()
-
-
Method Details
-
getBoolean
public static boolean getBoolean(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getBoolean
public static boolean getBoolean(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) -
getBoolean
public static boolean getBoolean(Properties properties, PortletRequest portletRequest, String param) -
getBoolean
public static boolean getBoolean(Properties properties, PortletRequest portletRequest, String param, boolean defaultValue) -
getBoolean
public static boolean getBoolean(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getBoolean
public static boolean getBoolean(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) -
getBoolean
public static boolean getBoolean(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) -
getBoolean
public static boolean getBoolean(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, boolean defaultValue) -
getDouble
public static double getDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getDouble
public static double getDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) -
getDouble
public static double getDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) -
getDouble
public static double getDouble(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale) -
getDouble
-
getDouble
public static double getDouble(Properties properties, PortletRequest portletRequest, String param, double defaultValue) -
getDouble
public static double getDouble(Properties properties, PortletRequest portletRequest, String param, double defaultValue, Locale locale) -
getDouble
public static double getDouble(Properties properties, PortletRequest portletRequest, String param, Locale locale) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, double defaultValue) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, double defaultValue, Locale locale) -
getDouble
public static double getDouble(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, Locale locale) -
getInteger
public static int getInteger(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getInteger
public static int getInteger(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) -
getInteger
-
getInteger
public static int getInteger(Properties properties, PortletRequest portletRequest, String param, int defaultValue) -
getInteger
public static int getInteger(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getInteger
public static int getInteger(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) -
getInteger
public static int getInteger(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) -
getInteger
public static int getInteger(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, int defaultValue) -
getLong
public static long getLong(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getLong
public static long getLong(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) -
getLong
-
getLong
public static long getLong(Properties properties, PortletRequest portletRequest, String param, long defaultValue) -
getLong
public static long getLong(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getLong
public static long getLong(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) -
getLong
public static long getLong(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) -
getLong
public static long getLong(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, long defaultValue) -
getProperties
public static UnicodeProperties getProperties(javax.servlet.http.HttpServletRequest httpServletRequest, String prefix) -
getProperties
-
getProperties
-
getString
public static String getString(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getString
public static String getString(Properties properties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue) -
getString
-
getString
public static String getString(Properties properties, PortletRequest portletRequest, String param, String defaultValue) -
getString
public static String getString(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param) -
getString
public static String getString(UnicodeProperties unicodeProperties, javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue) -
getString
public static String getString(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param) -
getString
public static String getString(UnicodeProperties unicodeProperties, PortletRequest portletRequest, String param, String defaultValue)
-