@ProviderType public class ExpandoRowWrapper extends java.lang.Object implements ExpandoRow, ModelWrapper<ExpandoRow>
This class is a wrapper for ExpandoRow.
ExpandoRow,
Serialized Form| Constructor and Description |
|---|
ExpandoRowWrapper(ExpandoRow expandoRow) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ExpandoRow expandoRow) |
boolean |
equals(java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this expando row.
|
long |
getPrimaryKey()
Returns the primary key of this expando row.
|
java.io.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 |
getWrappedExpandoRow()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
ExpandoRow |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
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 |
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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.io.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. |
java.lang.String |
toString() |
ExpandoRow |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public ExpandoRowWrapper(ExpandoRow expandoRow)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ExpandoRow>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ExpandoRow>public long getPrimaryKey()
getPrimaryKey in interface ExpandoRowModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ExpandoRowModelprimaryKey - the primary key of this expando rowpublic long getRowId()
getRowId in interface ExpandoRowModelpublic void setRowId(long rowId)
setRowId in interface ExpandoRowModelrowId - the row ID of this expando rowpublic long getCompanyId()
getCompanyId in interface ExpandoRowModelpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoRowModelcompanyId - the company ID of this expando rowpublic java.util.Date getModifiedDate()
getModifiedDate in interface ExpandoRowModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface ExpandoRowModelmodifiedDate - the modified date of this expando rowpublic long getTableId()
getTableId in interface ExpandoRowModelpublic void setTableId(long tableId)
setTableId in interface ExpandoRowModeltableId - the table ID of this expando rowpublic long getClassPK()
getClassPK in interface ExpandoRowModelpublic void setClassPK(long classPK)
setClassPK in interface ExpandoRowModelclassPK - the class p k of this expando rowpublic 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 setNew(boolean n)
BaseModelsetNew in interface BaseModel<ExpandoRow>setNew in interface ExpandoRowModeln - 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<ExpandoRow>isCachedModel in interface ExpandoRowModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ExpandoRow>setCachedModel in interface ExpandoRowModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ExpandoRow>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ExpandoRowModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ExpandoRow>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ExpandoRowModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ExpandoRow>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ExpandoRowModelpublic 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)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ExpandoRow>setExpandoBridgeAttributes in interface ExpandoRowModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<ExpandoRow>clone in interface ExpandoRowModelclone in class java.lang.Objectpublic int compareTo(ExpandoRow expandoRow)
compareTo in interface ExpandoRowModelcompareTo in interface java.lang.Comparable<ExpandoRow>public int hashCode()
hashCode in interface ExpandoRowModelhashCode in class java.lang.Objectpublic CacheModel<ExpandoRow> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ExpandoRow>toCacheModel in interface ExpandoRowModelpublic ExpandoRow toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ExpandoRow>toEscapedModel in interface ExpandoRowModelAutoEscapeBeanHandlerpublic ExpandoRow toUnescapedModel()
toUnescapedModel in interface BaseModel<ExpandoRow>toUnescapedModel in interface ExpandoRowModelpublic java.lang.String toString()
toString in interface ExpandoRowModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ExpandoRow>toXmlString in interface ExpandoRowModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ExpandoRow getWrappedExpandoRow()
getWrappedModel()public ExpandoRow getWrappedModel()
getWrappedModel in interface ModelWrapper<ExpandoRow>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ExpandoRow>