|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.expando.model.ExpandoValueWrapper
public class ExpandoValueWrapper
This class is a wrapper for ExpandoValue.
ExpandoValue,
Serialized Form| Constructor Summary | |
|---|---|
ExpandoValueWrapper(ExpandoValue expandoValue)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoValue expandoValue)
|
boolean |
getBoolean()
|
boolean[] |
getBooleanArray()
|
String |
getClassName()
Gets the class name of the model instance this expando value is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this expando value. |
long |
getClassPK()
Gets the class p k of this expando value. |
long |
getColumnId()
Gets the column id of this expando value. |
long |
getCompanyId()
Gets the company id of this expando value. |
String |
getData()
Gets the data of this expando value. |
Date |
getDate()
|
Date[] |
getDateArray()
|
double |
getDouble()
|
double[] |
getDoubleArray()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
float |
getFloat()
|
float[] |
getFloatArray()
|
int |
getInteger()
|
int[] |
getIntegerArray()
|
long |
getLong()
|
long[] |
getLongArray()
|
long |
getPrimaryKey()
Gets the primary key of this expando value. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getRowId()
Gets the row id of this expando value. |
short |
getShort()
|
short[] |
getShortArray()
|
String |
getString()
|
String[] |
getStringArray()
|
long |
getTableId()
Gets the table id of this expando value. |
long |
getValueId()
Gets the value id of this expando value. |
ExpandoValue |
getWrappedExpandoValue()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setBoolean(boolean data)
|
void |
setBooleanArray(boolean[] data)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this expando value |
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 |
setStringArray(String[] data)
|
void |
setTableId(long tableId)
Sets the table id of this expando value. |
void |
setValueId(long valueId)
Sets the value id of this expando value. |
ExpandoValue |
toEscapedModel()
Gets a copy of this expando value as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExpandoValueWrapper(ExpandoValue expandoValue)
| Method Detail |
|---|
public long getPrimaryKey()
ExpandoValueModel
getPrimaryKey in interface ExpandoValueModelpublic void setPrimaryKey(long pk)
ExpandoValueModel
setPrimaryKey in interface ExpandoValueModelpk - the primary key of this expando valuepublic long getValueId()
ExpandoValueModel
getValueId in interface ExpandoValueModelpublic void setValueId(long valueId)
ExpandoValueModel
setValueId in interface ExpandoValueModelvalueId - the value id of this expando valuepublic long getCompanyId()
ExpandoValueModel
getCompanyId in interface ExpandoValueModelpublic void setCompanyId(long companyId)
ExpandoValueModel
setCompanyId in interface ExpandoValueModelcompanyId - the company id of this expando valuepublic long getTableId()
ExpandoValueModel
getTableId in interface ExpandoValueModelpublic void setTableId(long tableId)
ExpandoValueModel
setTableId in interface ExpandoValueModeltableId - the table id of this expando valuepublic long getColumnId()
ExpandoValueModel
getColumnId in interface ExpandoValueModelpublic void setColumnId(long columnId)
ExpandoValueModel
setColumnId in interface ExpandoValueModelcolumnId - the column id of this expando valuepublic long getRowId()
ExpandoValueModel
getRowId in interface ExpandoValueModelpublic void setRowId(long rowId)
ExpandoValueModel
setRowId in interface ExpandoValueModelrowId - the row id of this expando valuepublic String getClassName()
ExpandoValueModel
getClassName in interface ExpandoValueModelpublic long getClassNameId()
ExpandoValueModel
getClassNameId in interface ExpandoValueModelpublic void setClassNameId(long classNameId)
ExpandoValueModel
setClassNameId in interface ExpandoValueModelclassNameId - the class name id of this expando valuepublic long getClassPK()
ExpandoValueModel
getClassPK in interface ExpandoValueModelpublic void setClassPK(long classPK)
ExpandoValueModel
setClassPK in interface ExpandoValueModelclassPK - the class p k of this expando valuepublic String getData()
ExpandoValueModel
getData in interface ExpandoValueModelpublic void setData(String data)
ExpandoValueModel
setData in interface ExpandoValueModeldata - the data of this expando valuepublic ExpandoValue toEscapedModel()
ExpandoValueModelAutoEscapeBeanHandler.
toEscapedModel in interface ExpandoValueModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ExpandoValue>isNew in interface ExpandoValueModeltrue 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 ExpandoValueModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ExpandoValue>isCachedModel in interface ExpandoValueModeltrue 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 ExpandoValueModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ExpandoValue>isEscapedModel in interface ExpandoValueModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ExpandoValue>setEscapedModel in interface ExpandoValueModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoValue>getPrimaryKeyObj in interface ExpandoValueModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoValue>getExpandoBridge in interface ExpandoValueModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoValue>setExpandoBridgeAttributes in interface ExpandoValueModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ExpandoValue>clone in interface ExpandoValueModelclone in class Objectpublic int compareTo(ExpandoValue expandoValue)
compareTo in interface ExpandoValueModelcompareTo in interface Comparable<ExpandoValue>public int hashCode()
hashCode in interface ExpandoValueModelhashCode in class Objectpublic String toString()
toString in interface ExpandoValueModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoValue>toXmlString in interface ExpandoValueModel
public boolean getBoolean()
throws PortalException,
SystemException
getBoolean in interface ExpandoValuePortalException
SystemException
public boolean[] getBooleanArray()
throws PortalException,
SystemException
getBooleanArray in interface ExpandoValuePortalException
SystemException
public Date getDate()
throws PortalException,
SystemException
getDate in interface ExpandoValuePortalException
SystemException
public Date[] getDateArray()
throws PortalException,
SystemException
getDateArray in interface ExpandoValuePortalException
SystemException
public double getDouble()
throws PortalException,
SystemException
getDouble in interface ExpandoValuePortalException
SystemException
public double[] getDoubleArray()
throws PortalException,
SystemException
getDoubleArray in interface ExpandoValuePortalException
SystemException
public float getFloat()
throws PortalException,
SystemException
getFloat in interface ExpandoValuePortalException
SystemException
public float[] getFloatArray()
throws PortalException,
SystemException
getFloatArray in interface ExpandoValuePortalException
SystemException
public int getInteger()
throws PortalException,
SystemException
getInteger in interface ExpandoValuePortalException
SystemException
public int[] getIntegerArray()
throws PortalException,
SystemException
getIntegerArray in interface ExpandoValuePortalException
SystemException
public long getLong()
throws PortalException,
SystemException
getLong in interface ExpandoValuePortalException
SystemException
public long[] getLongArray()
throws PortalException,
SystemException
getLongArray in interface ExpandoValuePortalException
SystemException
public short getShort()
throws PortalException,
SystemException
getShort in interface ExpandoValuePortalException
SystemException
public short[] getShortArray()
throws PortalException,
SystemException
getShortArray in interface ExpandoValuePortalException
SystemException
public String getString()
throws PortalException,
SystemException
getString in interface ExpandoValuePortalException
SystemException
public String[] getStringArray()
throws PortalException,
SystemException
getStringArray in interface ExpandoValuePortalException
SystemException
public void setBoolean(boolean data)
throws PortalException,
SystemException
setBoolean in interface ExpandoValuePortalException
SystemException
public void setBooleanArray(boolean[] data)
throws PortalException,
SystemException
setBooleanArray in interface ExpandoValuePortalException
SystemException
public void setDate(Date data)
throws PortalException,
SystemException
setDate in interface ExpandoValuePortalException
SystemException
public void setDateArray(Date[] data)
throws PortalException,
SystemException
setDateArray in interface ExpandoValuePortalException
SystemException
public void setDouble(double data)
throws PortalException,
SystemException
setDouble in interface ExpandoValuePortalException
SystemException
public void setDoubleArray(double[] data)
throws PortalException,
SystemException
setDoubleArray in interface ExpandoValuePortalException
SystemException
public void setFloat(float data)
throws PortalException,
SystemException
setFloat in interface ExpandoValuePortalException
SystemException
public void setFloatArray(float[] data)
throws PortalException,
SystemException
setFloatArray in interface ExpandoValuePortalException
SystemException
public void setInteger(int data)
throws PortalException,
SystemException
setInteger in interface ExpandoValuePortalException
SystemException
public void setIntegerArray(int[] data)
throws PortalException,
SystemException
setIntegerArray in interface ExpandoValuePortalException
SystemException
public void setLong(long data)
throws PortalException,
SystemException
setLong in interface ExpandoValuePortalException
SystemException
public void setLongArray(long[] data)
throws PortalException,
SystemException
setLongArray in interface ExpandoValuePortalException
SystemException
public void setShort(short data)
throws PortalException,
SystemException
setShort in interface ExpandoValuePortalException
SystemException
public void setShortArray(short[] data)
throws PortalException,
SystemException
setShortArray in interface ExpandoValuePortalException
SystemException
public void setString(String data)
throws PortalException,
SystemException
setString in interface ExpandoValuePortalException
SystemException
public void setStringArray(String[] data)
throws PortalException,
SystemException
setStringArray in interface ExpandoValuePortalException
SystemExceptionpublic ExpandoValue getWrappedExpandoValue()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||