|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<ExpandoValue> com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
@JSON(strict=true) 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 FormField 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 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()
|
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()
|
ExpandoValue |
toUnescapedModel()
|
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, setNew |
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, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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 long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COLUMNID_COLUMN_BITMASK
public static long DATA_COLUMN_BITMASK
public static long ROWID_COLUMN_BITMASK
public static 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 ExpandoValueModel
public void setPrimaryKey(long primaryKey)
ExpandoValueModel
setPrimaryKey
in interface ExpandoValueModel
primaryKey
- the primary key of this expando valuepublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 ExpandoValueModel
public void setValueId(long valueId)
ExpandoValueModel
setValueId
in interface ExpandoValueModel
valueId
- the value ID of this expando value@JSON public long getCompanyId()
ExpandoValueModel
getCompanyId
in interface ExpandoValueModel
public void setCompanyId(long companyId)
ExpandoValueModel
setCompanyId
in interface ExpandoValueModel
companyId
- the company ID of this expando value@JSON public long getTableId()
ExpandoValueModel
getTableId
in interface ExpandoValueModel
public void setTableId(long tableId)
ExpandoValueModel
setTableId
in interface ExpandoValueModel
tableId
- the table ID of this expando valuepublic long getOriginalTableId()
@JSON public long getColumnId()
ExpandoValueModel
getColumnId
in interface ExpandoValueModel
public void setColumnId(long columnId)
ExpandoValueModel
setColumnId
in interface ExpandoValueModel
columnId
- the column ID of this expando valuepublic long getOriginalColumnId()
@JSON public long getRowId()
ExpandoValueModel
getRowId
in interface ExpandoValueModel
public void setRowId(long rowId)
ExpandoValueModel
setRowId
in interface ExpandoValueModel
rowId
- the row ID of this expando valuepublic long getOriginalRowId()
public String getClassName()
ExpandoValueModel
getClassName
in interface AttachedModel
getClassName
in interface ExpandoValueModel
public void setClassName(String className)
setClassName
in interface ExpandoValueModel
@JSON public long getClassNameId()
ExpandoValueModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface ExpandoValueModel
public void setClassNameId(long classNameId)
ExpandoValueModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface ExpandoValueModel
classNameId
- the class name ID of this expando valuepublic long getOriginalClassNameId()
@JSON public long getClassPK()
ExpandoValueModel
getClassPK
in interface AttachedModel
getClassPK
in interface ExpandoValueModel
public void setClassPK(long classPK)
ExpandoValueModel
setClassPK
in interface AttachedModel
setClassPK
in interface ExpandoValueModel
classPK
- the class p k of this expando valuepublic long getOriginalClassPK()
@JSON public String getData()
ExpandoValueModel
getData
in interface ExpandoValueModel
public void setData(String data)
ExpandoValueModel
setData
in interface ExpandoValueModel
data
- the data of this expando valuepublic String getOriginalData()
public long getColumnBitmask()
public ExpandoValue toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoValue>
toEscapedModel
in interface ExpandoValueModel
toEscapedModel
in class BaseModelImpl<ExpandoValue>
AutoEscapeBeanHandler
public ExpandoValue toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoValue>
toUnescapedModel
in interface ExpandoValueModel
toUnescapedModel
in class BaseModelImpl<ExpandoValue>
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoValue>
clone
in interface ExpandoValueModel
clone
in class BaseModelImpl<ExpandoValue>
public int compareTo(ExpandoValue expandoValue)
compareTo
in interface ExpandoValueModel
compareTo
in interface Comparable<ExpandoValue>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ExpandoValueModel
hashCode
in class Object
public 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 ExpandoValueModel
toCacheModel
in class BaseModelImpl<ExpandoValue>
public String toString()
toString
in interface ExpandoValueModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoValue>
toXmlString
in interface ExpandoValueModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |