|
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.portlet.expando.model.ExpandoRowWrapper
@ProviderType public class ExpandoRowWrapper
This class is a wrapper for ExpandoRow.
ExpandoRow,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.expando.model.ExpandoRow |
|---|
ROW_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
ExpandoRowWrapper(ExpandoRow expandoRow)
|
|
| 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 |
getCompanyId()
Returns the company ID of this expando row. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this expando row. |
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. |
ExpandoRow |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this expando row. |
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 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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExpandoRowWrapper(ExpandoRow expandoRow)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoRow>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ExpandoRow>public Object clone()
BaseModel
clone in interface BaseModel<ExpandoRow>clone in interface ExpandoRowModelclone in class Objectpublic int compareTo(ExpandoRow expandoRow)
compareTo in interface ExpandoRowModelcompareTo in interface Comparable<ExpandoRow>public long getClassPK()
getClassPK in interface ExpandoRowModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface ExpandoRowModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoRow>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ExpandoRowModelpublic Date getModifiedDate()
getModifiedDate in interface ExpandoRowModelpublic long getPrimaryKey()
getPrimaryKey in interface ExpandoRowModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoRow>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoRowModelpublic long getRowId()
getRowId in interface ExpandoRowModelpublic long getTableId()
getTableId in interface ExpandoRowModelpublic int hashCode()
hashCode in interface ExpandoRowModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ExpandoRow>isCachedModel in interface ExpandoRowModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ExpandoRow>isEscapedModel in interface ExpandoRowModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ExpandoRow>isNew in interface ExpandoRowModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ExpandoRow>setCachedModel in interface ExpandoRowModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassPK(long classPK)
setClassPK in interface ExpandoRowModelclassPK - the class p k of this expando rowpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface ExpandoRowModelcompanyId - the company ID of this expando rowpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ExpandoRow>setExpandoBridgeAttributes in interface ExpandoRowModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ExpandoRow>setExpandoBridgeAttributes in interface ExpandoRowModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoRow>setExpandoBridgeAttributes in interface ExpandoRowModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setModifiedDate(Date modifiedDate)
setModifiedDate in interface ExpandoRowModelmodifiedDate - the modified date of this expando rowpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ExpandoRow>setNew in interface ExpandoRowModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoRowModelprimaryKey - the primary key of this expando rowpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ExpandoRow>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoRowModelprimaryKeyObj - the primary key of this model instancepublic void setRowId(long rowId)
setRowId in interface ExpandoRowModelrowId - the row ID of this expando rowpublic void setTableId(long tableId)
setTableId in interface ExpandoRowModeltableId - the table ID of this expando rowpublic CacheModel<ExpandoRow> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ExpandoRow>toCacheModel in interface ExpandoRowModelpublic ExpandoRow toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ExpandoRow>toEscapedModel in interface ExpandoRowModelAutoEscapeBeanHandlerpublic String toString()
toString in interface ExpandoRowModeltoString in class Objectpublic ExpandoRow toUnescapedModel()
toUnescapedModel in interface BaseModel<ExpandoRow>toUnescapedModel in interface ExpandoRowModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoRow>toXmlString in interface ExpandoRowModelpublic boolean equals(Object obj)
equals in class Objectpublic ExpandoRow getWrappedModel()
getWrappedModel in interface ModelWrapper<ExpandoRow>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ExpandoRow>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<ExpandoRow>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ExpandoRow>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||