|
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.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()
Gets the flag of this message boards message flag. |
long |
getMessageFlagId()
Gets the message flag id of this message boards message flag. |
long |
getMessageId()
Gets the message id of this message boards message flag. |
Date |
getModifiedDate()
Gets the modified date of this message boards message flag. |
long |
getPrimaryKey()
Gets the primary key of this message boards message flag. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getThreadId()
Gets the thread id of this message boards message flag. |
long |
getUserId()
Gets the user id of this message boards message flag. |
String |
getUserUuid()
Gets the user uuid of this message boards message flag. |
MBMessageFlag |
getWrappedMBMessageFlag()
|
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 |
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 |
setFlag(int flag)
Sets the flag of this message boards message flag. |
void |
setMessageFlagId(long messageFlagId)
Sets the message flag id of this message boards message flag. |
void |
setMessageId(long messageId)
Sets the message id of this message boards message flag. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this message boards message flag. |
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 message boards message flag |
void |
setThreadId(long threadId)
Sets the thread id of this message boards message flag. |
void |
setUserId(long userId)
Sets the user id of this message boards message flag. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this message boards message flag. |
MBMessageFlag |
toEscapedModel()
Gets a copy of this message boards message flag 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 MBMessageFlagWrapper(MBMessageFlag mbMessageFlag)
| Method Detail |
|---|
public long getPrimaryKey()
MBMessageFlagModel
getPrimaryKey in interface MBMessageFlagModelpublic void setPrimaryKey(long pk)
MBMessageFlagModel
setPrimaryKey in interface MBMessageFlagModelpk - the primary key of this message boards message flagpublic long getMessageFlagId()
MBMessageFlagModel
getMessageFlagId in interface MBMessageFlagModelpublic void setMessageFlagId(long messageFlagId)
MBMessageFlagModel
setMessageFlagId in interface MBMessageFlagModelmessageFlagId - the message flag id of this message boards message flagpublic long getUserId()
MBMessageFlagModel
getUserId in interface MBMessageFlagModelpublic void setUserId(long userId)
MBMessageFlagModel
setUserId in interface MBMessageFlagModeluserId - the user id of this message boards message flag
public String getUserUuid()
throws SystemException
MBMessageFlagModel
getUserUuid in interface MBMessageFlagModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
MBMessageFlagModel
setUserUuid in interface MBMessageFlagModeluserUuid - the user uuid of this message boards message flagpublic Date getModifiedDate()
MBMessageFlagModel
getModifiedDate in interface MBMessageFlagModelpublic void setModifiedDate(Date modifiedDate)
MBMessageFlagModel
setModifiedDate in interface MBMessageFlagModelmodifiedDate - the modified date of this message boards message flagpublic long getThreadId()
MBMessageFlagModel
getThreadId in interface MBMessageFlagModelpublic void setThreadId(long threadId)
MBMessageFlagModel
setThreadId in interface MBMessageFlagModelthreadId - the thread id of this message boards message flagpublic long getMessageId()
MBMessageFlagModel
getMessageId in interface MBMessageFlagModelpublic void setMessageId(long messageId)
MBMessageFlagModel
setMessageId in interface MBMessageFlagModelmessageId - the message id of this message boards message flagpublic int getFlag()
MBMessageFlagModel
getFlag in interface MBMessageFlagModelpublic void setFlag(int flag)
MBMessageFlagModel
setFlag in interface MBMessageFlagModelflag - the flag of this message boards message flagpublic MBMessageFlag toEscapedModel()
MBMessageFlagModelAutoEscapeBeanHandler.
toEscapedModel in interface MBMessageFlagModelAutoEscapeBeanHandlerpublic 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 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<MBMessageFlag>setEscapedModel in interface MBMessageFlagModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic 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.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||