|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.messageboards.model.MBMessageFlagWrapper
public class MBMessageFlagWrapper
This class is a wrapper for MBMessageFlag
.
MBMessageFlag
,
Serialized FormConstructor 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 MBMessageFlagModel
public void setPrimaryKey(long pk)
MBMessageFlagModel
setPrimaryKey
in interface MBMessageFlagModel
pk
- the primary key of this message boards message flagpublic long getMessageFlagId()
MBMessageFlagModel
getMessageFlagId
in interface MBMessageFlagModel
public void setMessageFlagId(long messageFlagId)
MBMessageFlagModel
setMessageFlagId
in interface MBMessageFlagModel
messageFlagId
- the message flag id of this message boards message flagpublic long getUserId()
MBMessageFlagModel
getUserId
in interface MBMessageFlagModel
public void setUserId(long userId)
MBMessageFlagModel
setUserId
in interface MBMessageFlagModel
userId
- the user id of this message boards message flagpublic String getUserUuid() throws SystemException
MBMessageFlagModel
getUserUuid
in interface MBMessageFlagModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
MBMessageFlagModel
setUserUuid
in interface MBMessageFlagModel
userUuid
- the user uuid of this message boards message flagpublic Date getModifiedDate()
MBMessageFlagModel
getModifiedDate
in interface MBMessageFlagModel
public void setModifiedDate(Date modifiedDate)
MBMessageFlagModel
setModifiedDate
in interface MBMessageFlagModel
modifiedDate
- the modified date of this message boards message flagpublic long getThreadId()
MBMessageFlagModel
getThreadId
in interface MBMessageFlagModel
public void setThreadId(long threadId)
MBMessageFlagModel
setThreadId
in interface MBMessageFlagModel
threadId
- the thread id of this message boards message flagpublic long getMessageId()
MBMessageFlagModel
getMessageId
in interface MBMessageFlagModel
public void setMessageId(long messageId)
MBMessageFlagModel
setMessageId
in interface MBMessageFlagModel
messageId
- the message id of this message boards message flagpublic int getFlag()
MBMessageFlagModel
getFlag
in interface MBMessageFlagModel
public void setFlag(int flag)
MBMessageFlagModel
setFlag
in interface MBMessageFlagModel
flag
- the flag of this message boards message flagpublic MBMessageFlag toEscapedModel()
MBMessageFlagModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface MBMessageFlagModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<MBMessageFlag>
isNew
in interface MBMessageFlagModel
true
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 MBMessageFlagModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<MBMessageFlag>
isCachedModel
in interface MBMessageFlagModel
true
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 MBMessageFlagModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<MBMessageFlag>
isEscapedModel
in interface MBMessageFlagModel
true
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 MBMessageFlagModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBMessageFlag>
getPrimaryKeyObj
in interface MBMessageFlagModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBMessageFlag>
getExpandoBridge
in interface MBMessageFlagModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBMessageFlag>
setExpandoBridgeAttributes
in interface MBMessageFlagModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<MBMessageFlag>
clone
in interface MBMessageFlagModel
clone
in class Object
public int compareTo(MBMessageFlag mbMessageFlag)
compareTo
in interface MBMessageFlagModel
compareTo
in interface Comparable<MBMessageFlag>
public int hashCode()
hashCode
in interface MBMessageFlagModel
hashCode
in class Object
public String toString()
toString
in interface MBMessageFlagModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBMessageFlag>
toXmlString
in interface MBMessageFlagModel
public MBMessageFlag getWrappedMBMessageFlag()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |