Package com.liferay.portal.kernel.bean
Class BeanParamUtil
Object
com.liferay.portal.kernel.bean.BeanParamUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBoolean(Object bean, PortletRequest portletRequest, String param) static booleangetBoolean(Object bean, PortletRequest portletRequest, String param, boolean defaultValue) static booleangetBoolean(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static booleangetBoolean(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static booleangetBooleanSilent(Object bean, PortletRequest portletRequest, String param) static booleangetBooleanSilent(Object bean, PortletRequest portletRequest, String param, boolean defaultValue) static booleangetBooleanSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static booleangetBooleanSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, boolean defaultValue) static doublegetDouble(Object bean, PortletRequest portletRequest, String param) static doublegetDouble(Object bean, PortletRequest portletRequest, String param, double defaultValue) static doublegetDouble(Object bean, PortletRequest portletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(Object bean, PortletRequest portletRequest, String param, Locale locale) static doublestatic doublegetDouble(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static doublegetDouble(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static doublegetDouble(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale) static doublegetDoubleSilent(Object bean, PortletRequest portletRequest, String param) static doublegetDoubleSilent(Object bean, PortletRequest portletRequest, String param, double defaultValue) static doublegetDoubleSilent(Object bean, PortletRequest portletRequest, String param, double defaultValue, Locale locale) static doublegetDoubleSilent(Object bean, PortletRequest portletRequest, String param, Locale locale) static doublegetDoubleSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static doublegetDoubleSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue) static doublegetDoubleSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, double defaultValue, Locale locale) static doublegetDoubleSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, Locale locale) static intgetInteger(Object bean, PortletRequest portletRequest, String param) static intgetInteger(Object bean, PortletRequest portletRequest, String param, int defaultValue) static intgetInteger(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static intgetInteger(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static intgetIntegerSilent(Object bean, PortletRequest portletRequest, String param) static intgetIntegerSilent(Object bean, PortletRequest portletRequest, String param, int defaultValue) static intgetIntegerSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static intgetIntegerSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, int defaultValue) static longgetLong(Object bean, PortletRequest portletRequest, String param) static longgetLong(Object bean, PortletRequest portletRequest, String param, long defaultValue) static longstatic longgetLong(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) static longgetLongSilent(Object bean, PortletRequest portletRequest, String param) static longgetLongSilent(Object bean, PortletRequest portletRequest, String param, long defaultValue) static longgetLongSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static longgetLongSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, long defaultValue) static StringgetString(Object bean, PortletRequest portletRequest, String param) static StringgetString(Object bean, PortletRequest portletRequest, String param, String defaultValue) static Stringstatic StringgetString(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue) static StringgetStringSilent(Object bean, PortletRequest portletRequest, String param) static StringgetStringSilent(Object bean, PortletRequest portletRequest, String param, String defaultValue) static StringgetStringSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param) static StringgetStringSilent(Object bean, javax.servlet.http.HttpServletRequest httpServletRequest, String param, String defaultValue)
-
Constructor Details
-
BeanParamUtil
public BeanParamUtil()
-
-
Method Details
-
getBoolean
-
getBoolean
-
getBoolean
-
getBoolean
public static boolean getBoolean(Object bean, PortletRequest portletRequest, String param, boolean defaultValue) -
getBooleanSilent
-
getBooleanSilent
-
getBooleanSilent
-
getBooleanSilent
public static boolean getBooleanSilent(Object bean, PortletRequest portletRequest, String param, boolean defaultValue) -
getDouble
-
getDouble
-
getDouble
-
getDouble
-
getDouble
-
getDouble
public static double getDouble(Object bean, PortletRequest portletRequest, String param, double defaultValue) -
getDouble
public static double getDouble(Object bean, PortletRequest portletRequest, String param, double defaultValue, Locale locale) -
getDouble
public static double getDouble(Object bean, PortletRequest portletRequest, String param, Locale locale) -
getDoubleSilent
-
getDoubleSilent
-
getDoubleSilent
-
getDoubleSilent
-
getDoubleSilent
-
getDoubleSilent
public static double getDoubleSilent(Object bean, PortletRequest portletRequest, String param, double defaultValue) -
getDoubleSilent
public static double getDoubleSilent(Object bean, PortletRequest portletRequest, String param, double defaultValue, Locale locale) -
getDoubleSilent
public static double getDoubleSilent(Object bean, PortletRequest portletRequest, String param, Locale locale) -
getInteger
-
getInteger
-
getInteger
-
getInteger
public static int getInteger(Object bean, PortletRequest portletRequest, String param, int defaultValue) -
getIntegerSilent
-
getIntegerSilent
-
getIntegerSilent
-
getIntegerSilent
public static int getIntegerSilent(Object bean, PortletRequest portletRequest, String param, int defaultValue) -
getLong
-
getLong
-
getLong
-
getLong
public static long getLong(Object bean, PortletRequest portletRequest, String param, long defaultValue) -
getLongSilent
-
getLongSilent
-
getLongSilent
-
getLongSilent
public static long getLongSilent(Object bean, PortletRequest portletRequest, String param, long defaultValue) -
getString
-
getString
-
getString
-
getString
public static String getString(Object bean, PortletRequest portletRequest, String param, String defaultValue) -
getStringSilent
-
getStringSilent
-
getStringSilent
-
getStringSilent
public static String getStringSilent(Object bean, PortletRequest portletRequest, String param, String defaultValue)
-