public class BeanPropertiesImpl
extends Object
implements com.liferay.portal.kernel.bean.BeanProperties
Constructor and Description |
---|
BeanPropertiesImpl() |
Modifier and Type | Method and Description |
---|---|
void |
copyProperties(Object source,
Object target) |
void |
copyProperties(Object source,
Object target,
Class<?> editable) |
void |
copyProperties(Object source,
Object target,
String[] ignoreProperties) |
<T> T |
deepCopyProperties(Object source) |
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 |
setProperties(Object bean,
javax.servlet.http.HttpServletRequest request,
String[] ignoreProperties) |
void |
setProperty(Object bean,
String param,
Object value) |
void |
setPropertySilent(Object bean,
String param,
Object value) |
public void copyProperties(Object source, Object target)
copyProperties
in interface com.liferay.portal.kernel.bean.BeanProperties
public void copyProperties(Object source, Object target, Class<?> editable)
copyProperties
in interface com.liferay.portal.kernel.bean.BeanProperties
public void copyProperties(Object source, Object target, String[] ignoreProperties)
copyProperties
in interface com.liferay.portal.kernel.bean.BeanProperties
public <T> T deepCopyProperties(Object source) throws Exception
deepCopyProperties
in interface com.liferay.portal.kernel.bean.BeanProperties
Exception
public boolean getBoolean(Object bean, String param)
getBoolean
in interface com.liferay.portal.kernel.bean.BeanProperties
public boolean getBoolean(Object bean, String param, boolean defaultValue)
getBoolean
in interface com.liferay.portal.kernel.bean.BeanProperties
public boolean getBooleanSilent(Object bean, String param)
getBooleanSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public boolean getBooleanSilent(Object bean, String param, boolean defaultValue)
getBooleanSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public byte getByte(Object bean, String param)
getByte
in interface com.liferay.portal.kernel.bean.BeanProperties
public byte getByte(Object bean, String param, byte defaultValue)
getByte
in interface com.liferay.portal.kernel.bean.BeanProperties
public byte getByteSilent(Object bean, String param)
getByteSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public byte getByteSilent(Object bean, String param, byte defaultValue)
getByteSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public double getDouble(Object bean, String param)
getDouble
in interface com.liferay.portal.kernel.bean.BeanProperties
public double getDouble(Object bean, String param, double defaultValue)
getDouble
in interface com.liferay.portal.kernel.bean.BeanProperties
public double getDoubleSilent(Object bean, String param)
getDoubleSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public double getDoubleSilent(Object bean, String param, double defaultValue)
getDoubleSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public float getFloat(Object bean, String param)
getFloat
in interface com.liferay.portal.kernel.bean.BeanProperties
public float getFloat(Object bean, String param, float defaultValue)
getFloat
in interface com.liferay.portal.kernel.bean.BeanProperties
public float getFloatSilent(Object bean, String param)
getFloatSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public float getFloatSilent(Object bean, String param, float defaultValue)
getFloatSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public int getInteger(Object bean, String param)
getInteger
in interface com.liferay.portal.kernel.bean.BeanProperties
public int getInteger(Object bean, String param, int defaultValue)
getInteger
in interface com.liferay.portal.kernel.bean.BeanProperties
public int getIntegerSilent(Object bean, String param)
getIntegerSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public int getIntegerSilent(Object bean, String param, int defaultValue)
getIntegerSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public long getLong(Object bean, String param)
getLong
in interface com.liferay.portal.kernel.bean.BeanProperties
public long getLong(Object bean, String param, long defaultValue)
getLong
in interface com.liferay.portal.kernel.bean.BeanProperties
public long getLongSilent(Object bean, String param)
getLongSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public long getLongSilent(Object bean, String param, long defaultValue)
getLongSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public Object getObject(Object bean, String param)
getObject
in interface com.liferay.portal.kernel.bean.BeanProperties
public Object getObject(Object bean, String param, Object defaultValue)
getObject
in interface com.liferay.portal.kernel.bean.BeanProperties
public Object getObjectSilent(Object bean, String param)
getObjectSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public Object getObjectSilent(Object bean, String param, Object defaultValue)
getObjectSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public Class<?> getObjectType(Object bean, String param)
getObjectType
in interface com.liferay.portal.kernel.bean.BeanProperties
public Class<?> getObjectType(Object bean, String param, Class<?> defaultValue)
getObjectType
in interface com.liferay.portal.kernel.bean.BeanProperties
public Class<?> getObjectTypeSilent(Object bean, String param)
getObjectTypeSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public Class<?> getObjectTypeSilent(Object bean, String param, Class<?> defaultValue)
getObjectTypeSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public short getShort(Object bean, String param)
getShort
in interface com.liferay.portal.kernel.bean.BeanProperties
public short getShort(Object bean, String param, short defaultValue)
getShort
in interface com.liferay.portal.kernel.bean.BeanProperties
public short getShortSilent(Object bean, String param)
getShortSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public short getShortSilent(Object bean, String param, short defaultValue)
getShortSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public String getString(Object bean, String param)
getString
in interface com.liferay.portal.kernel.bean.BeanProperties
public String getString(Object bean, String param, String defaultValue)
getString
in interface com.liferay.portal.kernel.bean.BeanProperties
public String getStringSilent(Object bean, String param)
getStringSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public String getStringSilent(Object bean, String param, String defaultValue)
getStringSilent
in interface com.liferay.portal.kernel.bean.BeanProperties
public void setProperties(Object bean, javax.servlet.http.HttpServletRequest request)
setProperties
in interface com.liferay.portal.kernel.bean.BeanProperties
public void setProperties(Object bean, javax.servlet.http.HttpServletRequest request, String[] ignoreProperties)
setProperties
in interface com.liferay.portal.kernel.bean.BeanProperties
public void setProperty(Object bean, String param, Object value)
setProperty
in interface com.liferay.portal.kernel.bean.BeanProperties
public void setPropertySilent(Object bean, String param, Object value)
setPropertySilent
in interface com.liferay.portal.kernel.bean.BeanProperties
protected Date getDate(String param, javax.servlet.http.HttpServletRequest request)