|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.expando.model.ExpandoTableWrapper
public class ExpandoTableWrapper
This class is a wrapper for ExpandoTable.
ExpandoTable,
Serialized Form| Constructor Summary | |
|---|---|
ExpandoTableWrapper(ExpandoTable expandoTable)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoTable expandoTable)
|
String |
getClassName()
Returns the fully qualified class name of this expando table. |
long |
getClassNameId()
Returns the class name ID of this expando table. |
long |
getCompanyId()
Returns the company ID of this expando table. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this expando table. |
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. |
ExpandoTable |
getWrappedExpandoTable()
Deprecated. Renamed to getWrappedModel() |
ExpandoTable |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDefaultTable()
|
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
Sets the name of this expando table. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExpandoTableWrapper(ExpandoTable expandoTable)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface ExpandoTableModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoTableModelprimaryKey - the primary key of this expando tablepublic long getTableId()
getTableId in interface ExpandoTableModelpublic void setTableId(long tableId)
setTableId in interface ExpandoTableModeltableId - the table ID of this expando tablepublic long getCompanyId()
getCompanyId in interface ExpandoTableModelpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoTableModelcompanyId - the company ID of this expando tablepublic String getClassName()
getClassName in interface ExpandoTableModelpublic long getClassNameId()
getClassNameId in interface ExpandoTableModelpublic void setClassNameId(long classNameId)
setClassNameId in interface ExpandoTableModelclassNameId - the class name ID of this expando tablepublic String getName()
getName in interface ExpandoTableModelpublic void setName(String name)
setName in interface ExpandoTableModelname - the name of this expando tablepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ExpandoTable>isNew in interface ExpandoTableModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ExpandoTable>setNew in interface ExpandoTableModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ExpandoTable>isCachedModel in interface ExpandoTableModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ExpandoTable>setCachedModel in interface ExpandoTableModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ExpandoTable>isEscapedModel in interface ExpandoTableModeltrue if this model instance is escaped;
false otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoTable>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ExpandoTableModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoTable>setExpandoBridgeAttributes in interface ExpandoTableModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ExpandoTable>clone in interface ExpandoTableModelclone in class Objectpublic int compareTo(ExpandoTable expandoTable)
compareTo in interface ExpandoTableModelcompareTo in interface Comparable<ExpandoTable>public int hashCode()
hashCode in interface ExpandoTableModelhashCode in class Objectpublic CacheModel<ExpandoTable> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ExpandoTable>toCacheModel in interface ExpandoTableModelpublic ExpandoTable toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoTable>toEscapedModel in interface ExpandoTableModelAutoEscapeBeanHandlerpublic String toString()
toString in interface ExpandoTableModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoTable>toXmlString in interface ExpandoTableModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean isDefaultTable()
isDefaultTable in interface ExpandoTablepublic ExpandoTable getWrappedExpandoTable()
getWrappedModel()
public ExpandoTable getWrappedModel()
getWrappedModel in interface ModelWrapper<ExpandoTable>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ExpandoTable>
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||