|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ExpandoColumn>
com.liferay.portlet.expando.model.impl.ExpandoColumnModelImpl
@JSON(strict=true) public class ExpandoColumnModelImpl
The base model implementation for the ExpandoColumn service. Represents a row in the "ExpandoColumn" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ExpandoColumnModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoColumnImpl.
ExpandoColumnImpl,
ExpandoColumn,
ExpandoColumnModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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 | |
|---|---|
ExpandoColumnModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoColumn expandoColumn)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getColumnId()
Returns the column ID of this expando column. |
long |
getCompanyId()
Returns the company ID of this expando column. |
String |
getDefaultData()
Returns the default data of this expando column. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this expando column. |
String |
getOriginalName()
|
long |
getOriginalTableId()
|
long |
getPrimaryKey()
Returns the primary key of this expando column. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTableId()
Returns the table ID of this expando column. |
int |
getType()
Returns the type of this expando column. |
String |
getTypeSettings()
Returns the type settings of this expando column. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setColumnId(long columnId)
Sets the column ID of this expando column. |
void |
setCompanyId(long companyId)
Sets the company ID of this expando column. |
void |
setDefaultData(String defaultData)
Sets the default data of this expando column. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this expando column. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando column. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTableId(long tableId)
Sets the table ID of this expando column. |
void |
setType(int type)
Sets the type of this expando column. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this expando column. |
CacheModel<ExpandoColumn> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ExpandoColumn |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static ExpandoColumn |
toModel(ExpandoColumnSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<ExpandoColumn> |
toModels(ExpandoColumnSoap[] 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.ExpandoColumnModel |
|---|
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 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 NAME_COLUMN_BITMASK
public static long TABLEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ExpandoColumnModelImpl()
| Method Detail |
|---|
public static ExpandoColumn toModel(ExpandoColumnSoap soapModel)
soapModel - the soap model instance to convert
public static List<ExpandoColumn> toModels(ExpandoColumnSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
ExpandoColumnModel
getPrimaryKey in interface ExpandoColumnModelpublic void setPrimaryKey(long primaryKey)
ExpandoColumnModel
setPrimaryKey in interface ExpandoColumnModelprimaryKey - the primary key of this expando columnpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoColumn>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoColumnModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ExpandoColumn>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoColumnModelprimaryKeyObj - 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<ExpandoColumn>getModelAttributes in class BaseModelImpl<ExpandoColumn>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoColumn>setModelAttributes in class BaseModelImpl<ExpandoColumn>@JSON public long getColumnId()
ExpandoColumnModel
getColumnId in interface ExpandoColumnModelpublic void setColumnId(long columnId)
ExpandoColumnModel
setColumnId in interface ExpandoColumnModelcolumnId - the column ID of this expando column@JSON public long getCompanyId()
ExpandoColumnModel
getCompanyId in interface ExpandoColumnModelpublic void setCompanyId(long companyId)
ExpandoColumnModel
setCompanyId in interface ExpandoColumnModelcompanyId - the company ID of this expando column@JSON public long getTableId()
ExpandoColumnModel
getTableId in interface ExpandoColumnModelpublic void setTableId(long tableId)
ExpandoColumnModel
setTableId in interface ExpandoColumnModeltableId - the table ID of this expando columnpublic long getOriginalTableId()
@JSON public String getName()
ExpandoColumnModel
getName in interface ExpandoColumnModelpublic void setName(String name)
ExpandoColumnModel
setName in interface ExpandoColumnModelname - the name of this expando columnpublic String getOriginalName()
@JSON public int getType()
ExpandoColumnModel
getType in interface ExpandoColumnModelpublic void setType(int type)
ExpandoColumnModel
setType in interface ExpandoColumnModeltype - the type of this expando column@JSON public String getDefaultData()
ExpandoColumnModel
getDefaultData in interface ExpandoColumnModelpublic void setDefaultData(String defaultData)
ExpandoColumnModel
setDefaultData in interface ExpandoColumnModeldefaultData - the default data of this expando column@JSON public String getTypeSettings()
ExpandoColumnModel
getTypeSettings in interface ExpandoColumnModelpublic void setTypeSettings(String typeSettings)
ExpandoColumnModel
setTypeSettings in interface ExpandoColumnModeltypeSettings - the type settings of this expando columnpublic long getColumnBitmask()
public ExpandoColumn toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoColumn>toEscapedModel in interface ExpandoColumnModeltoEscapedModel in class BaseModelImpl<ExpandoColumn>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ExpandoColumn>clone in interface ExpandoColumnModelclone in class BaseModelImpl<ExpandoColumn>public int compareTo(ExpandoColumn expandoColumn)
compareTo in interface ExpandoColumnModelcompareTo in interface Comparable<ExpandoColumn>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ExpandoColumnModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ExpandoColumn>resetOriginalValues in class BaseModelImpl<ExpandoColumn>public CacheModel<ExpandoColumn> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ExpandoColumn>toCacheModel in interface ExpandoColumnModeltoCacheModel in class BaseModelImpl<ExpandoColumn>public String toString()
toString in interface ExpandoColumnModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoColumn>toXmlString in interface ExpandoColumnModel
|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||