Liferay 6.1.2-ce-ga3

com.liferay.portal.bean
Class BeanPropertiesImpl

java.lang.Object
  extended by com.liferay.portal.bean.BeanPropertiesImpl
All Implemented Interfaces:
BeanProperties

public class BeanPropertiesImpl
extends Object
implements BeanProperties


Constructor Summary
BeanPropertiesImpl()
           
 
Method Summary
 void copyProperties(Object source, Object target)
           
 void copyProperties(Object source, Object target, Class<?> editable)
           
 void copyProperties(Object source, Object target, String[] ignoreProperties)
           
 boolean getBoolean(Object bean, String param)
           
 boolean getBoolean(Object bean, String param, boolean defaultValue)
           
 boolean getBooleanSilent(Object bean, String param)
           
 boolean getBooleanSilent(Object bean, String param, boolean defaultValue)
           
 byte getByte(Object bean, String param)
           
 byte getByte(Object bean, String param, byte defaultValue)
           
 byte getByteSilent(Object bean, String param)
           
 byte getByteSilent(Object bean, String param, byte defaultValue)
           
protected  Date getDate(String param, javax.servlet.http.HttpServletRequest request)
           
 double getDouble(Object bean, String param)
           
 double getDouble(Object bean, String param, double defaultValue)
           
 double getDoubleSilent(Object bean, String param)
           
 double getDoubleSilent(Object bean, String param, double defaultValue)
           
 float getFloat(Object bean, String param)
           
 float getFloat(Object bean, String param, float defaultValue)
           
 float getFloatSilent(Object bean, String param)
           
 float getFloatSilent(Object bean, String param, float defaultValue)
           
 int getInteger(Object bean, String param)
           
 int getInteger(Object bean, String param, int defaultValue)
           
 int getIntegerSilent(Object bean, String param)
           
 int getIntegerSilent(Object bean, String param, int defaultValue)
           
 long getLong(Object bean, String param)
           
 long getLong(Object bean, String param, long defaultValue)
           
 long getLongSilent(Object bean, String param)
           
 long getLongSilent(Object bean, String param, long defaultValue)
           
 Object getObject(Object bean, String param)
           
 Object getObject(Object bean, String param, Object defaultValue)
           
 Object getObjectSilent(Object bean, String param)
           
 Object getObjectSilent(Object bean, String param, Object defaultValue)
           
 Class<?> getObjectType(Object bean, String param)
           
 Class<?> getObjectType(Object bean, String param, Class<?> defaultValue)
           
 Class<?> getObjectTypeSilent(Object bean, String param)
           
 Class<?> getObjectTypeSilent(Object bean, String param, Class<?> defaultValue)
           
 short getShort(Object bean, String param)
           
 short getShort(Object bean, String param, short defaultValue)
           
 short getShortSilent(Object bean, String param)
           
 short getShortSilent(Object bean, String param, short defaultValue)
           
 String getString(Object bean, String param)
           
 String getString(Object bean, String param, String defaultValue)
           
 String getStringSilent(Object bean, String param)
           
 String getStringSilent(Object bean, String param, String defaultValue)
           
 void setProperties(Object bean, javax.servlet.http.HttpServletRequest request)
           
 void setProperty(Object bean, String param, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertiesImpl

public BeanPropertiesImpl()
Method Detail

copyProperties

public void copyProperties(Object source,
                           Object target)
Specified by:
copyProperties in interface BeanProperties

copyProperties

public void copyProperties(Object source,
                           Object target,
                           Class<?> editable)
Specified by:
copyProperties in interface BeanProperties

copyProperties

public void copyProperties(Object source,
                           Object target,
                           String[] ignoreProperties)
Specified by:
copyProperties in interface BeanProperties

getBoolean

public boolean getBoolean(Object bean,
                          String param)
Specified by:
getBoolean in interface BeanProperties

getBoolean

public boolean getBoolean(Object bean,
                          String param,
                          boolean defaultValue)
Specified by:
getBoolean in interface BeanProperties

getBooleanSilent

public boolean getBooleanSilent(Object bean,
                                String param)
Specified by:
getBooleanSilent in interface BeanProperties

getBooleanSilent

public boolean getBooleanSilent(Object bean,
                                String param,
                                boolean defaultValue)
Specified by:
getBooleanSilent in interface BeanProperties

getByte

public byte getByte(Object bean,
                    String param)
Specified by:
getByte in interface BeanProperties

getByte

public byte getByte(Object bean,
                    String param,
                    byte defaultValue)
Specified by:
getByte in interface BeanProperties

getByteSilent

public byte getByteSilent(Object bean,
                          String param)
Specified by:
getByteSilent in interface BeanProperties

getByteSilent

public byte getByteSilent(Object bean,
                          String param,
                          byte defaultValue)
Specified by:
getByteSilent in interface BeanProperties

getDouble

public double getDouble(Object bean,
                        String param)
Specified by:
getDouble in interface BeanProperties

getDouble

public double getDouble(Object bean,
                        String param,
                        double defaultValue)
Specified by:
getDouble in interface BeanProperties

getDoubleSilent

public double getDoubleSilent(Object bean,
                              String param)
Specified by:
getDoubleSilent in interface BeanProperties

getDoubleSilent

public double getDoubleSilent(Object bean,
                              String param,
                              double defaultValue)
Specified by:
getDoubleSilent in interface BeanProperties

getFloat

public float getFloat(Object bean,
                      String param)
Specified by:
getFloat in interface BeanProperties

getFloat

public float getFloat(Object bean,
                      String param,
                      float defaultValue)
Specified by:
getFloat in interface BeanProperties

getFloatSilent

public float getFloatSilent(Object bean,
                            String param)
Specified by:
getFloatSilent in interface BeanProperties

getFloatSilent

public float getFloatSilent(Object bean,
                            String param,
                            float defaultValue)
Specified by:
getFloatSilent in interface BeanProperties

getInteger

public int getInteger(Object bean,
                      String param)
Specified by:
getInteger in interface BeanProperties

getInteger

public int getInteger(Object bean,
                      String param,
                      int defaultValue)
Specified by:
getInteger in interface BeanProperties

getIntegerSilent

public int getIntegerSilent(Object bean,
                            String param)
Specified by:
getIntegerSilent in interface BeanProperties

getIntegerSilent

public int getIntegerSilent(Object bean,
                            String param,
                            int defaultValue)
Specified by:
getIntegerSilent in interface BeanProperties

getLong

public long getLong(Object bean,
                    String param)
Specified by:
getLong in interface BeanProperties

getLong

public long getLong(Object bean,
                    String param,
                    long defaultValue)
Specified by:
getLong in interface BeanProperties

getLongSilent

public long getLongSilent(Object bean,
                          String param)
Specified by:
getLongSilent in interface BeanProperties

getLongSilent

public long getLongSilent(Object bean,
                          String param,
                          long defaultValue)
Specified by:
getLongSilent in interface BeanProperties

getObject

public Object getObject(Object bean,
                        String param)
Specified by:
getObject in interface BeanProperties

getObject

public Object getObject(Object bean,
                        String param,
                        Object defaultValue)
Specified by:
getObject in interface BeanProperties

getObjectSilent

public Object getObjectSilent(Object bean,
                              String param)
Specified by:
getObjectSilent in interface BeanProperties

getObjectSilent

public Object getObjectSilent(Object bean,
                              String param,
                              Object defaultValue)
Specified by:
getObjectSilent in interface BeanProperties

getObjectType

public Class<?> getObjectType(Object bean,
                              String param)
Specified by:
getObjectType in interface BeanProperties

getObjectType

public Class<?> getObjectType(Object bean,
                              String param,
                              Class<?> defaultValue)
Specified by:
getObjectType in interface BeanProperties

getObjectTypeSilent

public Class<?> getObjectTypeSilent(Object bean,
                                    String param)
Specified by:
getObjectTypeSilent in interface BeanProperties

getObjectTypeSilent

public Class<?> getObjectTypeSilent(Object bean,
                                    String param,
                                    Class<?> defaultValue)
Specified by:
getObjectTypeSilent in interface BeanProperties

getShort

public short getShort(Object bean,
                      String param)
Specified by:
getShort in interface BeanProperties

getShort

public short getShort(Object bean,
                      String param,
                      short defaultValue)
Specified by:
getShort in interface BeanProperties

getShortSilent

public short getShortSilent(Object bean,
                            String param)
Specified by:
getShortSilent in interface BeanProperties

getShortSilent

public short getShortSilent(Object bean,
                            String param,
                            short defaultValue)
Specified by:
getShortSilent in interface BeanProperties

getString

public String getString(Object bean,
                        String param)
Specified by:
getString in interface BeanProperties

getString

public String getString(Object bean,
                        String param,
                        String defaultValue)
Specified by:
getString in interface BeanProperties

getStringSilent

public String getStringSilent(Object bean,
                              String param)
Specified by:
getStringSilent in interface BeanProperties

getStringSilent

public String getStringSilent(Object bean,
                              String param,
                              String defaultValue)
Specified by:
getStringSilent in interface BeanProperties

setProperties

public void setProperties(Object bean,
                          javax.servlet.http.HttpServletRequest request)
Specified by:
setProperties in interface BeanProperties

setProperty

public void setProperty(Object bean,
                        String param,
                        Object value)
Specified by:
setProperty in interface BeanProperties

getDate

protected Date getDate(String param,
                       javax.servlet.http.HttpServletRequest request)

Liferay 6.1.2-ce-ga3