@ProviderType public class MBMessageWrapper extends Object implements MBMessage, ModelWrapper<MBMessage>
This class is a wrapper for MBMessage.
MBMessage,
Serialized FormMESSAGE_ID_ACCESSOR| Constructor and Description |
|---|
MBMessageWrapper(MBMessage mbMessage) |
| Modifier and Type | Method and Description |
|---|---|
Folder |
addAttachmentsFolder() |
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(MBMessage mbMessage) |
boolean |
equals(Object obj) |
boolean |
getAllowPingbacks()
Returns the allow pingbacks of this message-boards message.
|
boolean |
getAnonymous()
Returns the anonymous of this message-boards message.
|
boolean |
getAnswer()
Returns the answer of this message-boards message.
|
String[] |
getAssetTagNames() |
List<FileEntry> |
getAttachmentsFileEntries() |
List<FileEntry> |
getAttachmentsFileEntries(int start,
int end) |
int |
getAttachmentsFileEntriesCount() |
long |
getAttachmentsFolderId() |
String |
getBody()
Returns the body of this message-boards message.
|
String |
getBody(boolean translate) |
MBCategory |
getCategory() |
long |
getCategoryId()
Returns the category ID of this message-boards message.
|
String |
getClassName()
Returns the fully qualified class name of this message-boards message.
|
long |
getClassNameId()
Returns the class name ID of this message-boards message.
|
long |
getClassPK()
Returns the class p k of this message-boards message.
|
long |
getCompanyId()
Returns the company ID of this message-boards message.
|
Date |
getCreateDate()
Returns the create date of this message-boards message.
|
List<FileEntry> |
getDeletedAttachmentsFileEntries() |
List<FileEntry> |
getDeletedAttachmentsFileEntries(int start,
int end) |
int |
getDeletedAttachmentsFileEntriesCount() |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getFormat()
Returns the format of this message-boards message.
|
long |
getGroupId()
Returns the group ID of this message-boards message.
|
Date |
getLastPublishDate()
Returns the last publish date of this message-boards message.
|
long |
getMessageId()
Returns the message ID of this message-boards message.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate()
Returns the modified date of this message-boards message.
|
long |
getParentMessageId()
Returns the parent message ID of this message-boards message.
|
long |
getPrimaryKey()
Returns the primary key of this message-boards message.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
double |
getPriority()
Returns the priority of this message-boards message.
|
long |
getRootMessageId()
Returns the root message ID of this message-boards message.
|
StagedModelType |
getStagedModelType() |
int |
getStatus()
Returns the status of this message-boards message.
|
long |
getStatusByUserId()
Returns the status by user ID of this message-boards message.
|
String |
getStatusByUserName()
Returns the status by user name of this message-boards message.
|
String |
getStatusByUserUuid()
Returns the status by user uuid of this message-boards message.
|
Date |
getStatusDate()
Returns the status date of this message-boards message.
|
String |
getSubject()
Returns the subject of this message-boards message.
|
MBThread |
getThread() |
long |
getThreadAttachmentsFolderId() |
long |
getThreadId()
Returns the thread ID of this message-boards message.
|
TrashEntry |
getTrashEntry()
Returns the trash entry created when this message-boards message was moved to the Recycle Bin.
|
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this message-boards message.
|
TrashHandler |
getTrashHandler()
Returns the trash handler for this message-boards message.
|
long |
getUserId()
Returns the user ID of this message-boards message.
|
String |
getUserName()
Returns the user name of this message-boards message.
|
String |
getUserUuid()
Returns the user uuid of this message-boards message.
|
String |
getUuid()
Returns the uuid of this message-boards message.
|
String |
getWorkflowClassName() |
MBMessage |
getWrappedModel() |
int |
hashCode() |
boolean |
isAllowPingbacks()
Returns
true if this message-boards message is allow pingbacks. |
boolean |
isAnonymous()
Returns
true if this message-boards message is anonymous. |
boolean |
isAnswer()
Returns
true if this message-boards message is answer. |
boolean |
isApproved()
Returns
true if this message-boards message is approved. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns
true if this message-boards message is denied. |
boolean |
isDiscussion() |
boolean |
isDraft()
Returns
true if this message-boards message is a draft. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isExpired()
Returns
true if this message-boards message is expired. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isFormatBBCode() |
boolean |
isInactive()
Returns
true if this message-boards message is inactive. |
boolean |
isIncomplete()
Returns
true if this message-boards message is incomplete. |
boolean |
isInTrash()
Returns
true if this message-boards message is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns
true if the parent of this message-boards message is in the Recycle Bin. |
boolean |
isInTrashExplicitly() |
boolean |
isInTrashImplicitly() |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns
true if this message-boards message is pending. |
boolean |
isReply() |
boolean |
isRoot() |
boolean |
isScheduled()
Returns
true if this message-boards message is scheduled. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setAllowPingbacks(boolean allowPingbacks)
Sets whether this message-boards message is allow pingbacks.
|
void |
setAnonymous(boolean anonymous)
Sets whether this message-boards message is anonymous.
|
void |
setAnswer(boolean answer)
Sets whether this message-boards message is answer.
|
void |
setAttachmentsFolderId(long attachmentsFolderId) |
void |
setBody(String body)
Sets the body of this message-boards message.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCategoryId(long categoryId)
Sets the category ID of this message-boards message.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this message-boards message.
|
void |
setClassPK(long classPK)
Sets the class p k of this message-boards message.
|
void |
setCompanyId(long companyId)
Sets the company ID of this message-boards message.
|
void |
setCreateDate(Date createDate)
Sets the create date of this message-boards message.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setFormat(String format)
Sets the format of this message-boards message.
|
void |
setGroupId(long groupId)
Sets the group ID of this message-boards message.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this message-boards message.
|
void |
setMessageId(long messageId)
Sets the message ID of this message-boards message.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this message-boards message.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setParentMessageId(long parentMessageId)
Sets the parent message ID of this message-boards message.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this message-boards message.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setPriority(double priority)
Sets the priority of this message-boards message.
|
void |
setRootMessageId(long rootMessageId)
Sets the root message ID of this message-boards message.
|
void |
setStatus(int status)
Sets the status of this message-boards message.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this message-boards message.
|
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this message-boards message.
|
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this message-boards message.
|
void |
setStatusDate(Date statusDate)
Sets the status date of this message-boards message.
|
void |
setSubject(String subject)
Sets the subject of this message-boards message.
|
void |
setThreadId(long threadId)
Sets the thread ID of this message-boards message.
|
void |
setUserId(long userId)
Sets the user ID of this message-boards message.
|
void |
setUserName(String userName)
Sets the user name of this message-boards message.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this message-boards message.
|
void |
setUuid(String uuid)
Sets the uuid of this message-boards message.
|
CacheModel<MBMessage> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
MBMessage |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
MBMessage |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public MBMessageWrapper(MBMessage mbMessage)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<MBMessage>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<MBMessage>public MBCategory getCategory() throws PortalException
getCategory in interface MBMessagePortalExceptionpublic MBMessage toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface MBMessageModeltoEscapedModel in interface BaseModel<MBMessage>AutoEscapeBeanHandlerpublic MBMessage toUnescapedModel()
toUnescapedModel in interface MBMessageModeltoUnescapedModel in interface BaseModel<MBMessage>public MBThread getThread() throws PortalException
getThread in interface MBMessagePortalExceptionpublic boolean getAllowPingbacks()
getAllowPingbacks in interface MBMessageModelpublic boolean getAnonymous()
getAnonymous in interface MBMessageModelpublic boolean getAnswer()
getAnswer in interface MBMessageModelpublic boolean isAllowPingbacks()
true if this message-boards message is allow pingbacks.isAllowPingbacks in interface MBMessageModeltrue if this message-boards message is allow pingbacks; false otherwisepublic boolean isAnonymous()
true if this message-boards message is anonymous.isAnonymous in interface MBMessageModeltrue if this message-boards message is anonymous; false otherwisepublic boolean isAnswer()
true if this message-boards message is answer.isAnswer in interface MBMessageModeltrue if this message-boards message is answer; false otherwisepublic boolean isApproved()
true if this message-boards message is approved.isApproved in interface MBMessageModelisApproved in interface WorkflowedModeltrue if this message-boards message is approved; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface MBMessageModelisCachedModel in interface BaseModel<MBMessage>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isDenied()
true if this message-boards message is denied.isDenied in interface MBMessageModelisDenied in interface WorkflowedModeltrue if this message-boards message is denied; false otherwisepublic boolean isDiscussion()
isDiscussion in interface MBMessagepublic boolean isDraft()
true if this message-boards message is a draft.isDraft in interface MBMessageModelisDraft in interface WorkflowedModeltrue if this message-boards message is a draft; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface MBMessageModelisEscapedModel in interface BaseModel<MBMessage>true if this model instance is escaped;
false otherwisepublic boolean isExpired()
true if this message-boards message is expired.isExpired in interface MBMessageModelisExpired in interface WorkflowedModeltrue if this message-boards message is expired; false otherwisepublic boolean isFormatBBCode()
isFormatBBCode in interface MBMessagepublic boolean isInTrash()
true if this message-boards message is in the Recycle Bin.isInTrash in interface MBMessageModelisInTrash in interface TrashedModeltrue if this message-boards message is in the Recycle Bin; false otherwisepublic boolean isInTrashContainer()
true if the parent of this message-boards message is in the Recycle Bin.isInTrashContainer in interface MBMessageModelisInTrashContainer in interface TrashedModeltrue if the parent of this message-boards message is in the Recycle Bin; false otherwisepublic boolean isInTrashExplicitly()
isInTrashExplicitly in interface MBMessageModelisInTrashExplicitly in interface TrashedModelpublic boolean isInTrashImplicitly()
isInTrashImplicitly in interface MBMessageModelisInTrashImplicitly in interface TrashedModelpublic boolean isInactive()
true if this message-boards message is inactive.isInactive in interface MBMessageModelisInactive in interface WorkflowedModeltrue if this message-boards message is inactive; false otherwisepublic boolean isIncomplete()
true if this message-boards message is incomplete.isIncomplete in interface MBMessageModelisIncomplete in interface WorkflowedModeltrue if this message-boards message is incomplete; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface MBMessageModelisNew in interface BaseModel<MBMessage>true if this model instance does not yet exist in
the database; false otherwisepublic boolean isPending()
true if this message-boards message is pending.isPending in interface MBMessageModelisPending in interface WorkflowedModeltrue if this message-boards message is pending; false otherwisepublic boolean isScheduled()
true if this message-boards message is scheduled.isScheduled in interface MBMessageModelisScheduled in interface WorkflowedModeltrue if this message-boards message is scheduled; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface MBMessageModelgetExpandoBridge in interface BaseModel<MBMessage>getExpandoBridge in interface ClassedModelpublic CacheModel<MBMessage> toCacheModel()
BaseModeltoCacheModel in interface MBMessageModeltoCacheModel in interface BaseModel<MBMessage>public Folder addAttachmentsFolder() throws PortalException
addAttachmentsFolder in interface MBMessagePortalExceptionpublic TrashHandler getTrashHandler()
getTrashHandler in interface MBMessageModelgetTrashHandler in interface TrashedModelpublic TrashEntry getTrashEntry() throws PortalException
getTrashEntry in interface MBMessageModelgetTrashEntry in interface TrashedModelPortalExceptionpublic double getPriority()
getPriority in interface MBMessageModelpublic int compareTo(MBMessage mbMessage)
compareTo in interface MBMessageModelcompareTo in interface Comparable<MBMessage>public int getAttachmentsFileEntriesCount()
throws PortalException
getAttachmentsFileEntriesCount in interface MBMessagePortalExceptionpublic int getDeletedAttachmentsFileEntriesCount()
throws PortalException
getDeletedAttachmentsFileEntriesCount in interface MBMessagePortalExceptionpublic int getStatus()
getStatus in interface MBMessageModelgetStatus in interface TrashedModelgetStatus in interface WorkflowedModelpublic int hashCode()
hashCode in interface MBMessageModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface MBMessageModelgetPrimaryKeyObj in interface BaseModel<MBMessage>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface MBMessageModelclone in interface BaseModel<MBMessage>clone in interface StagedModelclone in class Objectpublic String getBody()
getBody in interface MBMessageModelpublic String getClassName()
getClassName in interface MBMessageModelgetClassName in interface TypedModelpublic String getFormat()
getFormat in interface MBMessageModelpublic String getStatusByUserName()
getStatusByUserName in interface MBMessageModelgetStatusByUserName in interface WorkflowedModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface MBMessageModelgetStatusByUserUuid in interface WorkflowedModelpublic String getSubject()
getSubject in interface MBMessageModelpublic String getUserName()
getUserName in interface MBMessageModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface MBMessageModelgetUserUuid in interface AuditedModelpublic String getUuid()
getUuid in interface MBMessageModelgetUuid in interface StagedModelpublic String getWorkflowClassName()
getWorkflowClassName in interface MBMessagepublic String toString()
toString in interface MBMessageModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface MBMessageModeltoXmlString in interface BaseModel<MBMessage>public String[] getAssetTagNames()
getAssetTagNames in interface MBMessagepublic Date getCreateDate()
getCreateDate in interface MBMessageModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic Date getLastPublishDate()
getLastPublishDate in interface MBMessageModelgetLastPublishDate in interface StagedGroupedModelpublic Date getModifiedDate()
getModifiedDate in interface MBMessageModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic Date getStatusDate()
getStatusDate in interface MBMessageModelgetStatusDate in interface WorkflowedModelpublic List<FileEntry> getAttachmentsFileEntries() throws PortalException
getAttachmentsFileEntries in interface MBMessagePortalExceptionpublic List<FileEntry> getAttachmentsFileEntries(int start, int end) throws PortalException
getAttachmentsFileEntries in interface MBMessagePortalExceptionpublic List<FileEntry> getDeletedAttachmentsFileEntries() throws PortalException
getDeletedAttachmentsFileEntries in interface MBMessagePortalExceptionpublic List<FileEntry> getDeletedAttachmentsFileEntries(int start, int end) throws PortalException
getDeletedAttachmentsFileEntries in interface MBMessagePortalExceptionpublic long getAttachmentsFolderId()
throws PortalException
getAttachmentsFolderId in interface MBMessagePortalExceptionpublic long getCategoryId()
getCategoryId in interface MBMessageModelpublic long getClassNameId()
getClassNameId in interface MBMessageModelgetClassNameId in interface TypedModelpublic long getClassPK()
getClassPK in interface MBMessageModelgetClassPK in interface AttachedModelpublic long getCompanyId()
getCompanyId in interface MBMessageModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic long getGroupId()
getGroupId in interface MBMessageModelgetGroupId in interface GroupedModelpublic long getMessageId()
getMessageId in interface MBMessageModelpublic long getParentMessageId()
getParentMessageId in interface MBMessageModelpublic long getPrimaryKey()
getPrimaryKey in interface MBMessageModelpublic long getRootMessageId()
getRootMessageId in interface MBMessageModelpublic long getStatusByUserId()
getStatusByUserId in interface MBMessageModelgetStatusByUserId in interface WorkflowedModelpublic long getThreadAttachmentsFolderId()
throws PortalException
getThreadAttachmentsFolderId in interface MBMessagePortalExceptionpublic long getThreadId()
getThreadId in interface MBMessageModelpublic long getTrashEntryClassPK()
getTrashEntryClassPK in interface MBMessageModelgetTrashEntryClassPK in interface TrashedModelpublic long getUserId()
getUserId in interface MBMessageModelgetUserId in interface AuditedModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setAllowPingbacks(boolean allowPingbacks)
setAllowPingbacks in interface MBMessageModelallowPingbacks - the allow pingbacks of this message-boards messagepublic void setAnonymous(boolean anonymous)
setAnonymous in interface MBMessageModelanonymous - the anonymous of this message-boards messagepublic void setAnswer(boolean answer)
setAnswer in interface MBMessageModelanswer - the answer of this message-boards messagepublic void setAttachmentsFolderId(long attachmentsFolderId)
setAttachmentsFolderId in interface MBMessagepublic void setBody(String body)
setBody in interface MBMessageModelbody - the body of this message-boards messagepublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface MBMessageModelsetCachedModel in interface BaseModel<MBMessage>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCategoryId(long categoryId)
setCategoryId in interface MBMessageModelcategoryId - the category ID of this message-boards messagepublic void setClassName(String className)
setClassName in interface MBMessageModelpublic void setClassNameId(long classNameId)
setClassNameId in interface MBMessageModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this message-boards messagepublic void setClassPK(long classPK)
setClassPK in interface MBMessageModelsetClassPK in interface AttachedModelclassPK - the class p k of this message-boards messagepublic void setCompanyId(long companyId)
setCompanyId in interface MBMessageModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this message-boards messagepublic void setCreateDate(Date createDate)
setCreateDate in interface MBMessageModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this message-boards messagepublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface MBMessageModelsetExpandoBridgeAttributes in interface BaseModel<MBMessage>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface MBMessageModelsetExpandoBridgeAttributes in interface BaseModel<MBMessage>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface MBMessageModelsetExpandoBridgeAttributes in interface BaseModel<MBMessage>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFormat(String format)
setFormat in interface MBMessageModelformat - the format of this message-boards messagepublic void setGroupId(long groupId)
setGroupId in interface MBMessageModelsetGroupId in interface GroupedModelgroupId - the group ID of this message-boards messagepublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface MBMessageModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this message-boards messagepublic void setMessageId(long messageId)
setMessageId in interface MBMessageModelmessageId - the message ID of this message-boards messagepublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface MBMessageModelsetModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this message-boards messagepublic void setNew(boolean n)
BaseModelsetNew in interface MBMessageModelsetNew in interface BaseModel<MBMessage>n - whether this model instance does not yet exist in the databasepublic void setParentMessageId(long parentMessageId)
setParentMessageId in interface MBMessageModelparentMessageId - the parent message ID of this message-boards messagepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface MBMessageModelprimaryKey - the primary key of this message-boards messagepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface MBMessageModelsetPrimaryKeyObj in interface BaseModel<MBMessage>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setPriority(double priority)
setPriority in interface MBMessageModelpriority - the priority of this message-boards messagepublic void setRootMessageId(long rootMessageId)
setRootMessageId in interface MBMessageModelrootMessageId - the root message ID of this message-boards messagepublic void setStatus(int status)
setStatus in interface MBMessageModelsetStatus in interface WorkflowedModelstatus - the status of this message-boards messagepublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface MBMessageModelsetStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this message-boards messagepublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface MBMessageModelsetStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this message-boards messagepublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface MBMessageModelsetStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this message-boards messagepublic void setStatusDate(Date statusDate)
setStatusDate in interface MBMessageModelsetStatusDate in interface WorkflowedModelstatusDate - the status date of this message-boards messagepublic void setSubject(String subject)
setSubject in interface MBMessageModelsubject - the subject of this message-boards messagepublic void setThreadId(long threadId)
setThreadId in interface MBMessageModelthreadId - the thread ID of this message-boards messagepublic void setUserId(long userId)
setUserId in interface MBMessageModelsetUserId in interface AuditedModeluserId - the user ID of this message-boards messagepublic void setUserName(String userName)
setUserName in interface MBMessageModelsetUserName in interface AuditedModeluserName - the user name of this message-boards messagepublic void setUserUuid(String userUuid)
setUserUuid in interface MBMessageModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this message-boards messagepublic void setUuid(String uuid)
setUuid in interface MBMessageModelsetUuid in interface StagedModeluuid - the uuid of this message-boards messagepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic MBMessage getWrappedModel()
getWrappedModel in interface ModelWrapper<MBMessage>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<MBMessage>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<MBMessage>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<MBMessage>