Java com.liferay.portal.kernel.util ParamUtil fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.util ParamUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.util ParamUtil.

The text is from its open source code.

Constructor

Method

booleanget(HttpServletRequest httpServletRequest, String param, boolean defaultValue)
Returns the request parameter value as a boolean.
doubleget(HttpServletRequest httpServletRequest, String param, double defaultValue)
Returns the request parameter value as a double.
floatget(HttpServletRequest httpServletRequest, String param, float defaultValue)
Returns the request parameter value as a float.
intget(HttpServletRequest httpServletRequest, String param, int defaultValue)
Returns the request parameter value as an integer.
longget(HttpServletRequest httpServletRequest, String param, long defaultValue)
Returns the request parameter value as a long.
Numberget(HttpServletRequest httpServletRequest, String param, Number defaultValue)
Returns the request parameter value as a Number.
shortget(HttpServletRequest httpServletRequest, String param, short defaultValue)
Returns the request parameter value as a short.
Stringget(HttpServletRequest httpServletRequest, String param, String defaultValue)
Returns the request parameter value as a String.
booleanget(PortletRequest portletRequest, String param, boolean defaultValue)
Returns the portlet request parameter value as a boolean.
doubleget(PortletRequest portletRequest, String param, double defaultValue)
Returns the portlet request parameter value as a double.
floatget(PortletRequest portletRequest, String param, float defaultValue)
Returns the portlet request parameter value as a float.
intget(PortletRequest portletRequest, String param, int defaultValue)
Returns the portlet request parameter value as an integer.
longget(PortletRequest portletRequest, String param, long defaultValue)
Returns the portlet request parameter value as a long.
Numberget(PortletRequest portletRequest, String param, Number defaultValue)
Returns the portlet request parameter value as a Number.
shortget(PortletRequest portletRequest, String param, short defaultValue)
Returns the portlet request parameter value as a short.
Stringget(PortletRequest portletRequest, String param, String defaultValue)
Returns the portlet request parameter value as a String.
booleanget(ServiceContext serviceContext, String param, boolean defaultValue)
Returns the service context parameter value as a boolean.
doubleget(ServiceContext serviceContext, String param, double defaultValue)
Returns the service context parameter value as a double.
floatget(ServiceContext serviceContext, String param, float defaultValue)
Returns the service context parameter value as a float.
intget(ServiceContext serviceContext, String param, int defaultValue)
Returns the service context parameter value as an integer.
longget(ServiceContext serviceContext, String param, long defaultValue)
Returns the service context parameter value as a long.
Numberget(ServiceContext serviceContext, String param, Number defaultValue)
Returns the service context parameter value as a Number.
shortget(ServiceContext serviceContext, String param, short defaultValue)
Returns the service context parameter value as a short.
Stringget(ServiceContext serviceContext, String param, String defaultValue)
Returns the service context parameter value as a String.
booleangetBoolean(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a boolean.
booleangetBoolean(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a boolean.
booleangetBoolean(ServiceContext serviceContext, String param)
Returns the service context parameter value as a boolean.
booleangetBoolean(HttpServletRequest httpServletRequest, String param, boolean defaultValue)
Returns the request parameter value as a boolean.
booleangetBoolean(PortletRequest portletRequest, String param, boolean defaultValue)
Returns the portlet request parameter value as a boolean.
booleangetBoolean(ServiceContext serviceContext, String param, boolean defaultValue)
Returns the service context parameter value as a boolean.
DategetDate(HttpServletRequest httpServletRequest, String param, DateFormat dateFormat)
Returns the request parameter value as a Date.
DategetDate(PortletRequest portletRequest, String param, DateFormat dateFormat)
Returns the portlet request parameter value as a Date.
DategetDate(ServiceContext serviceContext, String param, DateFormat dateFormat)
Returns the service context parameter value as a Date.
doublegetDouble(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a double.
doublegetDouble(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a double.
doublegetDouble(ServiceContext serviceContext, String param)
Returns the service context parameter value as a double.
doublegetDouble(HttpServletRequest httpServletRequest, String param, double defaultValue)
Returns the request parameter value as a double.
doublegetDouble(HttpServletRequest httpServletRequest, String param, Locale locale)
Returns the request parameter value as a double.
doublegetDouble(PortletRequest portletRequest, String param, double defaultValue)
Returns the portlet request parameter value as a double.
doublegetDouble(PortletRequest portletRequest, String param, Locale locale)
Returns the portlet request parameter value as a double.
doublegetDouble(ServiceContext serviceContext, String param, double defaultValue)
Returns the service context parameter value as a double.
floatgetFloat(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a float.
floatgetFloat(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a float.
floatgetFloat(ServiceContext serviceContext, String param)
Returns the service context parameter value as a float.
intgetInteger(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as an integer.
intgetInteger(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as an integer.
intgetInteger(ServiceContext serviceContext, String param)
Returns the service context parameter value as an integer.
intgetInteger(HttpServletRequest httpServletRequest, String param, int defaultValue)
Returns the request parameter value as an integer.
intgetInteger(PortletRequest portletRequest, String param, int defaultValue)
Returns the portlet request parameter value as an integer.
intgetInteger(ServiceContext serviceContext, String param, int defaultValue)
Returns the service context parameter value as an integer.
int[]getIntegerValues(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as an integer array.
int[]getIntegerValues(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as an integer array.
int[]getIntegerValues(ServiceContext serviceContext, String param)
Returns the service context parameter value as an integer array.
longgetLong(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a long.
longgetLong(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a long.
longgetLong(ServiceContext serviceContext, String param)
Returns the service context parameter value as a long.
longgetLong(HttpServletRequest httpServletRequest, String param, long defaultValue)
Returns the request parameter value as a long.
longgetLong(PortletRequest portletRequest, String param, long defaultValue)
Returns the portlet request parameter value as a long.
longgetLong(ServiceContext serviceContext, String param, long defaultValue)
Returns the service context parameter value as a long.
long[]getLongValues(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a long array.
long[]getLongValues(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a long array.
long[]getLongValues(ServiceContext serviceContext, String param)
Returns the service context parameter value as a long array.
long[]getLongValues(HttpServletRequest httpServletRequest, String param, long[] defaultValue)
Returns the request parameter value as a long array.
long[]getLongValues(PortletRequest portletRequest, String param, long[] defaultValue)
Returns the portlet request parameter value as a long array.
long[]getLongValues(ServiceContext serviceContext, String param, long[] defaultValue)
Returns the service context parameter value as a long array.
NumbergetNumber(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a Number.
NumbergetNumber(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a Number.
NumbergetNumber(ServiceContext serviceContext, String param)
Returns the service context parameter value as a Number.
String[]getParameterValues(HttpServletRequest httpServletRequest, String param, String[] defaultValue)
Returns the request parameter value as a String array.
String[]getParameterValues(PortletRequest portletRequest, String param, String[] defaultValue)
Returns the portlet request parameter value as a String array.
String[]getParameterValues(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a String array.
String[]getParameterValues(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a String array.
String[]getParameterValues(HttpServletRequest httpServletRequest, String param, String[] defaultValue, boolean split)
Returns the request parameter value as a String array.
String[]getParameterValues(PortletRequest portletRequest, String param, String[] defaultValue, boolean split)
Returns the portlet request parameter value as a String array.
shortgetShort(HttpServletRequest httpServletRequest, String param, short defaultValue)
Returns the request parameter value as a short.
shortgetShort(PortletRequest portletRequest, String param, short defaultValue)
Returns the portlet request parameter value as a short.
shortgetShort(ServiceContext serviceContext, String param, short defaultValue)
Returns the service context parameter value as a short.
shortgetShort(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a short.
shortgetShort(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a short.
shortgetShort(ServiceContext serviceContext, String param)
Returns the service context parameter value as a short.
StringgetString(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a String.
StringgetString(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a String.
StringgetString(ServiceContext serviceContext, String param)
Returns the service context parameter value as a String.
StringgetString(HttpServletRequest httpServletRequest, String param, String defaultValue)
Returns the request parameter value as a String.
StringgetString(PortletRequest portletRequest, String param, String defaultValue)
Returns the portlet request parameter value as a String.
StringgetString(ServiceContext serviceContext, String param, String defaultValue)
Returns the service context parameter value as a String.
String[]getStringValues(HttpServletRequest httpServletRequest, String param)
Returns the request parameter value as a String array.
String[]getStringValues(PortletRequest portletRequest, String param)
Returns the portlet request parameter value as a String array.
String[]getStringValues(ServiceContext serviceContext, String param)
Returns the service context parameter value as a String array.
voidprint(HttpServletRequest httpServletRequest)
Prints all the request parameters as standard output.
voidprint(PortletRequest portletRequest)
Prints all the portlet request parameters as standard output.
voidprint(ServiceContext serviceContext)
Prints all the service context parameters as standard output.