|
Liferay 6.0.5 | |||||||||
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
.
Never modify or reference this class directly. All methods that expect a expando row model instance should use the ExpandoRow
interface instead.
ExpandoRowImpl
,
ExpandoRow
,
ExpandoRowModel
,
Serialized FormField Summary | |
---|---|
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 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()
Gets the class p k of this expando row. |
long |
getCompanyId()
Gets the company id of this expando row. |
long |
getOriginalClassPK()
|
long |
getOriginalTableId()
|
long |
getPrimaryKey()
Gets the primary key of this expando row. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getRowId()
Gets the row id of this expando row. |
long |
getTableId()
Gets the table id of this expando row. |
int |
hashCode()
|
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 |
setPrimaryKey(long pk)
Sets the primary key of this expando row |
void |
setRowId(long rowId)
Sets the row id of this expando row. |
void |
setTableId(long tableId)
Sets the table id of this expando row. |
ExpandoRow |
toEscapedModel()
Gets a copy of this expando row as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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, setEscapedModel, 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 long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ExpandoRowModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ExpandoRowModel
getPrimaryKey
in interface ExpandoRowModel
public void setPrimaryKey(long pk)
ExpandoRowModel
setPrimaryKey
in interface ExpandoRowModel
pk
- the primary key of this expando rowpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoRow>
getPrimaryKeyObj
in interface ExpandoRowModel
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 ExpandoRow toEscapedModel()
ExpandoRowModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface ExpandoRowModel
AutoEscapeBeanHandler
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 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.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |