|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ExpandoRow>
com.liferay.portlet.expando.model.impl.ExpandoRowModelImpl
public class ExpandoRowModelImpl
The base model implementation for the ExpandoRow service. Represents a row in the "ExpandoRow" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ExpandoRowModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoRowImpl.
ExpandoRowImpl,
ExpandoRow,
ExpandoRowModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSPK_COLUMN_BITMASK
|
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 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 | |
|---|---|
ExpandoRowModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoRow expandoRow)
|
boolean |
equals(Object obj)
|
long |
getClassPK()
Returns the class p k of this expando row. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this expando row. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this expando row. |
long |
getOriginalClassPK()
|
long |
getOriginalTableId()
|
long |
getPrimaryKey()
Returns the primary key of this expando row. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRowId()
Returns the row ID of this expando row. |
long |
getTableId()
Returns the table ID of this expando row. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassPK(long classPK)
Sets the class p k of this expando row. |
void |
setCompanyId(long companyId)
Sets the company ID of this expando row. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this expando row. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando row. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRowId(long rowId)
Sets the row ID of this expando row. |
void |
setTableId(long tableId)
Sets the table ID of this expando row. |
CacheModel<ExpandoRow> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ExpandoRow |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
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.ExpandoRowModel |
|---|
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 CLASSPK_COLUMN_BITMASK
public static long TABLEID_COLUMN_BITMASK
public static long ROWID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ExpandoRowModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ExpandoRowModel
getPrimaryKey in interface ExpandoRowModelpublic void setPrimaryKey(long primaryKey)
ExpandoRowModel
setPrimaryKey in interface ExpandoRowModelprimaryKey - the primary key of this expando rowpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoRow>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoRowModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ExpandoRow>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoRowModelprimaryKeyObj - 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<ExpandoRow>getModelAttributes in class BaseModelImpl<ExpandoRow>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoRow>setModelAttributes in class BaseModelImpl<ExpandoRow>public long getRowId()
ExpandoRowModel
getRowId in interface ExpandoRowModelpublic void setRowId(long rowId)
ExpandoRowModel
setRowId in interface ExpandoRowModelrowId - the row ID of this expando rowpublic long getCompanyId()
ExpandoRowModel
getCompanyId in interface ExpandoRowModelpublic void setCompanyId(long companyId)
ExpandoRowModel
setCompanyId in interface ExpandoRowModelcompanyId - the company ID of this expando rowpublic Date getModifiedDate()
ExpandoRowModel
getModifiedDate in interface ExpandoRowModelpublic void setModifiedDate(Date modifiedDate)
ExpandoRowModel
setModifiedDate in interface ExpandoRowModelmodifiedDate - the modified date of this expando rowpublic long getTableId()
ExpandoRowModel
getTableId in interface ExpandoRowModelpublic void setTableId(long tableId)
ExpandoRowModel
setTableId in interface ExpandoRowModeltableId - the table ID of this expando rowpublic long getOriginalTableId()
public long getClassPK()
ExpandoRowModel
getClassPK in interface ExpandoRowModelpublic void setClassPK(long classPK)
ExpandoRowModel
setClassPK in interface ExpandoRowModelclassPK - the class p k of this expando rowpublic long getOriginalClassPK()
public long getColumnBitmask()
public ExpandoRow toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoRow>toEscapedModel in interface ExpandoRowModeltoEscapedModel in class BaseModelImpl<ExpandoRow>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ExpandoRow>clone in interface ExpandoRowModelclone in class BaseModelImpl<ExpandoRow>public int compareTo(ExpandoRow expandoRow)
compareTo in interface ExpandoRowModelcompareTo in interface Comparable<ExpandoRow>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ExpandoRowModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ExpandoRow>resetOriginalValues in class BaseModelImpl<ExpandoRow>public CacheModel<ExpandoRow> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ExpandoRow>toCacheModel in interface ExpandoRowModeltoCacheModel in class BaseModelImpl<ExpandoRow>public String toString()
toString in interface ExpandoRowModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoRow>toXmlString in interface ExpandoRowModel
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||