Liferay 6.0.5

com.liferay.portal.kernel.util
Class ParamUtil_IW

java.lang.Object
  extended by com.liferay.portal.kernel.util.ParamUtil_IW

public class ParamUtil_IW
extends Object


Method Summary
 boolean get(javax.servlet.http.HttpServletRequest request, String param, boolean defaultValue)
           
 Date get(javax.servlet.http.HttpServletRequest request, String param, DateFormat dateFormat, Date defaultValue)
           
 double get(javax.servlet.http.HttpServletRequest request, String param, double defaultValue)
           
 float get(javax.servlet.http.HttpServletRequest request, String param, float defaultValue)
           
 int get(javax.servlet.http.HttpServletRequest request, String param, int defaultValue)
           
 long get(javax.servlet.http.HttpServletRequest request, String param, long defaultValue)
           
 short get(javax.servlet.http.HttpServletRequest request, String param, short defaultValue)
           
 String get(javax.servlet.http.HttpServletRequest request, String param, String defaultValue)
           
 boolean get(PortletRequest portletRequest, String param, boolean defaultValue)
           
 Date get(PortletRequest portletRequest, String param, DateFormat dateFormat, Date defaultValue)
           
 double get(PortletRequest portletRequest, String param, double defaultValue)
           
 float get(PortletRequest portletRequest, String param, float defaultValue)
           
 int get(PortletRequest portletRequest, String param, int defaultValue)
           
 long get(PortletRequest portletRequest, String param, long defaultValue)
           
 short get(PortletRequest portletRequest, String param, short defaultValue)
           
 String get(PortletRequest portletRequest, String param, String defaultValue)
           
 boolean get(ServiceContext serviceContext, String param, boolean defaultValue)
           
 Date get(ServiceContext serviceContext, String param, DateFormat dateFormat, Date defaultValue)
           
 double get(ServiceContext serviceContext, String param, double defaultValue)
           
 float get(ServiceContext serviceContext, String param, float defaultValue)
           
 int get(ServiceContext serviceContext, String param, int defaultValue)
           
 long get(ServiceContext serviceContext, String param, long defaultValue)
           
 short get(ServiceContext serviceContext, String param, short defaultValue)
           
 String get(ServiceContext serviceContext, String param, String defaultValue)
           
 boolean getBoolean(javax.servlet.http.HttpServletRequest request, String param)
           
 boolean getBoolean(javax.servlet.http.HttpServletRequest request, String param, boolean defaultValue)
           
 boolean getBoolean(PortletRequest portletRequest, String param)
           
 boolean getBoolean(PortletRequest portletRequest, String param, boolean defaultValue)
           
 boolean getBoolean(ServiceContext serviceContext, String param)
           
 boolean getBoolean(ServiceContext serviceContext, String param, boolean defaultValue)
           
 boolean[] getBooleanValues(javax.servlet.http.HttpServletRequest request, String param)
           
 boolean[] getBooleanValues(javax.servlet.http.HttpServletRequest request, String param, boolean[] defaultValue)
           
 boolean[] getBooleanValues(PortletRequest portletRequest, String param)
           
 boolean[] getBooleanValues(PortletRequest portletRequest, String param, boolean[] defaultValue)
           
 boolean[] getBooleanValues(ServiceContext serviceContext, String param)
           
 boolean[] getBooleanValues(ServiceContext serviceContext, String param, boolean[] defaultValue)
           
 Date getDate(javax.servlet.http.HttpServletRequest request, String param, DateFormat dateFormat)
           
 Date getDate(javax.servlet.http.HttpServletRequest request, String param, DateFormat dateFormat, Date defaultValue)
           
 Date getDate(PortletRequest portletRequest, String param, DateFormat dateFormat)
           
 Date getDate(PortletRequest portletRequest, String param, DateFormat dateFormat, Date defaultValue)
           
 Date getDate(ServiceContext serviceContext, String param, DateFormat dateFormat)
           
 Date getDate(ServiceContext serviceContext, String param, DateFormat dateFormat, Date defaultValue)
           
 Date[] getDateValues(javax.servlet.http.HttpServletRequest request, String param, DateFormat dateFormat)
           
 Date[] getDateValues(javax.servlet.http.HttpServletRequest request, String param, DateFormat dateFormat, Date[] defaultValue)
           
 Date[] getDateValues(PortletRequest portletRequest, String param, DateFormat dateFormat)
           
 Date[] getDateValues(PortletRequest portletRequest, String param, DateFormat dateFormat, Date[] defaultValue)
           
 Date[] getDateValues(ServiceContext serviceContext, String param, DateFormat dateFormat)
           
 Date[] getDateValues(ServiceContext serviceContext, String param, DateFormat dateFormat, Date[] defaultValue)
           
 double getDouble(javax.servlet.http.HttpServletRequest request, String param)
           
 double getDouble(javax.servlet.http.HttpServletRequest request, String param, double defaultValue)
           
 double getDouble(PortletRequest portletRequest, String param)
           
 double getDouble(PortletRequest portletRequest, String param, double defaultValue)
           
 double getDouble(ServiceContext serviceContext, String param)
           
 double getDouble(ServiceContext serviceContext, String param, double defaultValue)
           
 double[] getDoubleValues(javax.servlet.http.HttpServletRequest request, String param)
           
 double[] getDoubleValues(javax.servlet.http.HttpServletRequest request, String param, double[] defaultValue)
           
 double[] getDoubleValues(PortletRequest portletRequest, String param)
           
 double[] getDoubleValues(PortletRequest portletRequest, String param, double[] defaultValue)
           
 double[] getDoubleValues(ServiceContext serviceContext, String param)
           
 double[] getDoubleValues(ServiceContext serviceContext, String param, double[] defaultValue)
           
 float getFloat(javax.servlet.http.HttpServletRequest request, String param)
           
 float getFloat(javax.servlet.http.HttpServletRequest request, String param, float defaultValue)
           
 float getFloat(PortletRequest portletRequest, String param)
           
 float getFloat(PortletRequest portletRequest, String param, float defaultValue)
           
 float getFloat(ServiceContext serviceContext, String param)
           
 float getFloat(ServiceContext serviceContext, String param, float defaultValue)
           
 float[] getFloatValues(javax.servlet.http.HttpServletRequest request, String param)
           
 float[] getFloatValues(javax.servlet.http.HttpServletRequest request, String param, float[] defaultValue)
           
 float[] getFloatValues(PortletRequest portletRequest, String param)
           
 float[] getFloatValues(PortletRequest portletRequest, String param, float[] defaultValue)
           
 float[] getFloatValues(ServiceContext serviceContext, String param)
           
 float[] getFloatValues(ServiceContext serviceContext, String param, float[] defaultValue)
           
static ParamUtil_IW getInstance()
           
 int getInteger(javax.servlet.http.HttpServletRequest request, String param)
           
 int getInteger(javax.servlet.http.HttpServletRequest request, String param, int defaultValue)
           
 int getInteger(PortletRequest portletRequest, String param)
           
 int getInteger(PortletRequest portletRequest, String param, int defaultValue)
           
 int getInteger(ServiceContext serviceContext, String param)
           
 int getInteger(ServiceContext serviceContext, String param, int defaultValue)
           
 int[] getIntegerValues(javax.servlet.http.HttpServletRequest request, String param)
           
 int[] getIntegerValues(javax.servlet.http.HttpServletRequest request, String param, int[] defaultValue)
           
 int[] getIntegerValues(PortletRequest portletRequest, String param)
           
 int[] getIntegerValues(PortletRequest portletRequest, String param, int[] defaultValue)
           
 int[] getIntegerValues(ServiceContext serviceContext, String param)
           
 int[] getIntegerValues(ServiceContext serviceContext, String param, int[] defaultValue)
           
 long getLong(javax.servlet.http.HttpServletRequest request, String param)
           
 long getLong(javax.servlet.http.HttpServletRequest request, String param, long defaultValue)
           
 long getLong(PortletRequest portletRequest, String param)
           
 long getLong(PortletRequest portletRequest, String param, long defaultValue)
           
 long getLong(ServiceContext serviceContext, String param)
           
 long getLong(ServiceContext serviceContext, String param, long defaultValue)
           
 long[] getLongValues(javax.servlet.http.HttpServletRequest request, String param)
           
 long[] getLongValues(javax.servlet.http.HttpServletRequest request, String param, long[] defaultValue)
           
 long[] getLongValues(PortletRequest portletRequest, String param)
           
 long[] getLongValues(PortletRequest portletRequest, String param, long[] defaultValue)
           
 long[] getLongValues(ServiceContext serviceContext, String param)
           
 long[] getLongValues(ServiceContext serviceContext, String param, long[] defaultValue)
           
 short getShort(javax.servlet.http.HttpServletRequest request, String param)
           
 short getShort(javax.servlet.http.HttpServletRequest request, String param, short defaultValue)
           
 short getShort(PortletRequest portletRequest, String param)
           
 short getShort(PortletRequest portletRequest, String param, short defaultValue)
           
 short getShort(ServiceContext serviceContext, String param)
           
 short getShort(ServiceContext serviceContext, String param, short defaultValue)
           
 short[] getShortValues(javax.servlet.http.HttpServletRequest request, String param)
           
 short[] getShortValues(javax.servlet.http.HttpServletRequest request, String param, short[] defaultValue)
           
 short[] getShortValues(PortletRequest portletRequest, String param)
           
 short[] getShortValues(PortletRequest portletRequest, String param, short[] defaultValue)
           
 short[] getShortValues(ServiceContext serviceContext, String param)
           
 short[] getShortValues(ServiceContext serviceContext, String param, short[] defaultValue)
           
 String getString(javax.servlet.http.HttpServletRequest request, String param)
           
 String getString(javax.servlet.http.HttpServletRequest request, String param, String defaultValue)
           
 String getString(PortletRequest portletRequest, String param)
           
 String getString(PortletRequest portletRequest, String param, String defaultValue)
           
 String getString(ServiceContext serviceContext, String param)
           
 String getString(ServiceContext serviceContext, String param, String defaultValue)
           
 void print(javax.servlet.http.HttpServletRequest request)
           
 void print(PortletRequest portletRequest)
           
 void print(ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ParamUtil_IW getInstance()

get

public boolean get(javax.servlet.http.HttpServletRequest request,
                   String param,
                   boolean defaultValue)

get

public Date get(javax.servlet.http.HttpServletRequest request,
                String param,
                DateFormat dateFormat,
                Date defaultValue)

get

public double get(javax.servlet.http.HttpServletRequest request,
                  String param,
                  double defaultValue)

get

public float get(javax.servlet.http.HttpServletRequest request,
                 String param,
                 float defaultValue)

get

public int get(javax.servlet.http.HttpServletRequest request,
               String param,
               int defaultValue)

get

public long get(javax.servlet.http.HttpServletRequest request,
                String param,
                long defaultValue)

get

public short get(javax.servlet.http.HttpServletRequest request,
                 String param,
                 short defaultValue)

get

public String get(javax.servlet.http.HttpServletRequest request,
                  String param,
                  String defaultValue)

get

public boolean get(PortletRequest portletRequest,
                   String param,
                   boolean defaultValue)

get

public Date get(PortletRequest portletRequest,
                String param,
                DateFormat dateFormat,
                Date defaultValue)

get

public double get(PortletRequest portletRequest,
                  String param,
                  double defaultValue)

get

public float get(PortletRequest portletRequest,
                 String param,
                 float defaultValue)

get

public int get(PortletRequest portletRequest,
               String param,
               int defaultValue)

get

public long get(PortletRequest portletRequest,
                String param,
                long defaultValue)

get

public short get(PortletRequest portletRequest,
                 String param,
                 short defaultValue)

get

public String get(PortletRequest portletRequest,
                  String param,
                  String defaultValue)

get

public boolean get(ServiceContext serviceContext,
                   String param,
                   boolean defaultValue)

get

public Date get(ServiceContext serviceContext,
                String param,
                DateFormat dateFormat,
                Date defaultValue)

get

public double get(ServiceContext serviceContext,
                  String param,
                  double defaultValue)

get

public float get(ServiceContext serviceContext,
                 String param,
                 float defaultValue)

get

public int get(ServiceContext serviceContext,
               String param,
               int defaultValue)

get

public long get(ServiceContext serviceContext,
                String param,
                long defaultValue)

get

public short get(ServiceContext serviceContext,
                 String param,
                 short defaultValue)

get

public String get(ServiceContext serviceContext,
                  String param,
                  String defaultValue)

getBoolean

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

getBoolean

public boolean getBoolean(javax.servlet.http.HttpServletRequest request,
                          String param,
                          boolean defaultValue)

getBoolean

public boolean getBoolean(PortletRequest portletRequest,
                          String param)

getBoolean

public boolean getBoolean(PortletRequest portletRequest,
                          String param,
                          boolean defaultValue)

getBoolean

public boolean getBoolean(ServiceContext serviceContext,
                          String param)

getBoolean

public boolean getBoolean(ServiceContext serviceContext,
                          String param,
                          boolean defaultValue)

getBooleanValues

public boolean[] getBooleanValues(javax.servlet.http.HttpServletRequest request,
                                  String param)

getBooleanValues

public boolean[] getBooleanValues(javax.servlet.http.HttpServletRequest request,
                                  String param,
                                  boolean[] defaultValue)

getBooleanValues

public boolean[] getBooleanValues(PortletRequest portletRequest,
                                  String param)

getBooleanValues

public boolean[] getBooleanValues(PortletRequest portletRequest,
                                  String param,
                                  boolean[] defaultValue)

getBooleanValues

public boolean[] getBooleanValues(ServiceContext serviceContext,
                                  String param)

getBooleanValues

public boolean[] getBooleanValues(ServiceContext serviceContext,
                                  String param,
                                  boolean[] defaultValue)

getDate

public Date getDate(javax.servlet.http.HttpServletRequest request,
                    String param,
                    DateFormat dateFormat)

getDate

public Date getDate(javax.servlet.http.HttpServletRequest request,
                    String param,
                    DateFormat dateFormat,
                    Date defaultValue)

getDate

public Date getDate(PortletRequest portletRequest,
                    String param,
                    DateFormat dateFormat)

getDate

public Date getDate(PortletRequest portletRequest,
                    String param,
                    DateFormat dateFormat,
                    Date defaultValue)

getDate

public Date getDate(ServiceContext serviceContext,
                    String param,
                    DateFormat dateFormat)

getDate

public Date getDate(ServiceContext serviceContext,
                    String param,
                    DateFormat dateFormat,
                    Date defaultValue)

getDateValues

public Date[] getDateValues(javax.servlet.http.HttpServletRequest request,
                            String param,
                            DateFormat dateFormat)

getDateValues

public Date[] getDateValues(javax.servlet.http.HttpServletRequest request,
                            String param,
                            DateFormat dateFormat,
                            Date[] defaultValue)

getDateValues

public Date[] getDateValues(PortletRequest portletRequest,
                            String param,
                            DateFormat dateFormat)

getDateValues

public Date[] getDateValues(PortletRequest portletRequest,
                            String param,
                            DateFormat dateFormat,
                            Date[] defaultValue)

getDateValues

public Date[] getDateValues(ServiceContext serviceContext,
                            String param,
                            DateFormat dateFormat)

getDateValues

public Date[] getDateValues(ServiceContext serviceContext,
                            String param,
                            DateFormat dateFormat,
                            Date[] defaultValue)

getDouble

public double getDouble(javax.servlet.http.HttpServletRequest request,
                        String param)

getDouble

public double getDouble(javax.servlet.http.HttpServletRequest request,
                        String param,
                        double defaultValue)

getDouble

public double getDouble(PortletRequest portletRequest,
                        String param)

getDouble

public double getDouble(PortletRequest portletRequest,
                        String param,
                        double defaultValue)

getDouble

public double getDouble(ServiceContext serviceContext,
                        String param)

getDouble

public double getDouble(ServiceContext serviceContext,
                        String param,
                        double defaultValue)

getDoubleValues

public double[] getDoubleValues(javax.servlet.http.HttpServletRequest request,
                                String param)

getDoubleValues

public double[] getDoubleValues(javax.servlet.http.HttpServletRequest request,
                                String param,
                                double[] defaultValue)

getDoubleValues

public double[] getDoubleValues(PortletRequest portletRequest,
                                String param)

getDoubleValues

public double[] getDoubleValues(PortletRequest portletRequest,
                                String param,
                                double[] defaultValue)

getDoubleValues

public double[] getDoubleValues(ServiceContext serviceContext,
                                String param)

getDoubleValues

public double[] getDoubleValues(ServiceContext serviceContext,
                                String param,
                                double[] defaultValue)

getFloat

public float getFloat(javax.servlet.http.HttpServletRequest request,
                      String param)

getFloat

public float getFloat(javax.servlet.http.HttpServletRequest request,
                      String param,
                      float defaultValue)

getFloat

public float getFloat(PortletRequest portletRequest,
                      String param)

getFloat

public float getFloat(PortletRequest portletRequest,
                      String param,
                      float defaultValue)

getFloat

public float getFloat(ServiceContext serviceContext,
                      String param)

getFloat

public float getFloat(ServiceContext serviceContext,
                      String param,
                      float defaultValue)

getFloatValues

public float[] getFloatValues(javax.servlet.http.HttpServletRequest request,
                              String param)

getFloatValues

public float[] getFloatValues(javax.servlet.http.HttpServletRequest request,
                              String param,
                              float[] defaultValue)

getFloatValues

public float[] getFloatValues(PortletRequest portletRequest,
                              String param)

getFloatValues

public float[] getFloatValues(PortletRequest portletRequest,
                              String param,
                              float[] defaultValue)

getFloatValues

public float[] getFloatValues(ServiceContext serviceContext,
                              String param)

getFloatValues

public float[] getFloatValues(ServiceContext serviceContext,
                              String param,
                              float[] defaultValue)

getInteger

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

getInteger

public int getInteger(javax.servlet.http.HttpServletRequest request,
                      String param,
                      int defaultValue)

getInteger

public int getInteger(PortletRequest portletRequest,
                      String param)

getInteger

public int getInteger(PortletRequest portletRequest,
                      String param,
                      int defaultValue)

getInteger

public int getInteger(ServiceContext serviceContext,
                      String param)

getInteger

public int getInteger(ServiceContext serviceContext,
                      String param,
                      int defaultValue)

getIntegerValues

public int[] getIntegerValues(javax.servlet.http.HttpServletRequest request,
                              String param)

getIntegerValues

public int[] getIntegerValues(javax.servlet.http.HttpServletRequest request,
                              String param,
                              int[] defaultValue)

getIntegerValues

public int[] getIntegerValues(PortletRequest portletRequest,
                              String param)

getIntegerValues

public int[] getIntegerValues(PortletRequest portletRequest,
                              String param,
                              int[] defaultValue)

getIntegerValues

public int[] getIntegerValues(ServiceContext serviceContext,
                              String param)

getIntegerValues

public int[] getIntegerValues(ServiceContext serviceContext,
                              String param,
                              int[] defaultValue)

getLong

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

getLong

public long getLong(javax.servlet.http.HttpServletRequest request,
                    String param,
                    long defaultValue)

getLong

public long getLong(PortletRequest portletRequest,
                    String param)

getLong

public long getLong(PortletRequest portletRequest,
                    String param,
                    long defaultValue)

getLong

public long getLong(ServiceContext serviceContext,
                    String param)

getLong

public long getLong(ServiceContext serviceContext,
                    String param,
                    long defaultValue)

getLongValues

public long[] getLongValues(javax.servlet.http.HttpServletRequest request,
                            String param)

getLongValues

public long[] getLongValues(javax.servlet.http.HttpServletRequest request,
                            String param,
                            long[] defaultValue)

getLongValues

public long[] getLongValues(PortletRequest portletRequest,
                            String param)

getLongValues

public long[] getLongValues(PortletRequest portletRequest,
                            String param,
                            long[] defaultValue)

getLongValues

public long[] getLongValues(ServiceContext serviceContext,
                            String param)

getLongValues

public long[] getLongValues(ServiceContext serviceContext,
                            String param,
                            long[] defaultValue)

getShort

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

getShort

public short getShort(javax.servlet.http.HttpServletRequest request,
                      String param,
                      short defaultValue)

getShort

public short getShort(PortletRequest portletRequest,
                      String param)

getShort

public short getShort(PortletRequest portletRequest,
                      String param,
                      short defaultValue)

getShort

public short getShort(ServiceContext serviceContext,
                      String param)

getShort

public short getShort(ServiceContext serviceContext,
                      String param,
                      short defaultValue)

getShortValues

public short[] getShortValues(javax.servlet.http.HttpServletRequest request,
                              String param)

getShortValues

public short[] getShortValues(javax.servlet.http.HttpServletRequest request,
                              String param,
                              short[] defaultValue)

getShortValues

public short[] getShortValues(PortletRequest portletRequest,
                              String param)

getShortValues

public short[] getShortValues(PortletRequest portletRequest,
                              String param,
                              short[] defaultValue)

getShortValues

public short[] getShortValues(ServiceContext serviceContext,
                              String param)

getShortValues

public short[] getShortValues(ServiceContext serviceContext,
                              String param,
                              short[] defaultValue)

getString

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

getString

public String getString(javax.servlet.http.HttpServletRequest request,
                        String param,
                        String defaultValue)

getString

public String getString(PortletRequest portletRequest,
                        String param)

getString

public String getString(PortletRequest portletRequest,
                        String param,
                        String defaultValue)

getString

public String getString(ServiceContext serviceContext,
                        String param)

getString

public String getString(ServiceContext serviceContext,
                        String param,
                        String defaultValue)

print

public void print(javax.servlet.http.HttpServletRequest request)

print

public void print(PortletRequest portletRequest)

print

public void print(ServiceContext serviceContext)

Liferay 6.0.5