|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ExpandoValue>
com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
@JSON(strict=true) @ProviderType public class ExpandoValueModelImpl
The base model implementation for the ExpandoValue service. Represents a row in the "ExpandoValue" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ExpandoValueModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoValueImpl.
ExpandoValueImpl,
ExpandoValue,
ExpandoValueModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COLUMNID_COLUMN_BITMASK
|
static long |
DATA_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
ROWID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TABLEID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ExpandoValueModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoValue expandoValue)
|
boolean |
equals(Object obj)
|
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. |
long |
getColumnBitmask()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalColumnId()
|
String |
getOriginalData()
|
long |
getOriginalRowId()
|
long |
getOriginalTableId()
|
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. |
long |
getTableId()
Returns the table ID of this expando value. |
long |
getValueId()
Returns the value ID of this expando value. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
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. |
static ExpandoValue |
toModel(ExpandoValueSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<ExpandoValue> |
toModels(ExpandoValueSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.expando.model.ExpandoValueModel |
|---|
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COLUMNID_COLUMN_BITMASK
public static final long DATA_COLUMN_BITMASK
public static final long ROWID_COLUMN_BITMASK
public static final long TABLEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ExpandoValueModelImpl()
| Method Detail |
|---|
public static ExpandoValue toModel(ExpandoValueSoap soapModel)
soapModel - the soap model instance to convert
public static List<ExpandoValue> toModels(ExpandoValueSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ExpandoValueModel
getPrimaryKey in interface ExpandoValueModelpublic void setPrimaryKey(long primaryKey)
ExpandoValueModel
setPrimaryKey in interface ExpandoValueModelprimaryKey - the primary key of this expando valuepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoValue>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoValueModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ExpandoValue>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoValueModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoValue>getModelAttributes in class BaseModelImpl<ExpandoValue>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoValue>setModelAttributes in class BaseModelImpl<ExpandoValue>@JSON public long getValueId()
ExpandoValueModel
getValueId in interface ExpandoValueModelpublic void setValueId(long valueId)
ExpandoValueModel
setValueId in interface ExpandoValueModelvalueId - the value ID of this expando value@JSON public long getCompanyId()
ExpandoValueModel
getCompanyId in interface ShardedModelgetCompanyId in interface ExpandoValueModelpublic void setCompanyId(long companyId)
ExpandoValueModel
setCompanyId in interface ShardedModelsetCompanyId in interface ExpandoValueModelcompanyId - the company ID of this expando value@JSON public long getTableId()
ExpandoValueModel
getTableId in interface ExpandoValueModelpublic void setTableId(long tableId)
ExpandoValueModel
setTableId in interface ExpandoValueModeltableId - the table ID of this expando valuepublic long getOriginalTableId()
@JSON public long getColumnId()
ExpandoValueModel
getColumnId in interface ExpandoValueModelpublic void setColumnId(long columnId)
ExpandoValueModel
setColumnId in interface ExpandoValueModelcolumnId - the column ID of this expando valuepublic long getOriginalColumnId()
@JSON public long getRowId()
ExpandoValueModel
getRowId in interface ExpandoValueModelpublic void setRowId(long rowId)
ExpandoValueModel
setRowId in interface ExpandoValueModelrowId - the row ID of this expando valuepublic long getOriginalRowId()
public String getClassName()
ExpandoValueModel
getClassName in interface TypedModelgetClassName in interface ExpandoValueModelpublic void setClassName(String className)
setClassName in interface ExpandoValueModel@JSON public long getClassNameId()
ExpandoValueModel
getClassNameId in interface TypedModelgetClassNameId in interface ExpandoValueModelpublic void setClassNameId(long classNameId)
ExpandoValueModel
setClassNameId in interface TypedModelsetClassNameId in interface ExpandoValueModelclassNameId - the class name ID of this expando valuepublic long getOriginalClassNameId()
@JSON public long getClassPK()
ExpandoValueModel
getClassPK in interface AttachedModelgetClassPK in interface ExpandoValueModelpublic void setClassPK(long classPK)
ExpandoValueModel
setClassPK in interface AttachedModelsetClassPK in interface ExpandoValueModelclassPK - the class p k of this expando valuepublic long getOriginalClassPK()
@JSON public String getData()
ExpandoValueModel
getData in interface ExpandoValueModelpublic void setData(String data)
ExpandoValueModel
setData in interface ExpandoValueModeldata - the data of this expando valuepublic String getOriginalData()
public long getColumnBitmask()
public ExpandoValue toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoValue>toEscapedModel in interface ExpandoValueModeltoEscapedModel in class BaseModelImpl<ExpandoValue>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ExpandoValue>clone in interface ExpandoValueModelclone in class BaseModelImpl<ExpandoValue>public int compareTo(ExpandoValue expandoValue)
compareTo in interface ExpandoValueModelcompareTo in interface Comparable<ExpandoValue>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ExpandoValueModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ExpandoValue>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<ExpandoValue>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ExpandoValue>resetOriginalValues in class BaseModelImpl<ExpandoValue>public CacheModel<ExpandoValue> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ExpandoValue>toCacheModel in interface ExpandoValueModeltoCacheModel in class BaseModelImpl<ExpandoValue>public String toString()
toString in interface ExpandoValueModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoValue>toXmlString in interface ExpandoValueModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||