|
Liferay 7.0-ce-b4 | |||||||||
| 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
@JSON(strict=true) @ProviderType 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 Form| Field 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 |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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 | |
|---|---|
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. |
Map<String,Object> |
getModelAttributes()
|
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()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassName(String className)
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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, 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.ExpandoTableModel |
|---|
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 Map<String,Integer> TABLE_COLUMNS_MAP
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long TABLEID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ExpandoTableModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ExpandoTableModel
getPrimaryKey in interface ExpandoTableModelpublic void setPrimaryKey(long primaryKey)
ExpandoTableModel
setPrimaryKey in interface ExpandoTableModelprimaryKey - the primary key of this expando tablepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoTable>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoTableModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ExpandoTable>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoTableModelprimaryKeyObj - 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<ExpandoTable>getModelAttributes in class BaseModelImpl<ExpandoTable>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoTable>setModelAttributes in class BaseModelImpl<ExpandoTable>@JSON public long getTableId()
ExpandoTableModel
getTableId in interface ExpandoTableModelpublic void setTableId(long tableId)
ExpandoTableModel
setTableId in interface ExpandoTableModeltableId - the table ID of this expando table@JSON public long getCompanyId()
ExpandoTableModel
getCompanyId in interface ShardedModelgetCompanyId in interface ExpandoTableModelpublic void setCompanyId(long companyId)
ExpandoTableModel
setCompanyId in interface ShardedModelsetCompanyId in interface ExpandoTableModelcompanyId - the company ID of this expando tablepublic long getOriginalCompanyId()
public String getClassName()
ExpandoTableModel
getClassName in interface TypedModelgetClassName in interface ExpandoTableModelpublic void setClassName(String className)
setClassName in interface ExpandoTableModel@JSON public long getClassNameId()
ExpandoTableModel
getClassNameId in interface TypedModelgetClassNameId in interface ExpandoTableModelpublic void setClassNameId(long classNameId)
ExpandoTableModel
setClassNameId in interface TypedModelsetClassNameId in interface ExpandoTableModelclassNameId - the class name ID of this expando tablepublic long getOriginalClassNameId()
@JSON public String getName()
ExpandoTableModel
getName in interface ExpandoTableModelpublic void setName(String name)
ExpandoTableModel
setName in interface ExpandoTableModelname - the name of this expando tablepublic String getOriginalName()
public long getColumnBitmask()
public ExpandoTable toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoTable>toEscapedModel in interface ExpandoTableModeltoEscapedModel in class BaseModelImpl<ExpandoTable>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<ExpandoTable>clone in interface ExpandoTableModelclone in class BaseModelImpl<ExpandoTable>public int compareTo(ExpandoTable expandoTable)
compareTo in interface ExpandoTableModelcompareTo in interface Comparable<ExpandoTable>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ExpandoTableModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ExpandoTable>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<ExpandoTable>true if this model's finder cache is enabled;
false otherwisepublic 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 ExpandoTableModeltoCacheModel in class BaseModelImpl<ExpandoTable>public String toString()
toString in interface ExpandoTableModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoTable>toXmlString in interface ExpandoTableModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||