|
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.messageboards.model.MBMessageFlagWrapper
public class MBMessageFlagWrapper
This class is a wrapper for MBMessageFlag.
MBMessageFlag,
Serialized Form| Constructor Summary | |
|---|---|
MBMessageFlagWrapper(MBMessageFlag mbMessageFlag)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessageFlag mbMessageFlag)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
int |
getFlag()
|
long |
getMessageFlagId()
|
long |
getMessageId()
|
Date |
getModifiedDate()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getThreadId()
|
long |
getUserId()
|
String |
getUserUuid()
|
MBMessageFlag |
getWrappedMBMessageFlag()
|
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 |
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 |
setFlag(int flag)
|
void |
setMessageFlagId(long messageFlagId)
|
void |
setMessageId(long messageId)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setThreadId(long threadId)
|
void |
setUserId(long userId)
|
void |
setUserUuid(String userUuid)
|
MBMessageFlag |
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 MBMessageFlagWrapper(MBMessageFlag mbMessageFlag)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface MBMessageFlagModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface MBMessageFlagModelpublic long getMessageFlagId()
getMessageFlagId in interface MBMessageFlagModelpublic void setMessageFlagId(long messageFlagId)
setMessageFlagId in interface MBMessageFlagModelpublic long getUserId()
getUserId in interface MBMessageFlagModelpublic void setUserId(long userId)
setUserId in interface MBMessageFlagModel
public String getUserUuid()
throws SystemException
getUserUuid in interface MBMessageFlagModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface MBMessageFlagModelpublic Date getModifiedDate()
getModifiedDate in interface MBMessageFlagModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface MBMessageFlagModelpublic long getThreadId()
getThreadId in interface MBMessageFlagModelpublic void setThreadId(long threadId)
setThreadId in interface MBMessageFlagModelpublic long getMessageId()
getMessageId in interface MBMessageFlagModelpublic void setMessageId(long messageId)
setMessageId in interface MBMessageFlagModelpublic int getFlag()
getFlag in interface MBMessageFlagModelpublic void setFlag(int flag)
setFlag in interface MBMessageFlagModelpublic MBMessageFlag toEscapedModel()
toEscapedModel in interface MBMessageFlagModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<MBMessageFlag>isNew in interface MBMessageFlagModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<MBMessageFlag>setNew in interface MBMessageFlagModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<MBMessageFlag>isCachedModel in interface MBMessageFlagModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<MBMessageFlag>setCachedModel in interface MBMessageFlagModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<MBMessageFlag>isEscapedModel in interface MBMessageFlagModeltrue 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<MBMessageFlag>setEscapedModel in interface MBMessageFlagModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBMessageFlag>getPrimaryKeyObj in interface MBMessageFlagModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBMessageFlag>getExpandoBridge in interface MBMessageFlagModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBMessageFlag>setExpandoBridgeAttributes in interface MBMessageFlagModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MBMessageFlag>clone in interface MBMessageFlagModelclone in class Objectpublic int compareTo(MBMessageFlag mbMessageFlag)
compareTo in interface MBMessageFlagModelcompareTo in interface Comparable<MBMessageFlag>public int hashCode()
hashCode in interface MBMessageFlagModelhashCode in class Objectpublic String toString()
toString in interface MBMessageFlagModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBMessageFlag>toXmlString in interface MBMessageFlagModelpublic MBMessageFlag getWrappedMBMessageFlag()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||