com.liferay.portal.kernel.dao.search
Class DAOParamUtil

java.lang.Object
  extended by com.liferay.portal.kernel.dao.search.DAOParamUtil

public class DAOParamUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
DAOParamUtil()
           
 
Method Summary
static boolean getBoolean(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static boolean getBoolean(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
static int getInteger(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static int getInteger(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
static java.lang.String getISODate(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static java.lang.String getISODate(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
static java.lang.String getLike(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static java.lang.String getLike(javax.servlet.http.HttpServletRequest request, java.lang.String param, boolean toLowerCase)
           
static java.lang.String getLike(javax.servlet.http.HttpServletRequest request, java.lang.String param, java.lang.String defaultValue)
           
static java.lang.String getLike(javax.servlet.http.HttpServletRequest request, java.lang.String param, java.lang.String defaultValue, boolean toLowerCase)
           
static java.lang.String getLike(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
static java.lang.String getLike(javax.portlet.PortletRequest portletRequest, java.lang.String param, boolean toLowerCase)
           
static java.lang.String getLike(javax.portlet.PortletRequest portletRequest, java.lang.String param, java.lang.String defaultValue)
           
static java.lang.String getLike(javax.portlet.PortletRequest portletRequest, java.lang.String param, java.lang.String defaultValue, boolean toLowerCase)
           
static long getLong(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static long getLong(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
static short getShort(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static short getShort(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
static java.lang.String getString(javax.servlet.http.HttpServletRequest request, java.lang.String param)
           
static java.lang.String getString(javax.portlet.PortletRequest portletRequest, java.lang.String param)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOParamUtil

public DAOParamUtil()
Method Detail

getBoolean

public static boolean getBoolean(javax.servlet.http.HttpServletRequest request,
                                 java.lang.String param)

getInteger

public static int getInteger(javax.servlet.http.HttpServletRequest request,
                             java.lang.String param)

getISODate

public static java.lang.String getISODate(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String param)

getLike

public static java.lang.String getLike(javax.servlet.http.HttpServletRequest request,
                                       java.lang.String param)

getLike

public static java.lang.String getLike(javax.servlet.http.HttpServletRequest request,
                                       java.lang.String param,
                                       java.lang.String defaultValue)

getLike

public static java.lang.String getLike(javax.servlet.http.HttpServletRequest request,
                                       java.lang.String param,
                                       boolean toLowerCase)

getLike

public static java.lang.String getLike(javax.servlet.http.HttpServletRequest request,
                                       java.lang.String param,
                                       java.lang.String defaultValue,
                                       boolean toLowerCase)

getLong

public static long getLong(javax.servlet.http.HttpServletRequest request,
                           java.lang.String param)

getShort

public static short getShort(javax.servlet.http.HttpServletRequest request,
                             java.lang.String param)

getString

public static java.lang.String getString(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String param)

getBoolean

public static boolean getBoolean(javax.portlet.PortletRequest portletRequest,
                                 java.lang.String param)

getInteger

public static int getInteger(javax.portlet.PortletRequest portletRequest,
                             java.lang.String param)

getISODate

public static java.lang.String getISODate(javax.portlet.PortletRequest portletRequest,
                                          java.lang.String param)

getLike

public static java.lang.String getLike(javax.portlet.PortletRequest portletRequest,
                                       java.lang.String param)

getLike

public static java.lang.String getLike(javax.portlet.PortletRequest portletRequest,
                                       java.lang.String param,
                                       java.lang.String defaultValue)

getLike

public static java.lang.String getLike(javax.portlet.PortletRequest portletRequest,
                                       java.lang.String param,
                                       boolean toLowerCase)

getLike

public static java.lang.String getLike(javax.portlet.PortletRequest portletRequest,
                                       java.lang.String param,
                                       java.lang.String defaultValue,
                                       boolean toLowerCase)

getLong

public static long getLong(javax.portlet.PortletRequest portletRequest,
                           java.lang.String param)

getShort

public static short getShort(javax.portlet.PortletRequest portletRequest,
                             java.lang.String param)

getString

public static java.lang.String getString(javax.portlet.PortletRequest portletRequest,
                                         java.lang.String param)