|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getCompanyId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getRowId()
|
long |
getTableId()
|
ExpandoRow |
getWrappedExpandoRow()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setCompanyId(long companyId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setRowId(long rowId)
|
void |
setTableId(long tableId)
|
ExpandoRow |
toEscapedModel()
|
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()
getPrimaryKey in interface ExpandoRowModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ExpandoRowModelpublic long getRowId()
getRowId in interface ExpandoRowModelpublic void setRowId(long rowId)
setRowId in interface ExpandoRowModelpublic long getCompanyId()
getCompanyId in interface ExpandoRowModelpublic void setCompanyId(long companyId)
setCompanyId in interface ExpandoRowModelpublic long getTableId()
getTableId in interface ExpandoRowModelpublic void setTableId(long tableId)
setTableId in interface ExpandoRowModelpublic long getClassPK()
getClassPK in interface ExpandoRowModelpublic void setClassPK(long classPK)
setClassPK in interface ExpandoRowModelpublic ExpandoRow toEscapedModel()
toEscapedModel in interface ExpandoRowModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||