|
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<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 FormField 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 |
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()
|
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 |
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()
|
ExpandoRow |
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.ExpandoRowModel |
---|
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 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 final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ExpandoRowModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ExpandoRowModel
getPrimaryKey
in interface ExpandoRowModel
public void setPrimaryKey(long primaryKey)
ExpandoRowModel
setPrimaryKey
in interface ExpandoRowModel
primaryKey
- the primary key of this expando rowpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoRow>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ExpandoRowModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoRow>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ExpandoRowModel
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<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 ExpandoRowModel
public void setRowId(long rowId)
ExpandoRowModel
setRowId
in interface ExpandoRowModel
rowId
- the row ID of this expando rowpublic long getCompanyId()
ExpandoRowModel
getCompanyId
in interface ExpandoRowModel
public void setCompanyId(long companyId)
ExpandoRowModel
setCompanyId
in interface ExpandoRowModel
companyId
- the company ID of this expando rowpublic long getTableId()
ExpandoRowModel
getTableId
in interface ExpandoRowModel
public void setTableId(long tableId)
ExpandoRowModel
setTableId
in interface ExpandoRowModel
tableId
- the table ID of this expando rowpublic long getOriginalTableId()
public long getClassPK()
ExpandoRowModel
getClassPK
in interface ExpandoRowModel
public void setClassPK(long classPK)
ExpandoRowModel
setClassPK
in interface ExpandoRowModel
classPK
- the class p k of this expando rowpublic long getOriginalClassPK()
public long getColumnBitmask()
public ExpandoRow toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoRow>
toEscapedModel
in interface ExpandoRowModel
toEscapedModel
in class BaseModelImpl<ExpandoRow>
AutoEscapeBeanHandler
public ExpandoRow toUnescapedModel()
toUnescapedModel
in interface BaseModel<ExpandoRow>
toUnescapedModel
in interface ExpandoRowModel
toUnescapedModel
in class BaseModelImpl<ExpandoRow>
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoRow>
clone
in interface ExpandoRowModel
clone
in class BaseModelImpl<ExpandoRow>
public int compareTo(ExpandoRow expandoRow)
compareTo
in interface ExpandoRowModel
compareTo
in interface Comparable<ExpandoRow>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ExpandoRowModel
hashCode
in class Object
public 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 ExpandoRowModel
toCacheModel
in class BaseModelImpl<ExpandoRow>
public String toString()
toString
in interface ExpandoRowModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoRow>
toXmlString
in interface ExpandoRowModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |