|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.expando.model.ExpandoRowWrapper
public class ExpandoRowWrapper
This class is a wrapper for ExpandoRow.
ExpandoRow,
Serialized Form| Constructor Summary | |
|---|---|
ExpandoRowWrapper(ExpandoRow expandoRow)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ExpandoRow expandoRow)
|
long |
getClassPK()
Gets the class p k of this expando row. |
long |
getCompanyId()
Gets the company id of this expando row. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getPrimaryKey()
Gets the primary key of this expando row. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getRowId()
Gets the row id of this expando row. |
long |
getTableId()
Gets the table id of this expando row. |
ExpandoRow |
getWrappedExpandoRow()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this expando row |
void |
setRowId(long rowId)
Sets the row id of this expando row. |
void |
setTableId(long tableId)
Sets the table id of this expando row. |
ExpandoRow |
toEscapedModel()
Gets a copy of this expando row as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets 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 ExpandoRowWrapper(ExpandoRow expandoRow)
| Method Detail |
|---|
public long getPrimaryKey()
ExpandoRowModel
getPrimaryKey in interface ExpandoRowModelpublic void setPrimaryKey(long pk)
ExpandoRowModel
setPrimaryKey in interface ExpandoRowModelpk - the primary key of this expando rowpublic long getRowId()
ExpandoRowModel
getRowId in interface ExpandoRowModelpublic void setRowId(long rowId)
ExpandoRowModel
setRowId in interface ExpandoRowModelrowId - the row id of this expando rowpublic long getCompanyId()
ExpandoRowModel
getCompanyId in interface ExpandoRowModelpublic void setCompanyId(long companyId)
ExpandoRowModel
setCompanyId in interface ExpandoRowModelcompanyId - the company id of this expando rowpublic long getTableId()
ExpandoRowModel
getTableId in interface ExpandoRowModelpublic void setTableId(long tableId)
ExpandoRowModel
setTableId in interface ExpandoRowModeltableId - the table id of this expando rowpublic long getClassPK()
ExpandoRowModel
getClassPK in interface ExpandoRowModelpublic void setClassPK(long classPK)
ExpandoRowModel
setClassPK in interface ExpandoRowModelclassPK - the class p k of this expando rowpublic ExpandoRow toEscapedModel()
ExpandoRowModelAutoEscapeBeanHandler.
toEscapedModel in interface ExpandoRowModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
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)
BaseModel
setNew in interface BaseModel<ExpandoRow>setNew in interface ExpandoRowModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
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)
BaseModel
setCachedModel in interface BaseModel<ExpandoRow>setCachedModel in interface ExpandoRowModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ExpandoRow>isEscapedModel in interface ExpandoRowModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ExpandoRow>setEscapedModel in interface ExpandoRowModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ExpandoRow>getPrimaryKeyObj in interface ExpandoRowModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ExpandoRow>getExpandoBridge in interface ExpandoRowModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ExpandoRow>setExpandoBridgeAttributes in interface ExpandoRowModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)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 int hashCode()
hashCode in interface ExpandoRowModelhashCode in class Objectpublic String toString()
toString in interface ExpandoRowModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ExpandoRow>toXmlString in interface ExpandoRowModelpublic ExpandoRow getWrappedExpandoRow()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||