|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ExpandoTable>
com.liferay.portlet.expando.model.impl.ExpandoTableModelImpl
public class ExpandoTableModelImpl
The base model implementation for the ExpandoTable service. Represents a row in the "ExpandoTable" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ExpandoTableModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ExpandoTableImpl
.
ExpandoTableImpl
,
ExpandoTable
,
ExpandoTableModel
,
Serialized FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
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 |
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 | |
---|---|
ExpandoTableModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoTable expandoTable)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this expando table. |
long |
getClassNameId()
Returns the class name ID of this expando table. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this expando table. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this expando table. |
long |
getOriginalClassNameId()
|
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
Returns the primary key of this expando table. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTableId()
Returns the table ID of this expando table. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassNameId(long classNameId)
Sets the class name ID of this expando table. |
void |
setCompanyId(long companyId)
Sets the company ID of this expando table. |
void |
setName(String name)
Sets the name of this expando table. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this expando table. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTableId(long tableId)
Sets the table ID of this expando table. |
CacheModel<ExpandoTable> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ExpandoTable |
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, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.expando.model.ExpandoTableModel |
---|
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 CLASSNAMEID_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ExpandoTableModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ExpandoTableModel
getPrimaryKey
in interface ExpandoTableModel
public void setPrimaryKey(long primaryKey)
ExpandoTableModel
setPrimaryKey
in interface ExpandoTableModel
primaryKey
- the primary key of this expando tablepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ExpandoTable>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ExpandoTableModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ExpandoTable>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ExpandoTableModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public long getTableId()
ExpandoTableModel
getTableId
in interface ExpandoTableModel
public void setTableId(long tableId)
ExpandoTableModel
setTableId
in interface ExpandoTableModel
tableId
- the table ID of this expando tablepublic long getCompanyId()
ExpandoTableModel
getCompanyId
in interface ExpandoTableModel
public void setCompanyId(long companyId)
ExpandoTableModel
setCompanyId
in interface ExpandoTableModel
companyId
- the company ID of this expando tablepublic long getOriginalCompanyId()
public String getClassName()
ExpandoTableModel
getClassName
in interface ExpandoTableModel
public long getClassNameId()
ExpandoTableModel
getClassNameId
in interface ExpandoTableModel
public void setClassNameId(long classNameId)
ExpandoTableModel
setClassNameId
in interface ExpandoTableModel
classNameId
- the class name ID of this expando tablepublic long getOriginalClassNameId()
public String getName()
ExpandoTableModel
getName
in interface ExpandoTableModel
public void setName(String name)
ExpandoTableModel
setName
in interface ExpandoTableModel
name
- the name of this expando tablepublic String getOriginalName()
public long getColumnBitmask()
public ExpandoTable toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ExpandoTable>
toEscapedModel
in interface ExpandoTableModel
toEscapedModel
in class BaseModelImpl<ExpandoTable>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<ExpandoTable>
clone
in interface ExpandoTableModel
clone
in class BaseModelImpl<ExpandoTable>
public int compareTo(ExpandoTable expandoTable)
compareTo
in interface ExpandoTableModel
compareTo
in interface Comparable<ExpandoTable>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ExpandoTableModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<ExpandoTable>
resetOriginalValues
in class BaseModelImpl<ExpandoTable>
public CacheModel<ExpandoTable> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<ExpandoTable>
toCacheModel
in interface ExpandoTableModel
toCacheModel
in class BaseModelImpl<ExpandoTable>
public String toString()
toString
in interface ExpandoTableModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ExpandoTable>
toXmlString
in interface ExpandoTableModel
|
Liferay 6.1.10-ee-ga1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |