|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.expando.model.ExpandoValueWrapper
@ProviderType public class ExpandoValueWrapper
This class is a wrapper for ExpandoValue
.
ExpandoValue
,
Serialized FormConstructor Summary | |
---|---|
ExpandoValueWrapper(ExpandoValue expandoValue)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoValue expandoValue)
|
boolean |
equals(Object obj)
|
List<Locale> |
getAvailableLocales()
|
boolean |
getBoolean()
|
boolean[] |
getBooleanArray()
|
String |
getClassName()
Returns the fully qualified class name of this expando value. |
long |
getClassNameId()
Returns the class name ID of this expando value. |
long |
getClassPK()
Returns the class p k of this expando value. |
ExpandoColumn |
getColumn()
|
long |
getColumnId()
Returns the column ID of this expando value. |
long |
getCompanyId()
Returns the company ID of this expando value. |
String |
getData()
Returns the data of this expando value. |
Date |
getDate()
|
Date[] |
getDateArray()
|
Locale |
getDefaultLocale()
|
double |
getDouble()
|
double[] |
getDoubleArray()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
float |
getFloat()
|
float[] |
getFloatArray()
|
int |
getInteger()
|
int[] |
getIntegerArray()
|
long |
getLong()
|
long[] |
getLongArray()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Number |
getNumber()
|
Number[] |
getNumberArray()
|
long |
getPrimaryKey()
Returns the primary key of this expando value. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRowId()
Returns the row ID of this expando value. |
Serializable |
getSerializable()
|
short |
getShort()
|
short[] |
getShortArray()
|
String |
getString()
|
String |
getString(Locale locale)
|
String[] |
getStringArray()
|
String[] |
getStringArray(Locale locale)
|
Map<Locale,String[]> |
getStringArrayMap()
|
Map<Locale,String> |
getStringMap()
|
long |
getTableId()
Returns the table ID of this expando value. |
long |
getValueId()
Returns the value ID of this expando value. |
ExpandoValue |
getWrappedExpandoValue()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
ExpandoValue |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setBoolean(boolean data)
|
void |
setBooleanArray(boolean[] data)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this expando value. |
void |
setClassPK(long classPK)
Sets the class p k of this expando value. |
void |
setColumn(ExpandoColumn column)
|
void |
setColumnId(long columnId)
Sets the column ID of this expando value. |
void |
setCompanyId(long companyId)
Sets the company ID of this expando value. |
void |
setData(String data)
Sets the data of this expando value. |
void |
setDate(Date data)
|
void |
setDateArray(Date[] data)
|
void |
setDouble(double data)
|
void |
setDoubleArray(double[] data)
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFloat(float data)
|
void |
setFloatArray(float[] data)
|
void |
setInteger(int data)
|
void |
setIntegerArray(int[] data)
|
void |
setLong(long data)
|
void |
setLongArray(long[] data)
|
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setNumber(Number data)
|
void |
setNumberArray(Number[] data)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando value. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRowId(long rowId)
Sets the row ID of this expando value. |
void |
setShort(short data)
|
void |
setShortArray(short[] data)
|
void |
setString(String data)
|
void |
setString(String data,
Locale locale,
Locale defaultLocale)
|
void |
setStringArray(String[] data)
|
void |
setStringArray(String[] data,
Locale locale,
Locale defaultLocale)
|
void |
setStringArrayMap(Map<Locale,String[]> dataMap,
Locale defaultLocale)
|
void |
setStringMap(Map<Locale,String> dataMap,
Locale defaultLocale)
|
void |
setTableId(long tableId)
Sets the table ID of this expando value. |
void |
setValueId(long valueId)
Sets the value ID of this expando value. |
CacheModel<ExpandoValue> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ExpandoValue |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
ExpandoValue |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExpandoValueWrapper(ExpandoValue expandoValue)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ExpandoValue>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ExpandoValue>
public long getPrimaryKey()
getPrimaryKey
in interface ExpandoValueModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ExpandoValueModel
primaryKey
- the primary key of this expando valuepublic long getValueId()
getValueId
in interface ExpandoValueModel
public void setValueId(long valueId)
setValueId
in interface ExpandoValueModel
valueId
- the value ID of this expando valuepublic long getCompanyId()
getCompanyId
in interface ExpandoValueModel
public void setCompanyId(long companyId)
setCompanyId
in interface ExpandoValueModel
companyId
- the company ID of this expando valuepublic long getTableId()
getTableId
in interface ExpandoValueModel
public void setTableId(long tableId)
setTableId
in interface ExpandoValueModel
tableId
- the table ID of this expando valuepublic long getColumnId()
getColumnId
in interface ExpandoValueModel
public void setColumnId(long columnId)
setColumnId
in interface ExpandoValueModel
columnId
- the column ID of this expando valuepublic long getRowId()
getRowId
in interface ExpandoValueModel
public void setRowId(long rowId)
setRowId
in interface ExpandoValueModel
rowId
- the row ID of this expando valuepublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface ExpandoValueModel
public void setClassName(String className)
setClassName
in interface ExpandoValueModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface ExpandoValueModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface ExpandoValueModel
classNameId
- the class name ID of this expando valuepublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface ExpandoValueModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface ExpandoValueModel
classPK
- the class p k of this expando valuepublic String getData()
getData
in interface ExpandoValueModel
public void setData(String data)
setData
in interface ExpandoValueModel
data
- the data of this expando valuepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<ExpandoValue>
isNew
in interface ExpandoValueModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<ExpandoValue>
setNew
in interface ExpandoValueModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<ExpandoValue>
isCachedModel
in interface ExpandoValueModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<ExpandoValue>
setCachedModel
in interface ExpandoValueModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<ExpandoValue>
isEscapedModel
in interface ExpandoValueModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoValue>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ExpandoValueModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoValue>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ExpandoValueModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ExpandoValue>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ExpandoValueModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<ExpandoValue>
setExpandoBridgeAttributes
in interface ExpandoValueModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<ExpandoValue>
setExpandoBridgeAttributes
in interface ExpandoValueModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ExpandoValue>
setExpandoBridgeAttributes
in interface ExpandoValueModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoValue>
clone
in interface ExpandoValueModel
clone
in class Object
public int compareTo(ExpandoValue expandoValue)
compareTo
in interface ExpandoValueModel
compareTo
in interface Comparable<ExpandoValue>
public int hashCode()
hashCode
in interface ExpandoValueModel
hashCode
in class Object
public CacheModel<ExpandoValue> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ExpandoValue>
toCacheModel
in interface ExpandoValueModel
public ExpandoValue toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoValue>
toEscapedModel
in interface ExpandoValueModel
AutoEscapeBeanHandler
public ExpandoValue toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoValue>
toUnescapedModel
in interface ExpandoValueModel
public String toString()
toString
in interface ExpandoValueModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoValue>
toXmlString
in interface ExpandoValueModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic List<Locale> getAvailableLocales() throws PortalException, SystemException
getAvailableLocales
in interface ExpandoValue
PortalException
SystemException
public boolean getBoolean() throws PortalException, SystemException
getBoolean
in interface ExpandoValue
PortalException
SystemException
public boolean[] getBooleanArray() throws PortalException, SystemException
getBooleanArray
in interface ExpandoValue
PortalException
SystemException
public ExpandoColumn getColumn() throws PortalException, SystemException
getColumn
in interface ExpandoValue
PortalException
SystemException
public Date getDate() throws PortalException, SystemException
getDate
in interface ExpandoValue
PortalException
SystemException
public Date[] getDateArray() throws PortalException, SystemException
getDateArray
in interface ExpandoValue
PortalException
SystemException
public Locale getDefaultLocale() throws PortalException, SystemException
getDefaultLocale
in interface ExpandoValue
PortalException
SystemException
public double getDouble() throws PortalException, SystemException
getDouble
in interface ExpandoValue
PortalException
SystemException
public double[] getDoubleArray() throws PortalException, SystemException
getDoubleArray
in interface ExpandoValue
PortalException
SystemException
public float getFloat() throws PortalException, SystemException
getFloat
in interface ExpandoValue
PortalException
SystemException
public float[] getFloatArray() throws PortalException, SystemException
getFloatArray
in interface ExpandoValue
PortalException
SystemException
public int getInteger() throws PortalException, SystemException
getInteger
in interface ExpandoValue
PortalException
SystemException
public int[] getIntegerArray() throws PortalException, SystemException
getIntegerArray
in interface ExpandoValue
PortalException
SystemException
public long getLong() throws PortalException, SystemException
getLong
in interface ExpandoValue
PortalException
SystemException
public long[] getLongArray() throws PortalException, SystemException
getLongArray
in interface ExpandoValue
PortalException
SystemException
public Number getNumber() throws PortalException, SystemException
getNumber
in interface ExpandoValue
PortalException
SystemException
public Number[] getNumberArray() throws PortalException, SystemException
getNumberArray
in interface ExpandoValue
PortalException
SystemException
public Serializable getSerializable() throws PortalException, SystemException
getSerializable
in interface ExpandoValue
PortalException
SystemException
public short getShort() throws PortalException, SystemException
getShort
in interface ExpandoValue
PortalException
SystemException
public short[] getShortArray() throws PortalException, SystemException
getShortArray
in interface ExpandoValue
PortalException
SystemException
public String getString() throws PortalException, SystemException
getString
in interface ExpandoValue
PortalException
SystemException
public String getString(Locale locale) throws PortalException, SystemException
getString
in interface ExpandoValue
PortalException
SystemException
public String[] getStringArray() throws PortalException, SystemException
getStringArray
in interface ExpandoValue
PortalException
SystemException
public String[] getStringArray(Locale locale) throws PortalException, SystemException
getStringArray
in interface ExpandoValue
PortalException
SystemException
public Map<Locale,String[]> getStringArrayMap() throws PortalException, SystemException
getStringArrayMap
in interface ExpandoValue
PortalException
SystemException
public Map<Locale,String> getStringMap() throws PortalException, SystemException
getStringMap
in interface ExpandoValue
PortalException
SystemException
public void setBoolean(boolean data) throws PortalException, SystemException
setBoolean
in interface ExpandoValue
PortalException
SystemException
public void setBooleanArray(boolean[] data) throws PortalException, SystemException
setBooleanArray
in interface ExpandoValue
PortalException
SystemException
public void setColumn(ExpandoColumn column)
setColumn
in interface ExpandoValue
public void setDate(Date data) throws PortalException, SystemException
setDate
in interface ExpandoValue
PortalException
SystemException
public void setDateArray(Date[] data) throws PortalException, SystemException
setDateArray
in interface ExpandoValue
PortalException
SystemException
public void setDouble(double data) throws PortalException, SystemException
setDouble
in interface ExpandoValue
PortalException
SystemException
public void setDoubleArray(double[] data) throws PortalException, SystemException
setDoubleArray
in interface ExpandoValue
PortalException
SystemException
public void setFloat(float data) throws PortalException, SystemException
setFloat
in interface ExpandoValue
PortalException
SystemException
public void setFloatArray(float[] data) throws PortalException, SystemException
setFloatArray
in interface ExpandoValue
PortalException
SystemException
public void setInteger(int data) throws PortalException, SystemException
setInteger
in interface ExpandoValue
PortalException
SystemException
public void setIntegerArray(int[] data) throws PortalException, SystemException
setIntegerArray
in interface ExpandoValue
PortalException
SystemException
public void setLong(long data) throws PortalException, SystemException
setLong
in interface ExpandoValue
PortalException
SystemException
public void setLongArray(long[] data) throws PortalException, SystemException
setLongArray
in interface ExpandoValue
PortalException
SystemException
public void setNumber(Number data) throws PortalException, SystemException
setNumber
in interface ExpandoValue
PortalException
SystemException
public void setNumberArray(Number[] data) throws PortalException, SystemException
setNumberArray
in interface ExpandoValue
PortalException
SystemException
public void setShort(short data) throws PortalException, SystemException
setShort
in interface ExpandoValue
PortalException
SystemException
public void setShortArray(short[] data) throws PortalException, SystemException
setShortArray
in interface ExpandoValue
PortalException
SystemException
public void setString(String data) throws PortalException, SystemException
setString
in interface ExpandoValue
PortalException
SystemException
public void setString(String data, Locale locale, Locale defaultLocale) throws PortalException, SystemException
setString
in interface ExpandoValue
PortalException
SystemException
public void setStringArray(String[] data) throws PortalException, SystemException
setStringArray
in interface ExpandoValue
PortalException
SystemException
public void setStringArray(String[] data, Locale locale, Locale defaultLocale) throws PortalException, SystemException
setStringArray
in interface ExpandoValue
PortalException
SystemException
public void setStringArrayMap(Map<Locale,String[]> dataMap, Locale defaultLocale) throws PortalException, SystemException
setStringArrayMap
in interface ExpandoValue
PortalException
SystemException
public void setStringMap(Map<Locale,String> dataMap, Locale defaultLocale) throws PortalException, SystemException
setStringMap
in interface ExpandoValue
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public ExpandoValue getWrappedExpandoValue()
getWrappedModel()
public ExpandoValue getWrappedModel()
getWrappedModel
in interface ModelWrapper<ExpandoValue>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ExpandoValue>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |