Class MBMessageWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBMessage>
com.liferay.message.boards.model.MBMessageWrapper
All Implemented Interfaces:
MBMessage, MBMessageModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MBMessage>, com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<MBMessage>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.TreeModel, com.liferay.portal.kernel.model.TypedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<MBMessage>

public class MBMessageWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBMessage> implements MBMessage, com.liferay.portal.kernel.model.ModelWrapper<MBMessage>

This class is a wrapper for MBMessage.

See Also:
Generated:
  • Constructor Details

    • MBMessageWrapper

      public MBMessageWrapper(MBMessage mbMessage)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MBMessage>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MBMessage>
    • addAttachmentsFolder

      public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAttachmentsFolder in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • buildTreePath

      public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      buildTreePath in interface com.liferay.portal.kernel.model.TreeModel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cloneWithOriginalValues

      public MBMessage cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MBMessage>
      Specified by:
      cloneWithOriginalValues in interface MBMessageModel
    • getAllowPingbacks

      public boolean getAllowPingbacks()
      Returns the allow pingbacks of this message-boards message.
      Specified by:
      getAllowPingbacks in interface MBMessageModel
      Returns:
      the allow pingbacks of this message-boards message
    • getAnonymous

      public boolean getAnonymous()
      Returns the anonymous of this message-boards message.
      Specified by:
      getAnonymous in interface MBMessageModel
      Returns:
      the anonymous of this message-boards message
    • getAnswer

      public boolean getAnswer()
      Returns the answer of this message-boards message.
      Specified by:
      getAnswer in interface MBMessageModel
      Returns:
      the answer of this message-boards message
    • getAssetTagNames

      public String[] getAssetTagNames()
      Specified by:
      getAssetTagNames in interface MBMessage
    • getAttachmentsFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFileEntries in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFileEntries in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntriesCount

      public int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFileEntriesCount in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntryByExternalReferenceCode

      public com.liferay.portal.kernel.repository.model.FileEntry getAttachmentsFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFileEntryByExternalReferenceCode in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFolderId

      public long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAttachmentsFolderId in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBody

      public String getBody()
      Returns the body of this message-boards message.
      Specified by:
      getBody in interface MBMessageModel
      Returns:
      the body of this message-boards message
    • getBody

      public String getBody(boolean translate)
      Specified by:
      getBody in interface MBMessage
    • getCategory

      public MBCategory getCategory() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategory in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoryId

      public long getCategoryId()
      Returns the category ID of this message-boards message.
      Specified by:
      getCategoryId in interface MBMessageModel
      Returns:
      the category ID of this message-boards message
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this message-boards message.
      Specified by:
      getClassName in interface MBMessageModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this message-boards message
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this message-boards message.
      Specified by:
      getClassNameId in interface MBMessageModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this message-boards message
    • getClassPK

      public long getClassPK()
      Returns the class pk of this message-boards message.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface MBMessageModel
      Returns:
      the class pk of this message-boards message
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this message-boards message.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface MBMessageModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this message-boards message
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this message-boards message.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface MBMessageModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this message-boards message
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this message-boards message.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>
      Specified by:
      getCtCollectionId in interface MBMessageModel
      Returns:
      the ct collection ID of this message-boards message
    • getDeletedAttachmentsFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDeletedAttachmentsFileEntries in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDeletedAttachmentsFileEntries

      public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries(int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDeletedAttachmentsFileEntries in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDeletedAttachmentsFileEntriesCount

      public int getDeletedAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDeletedAttachmentsFileEntriesCount in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this message-boards message.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface MBMessageModel
      Returns:
      the external reference code of this message-boards message
    • getFormat

      public String getFormat()
      Returns the format of this message-boards message.
      Specified by:
      getFormat in interface MBMessageModel
      Returns:
      the format of this message-boards message
    • getGroupId

      public long getGroupId()
      Returns the group ID of this message-boards message.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface MBMessageModel
      Returns:
      the group ID of this message-boards message
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this message-boards message.
      Specified by:
      getLastPublishDate in interface MBMessageModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this message-boards message
    • getMessageId

      public long getMessageId()
      Returns the message ID of this message-boards message.
      Specified by:
      getMessageId in interface MBMessageModel
      Returns:
      the message ID of this message-boards message
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this message-boards message.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface MBMessageModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this message-boards message
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this message-boards message.
      Specified by:
      getMvccVersion in interface MBMessageModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this message-boards message
    • getParentMessageId

      public long getParentMessageId()
      Returns the parent message ID of this message-boards message.
      Specified by:
      getParentMessageId in interface MBMessageModel
      Returns:
      the parent message ID of this message-boards message
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this message-boards message.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>
      Specified by:
      getPrimaryKey in interface MBMessageModel
      Returns:
      the primary key of this message-boards message
    • getPriority

      public double getPriority()
      Returns the priority of this message-boards message.
      Specified by:
      getPriority in interface MBMessageModel
      Returns:
      the priority of this message-boards message
    • getRootMessageId

      public long getRootMessageId()
      Returns the root message ID of this message-boards message.
      Specified by:
      getRootMessageId in interface MBMessageModel
      Returns:
      the root message ID of this message-boards message
    • getStatus

      public int getStatus()
      Returns the status of this message-boards message.
      Specified by:
      getStatus in interface MBMessageModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.TrashedModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this message-boards message
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this message-boards message.
      Specified by:
      getStatusByUserId in interface MBMessageModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this message-boards message
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this message-boards message.
      Specified by:
      getStatusByUserName in interface MBMessageModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this message-boards message
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this message-boards message.
      Specified by:
      getStatusByUserUuid in interface MBMessageModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this message-boards message
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this message-boards message.
      Specified by:
      getStatusDate in interface MBMessageModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this message-boards message
    • getSubject

      public String getSubject()
      Returns the subject of this message-boards message.
      Specified by:
      getSubject in interface MBMessageModel
      Returns:
      the subject of this message-boards message
    • getThread

      public MBThread getThread() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getThread in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getThreadAttachmentsFolderId

      public long getThreadAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getThreadAttachmentsFolderId in interface MBMessage
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getThreadId

      public long getThreadId()
      Returns the thread ID of this message-boards message.
      Specified by:
      getThreadId in interface MBMessageModel
      Returns:
      the thread ID of this message-boards message
    • getTrashEntryClassPK

      public long getTrashEntryClassPK()
      Returns the class primary key of the trash entry for this message-boards message.
      Specified by:
      getTrashEntryClassPK in interface MBMessageModel
      Specified by:
      getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      the class primary key of the trash entry for this message-boards message
    • getTreePath

      public String getTreePath()
      Returns the tree path of this message-boards message.
      Specified by:
      getTreePath in interface MBMessageModel
      Specified by:
      getTreePath in interface com.liferay.portal.kernel.model.TreeModel
      Returns:
      the tree path of this message-boards message
    • getUrlSubject

      public String getUrlSubject()
      Returns the url subject of this message-boards message.
      Specified by:
      getUrlSubject in interface MBMessageModel
      Returns:
      the url subject of this message-boards message
    • getUserId

      public long getUserId()
      Returns the user ID of this message-boards message.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface MBMessageModel
      Returns:
      the user ID of this message-boards message
    • getUserName

      public String getUserName()
      Returns the user name of this message-boards message.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface MBMessageModel
      Returns:
      the user name of this message-boards message
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this message-boards message.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface MBMessageModel
      Returns:
      the user uuid of this message-boards message
    • getUuid

      public String getUuid()
      Returns the uuid of this message-boards message.
      Specified by:
      getUuid in interface MBMessageModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this message-boards message
    • getWorkflowClassName

      public String getWorkflowClassName()
      Specified by:
      getWorkflowClassName in interface MBMessage
    • isAllowPingbacks

      public boolean isAllowPingbacks()
      Returns true if this message-boards message is allow pingbacks.
      Specified by:
      isAllowPingbacks in interface MBMessageModel
      Returns:
      true if this message-boards message is allow pingbacks; false otherwise
    • isAnonymous

      public boolean isAnonymous()
      Returns true if this message-boards message is anonymous.
      Specified by:
      isAnonymous in interface MBMessageModel
      Returns:
      true if this message-boards message is anonymous; false otherwise
    • isAnswer

      public boolean isAnswer()
      Returns true if this message-boards message is answer.
      Specified by:
      isAnswer in interface MBMessageModel
      Returns:
      true if this message-boards message is answer; false otherwise
    • isApproved

      public boolean isApproved()
      Returns true if this message-boards message is approved.
      Specified by:
      isApproved in interface MBMessageModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this message-boards message is denied.
      Specified by:
      isDenied in interface MBMessageModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is denied; false otherwise
    • isDiscussion

      public boolean isDiscussion()
      Specified by:
      isDiscussion in interface MBMessage
    • isDraft

      public boolean isDraft()
      Returns true if this message-boards message is a draft.
      Specified by:
      isDraft in interface MBMessageModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this message-boards message is expired.
      Specified by:
      isExpired in interface MBMessageModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is expired; false otherwise
    • isFormatBBCode

      public boolean isFormatBBCode()
      Specified by:
      isFormatBBCode in interface MBMessage
    • isInactive

      public boolean isInactive()
      Returns true if this message-boards message is inactive.
      Specified by:
      isInactive in interface MBMessageModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this message-boards message is incomplete.
      Specified by:
      isIncomplete in interface MBMessageModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is incomplete; false otherwise
    • isInTrash

      public boolean isInTrash()
      Returns true if this message-boards message is in the Recycle Bin.
      Specified by:
      isInTrash in interface MBMessageModel
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      true if this message-boards message is in the Recycle Bin; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this message-boards message is pending.
      Specified by:
      isPending in interface MBMessageModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is pending; false otherwise
    • isReply

      public boolean isReply()
      Specified by:
      isReply in interface MBMessage
    • isRoot

      public boolean isRoot()
      Specified by:
      isRoot in interface MBMessage
    • isScheduled

      public boolean isScheduled()
      Returns true if this message-boards message is scheduled.
      Specified by:
      isScheduled in interface MBMessageModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message-boards message is scheduled; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setAllowPingbacks

      public void setAllowPingbacks(boolean allowPingbacks)
      Sets whether this message-boards message is allow pingbacks.
      Specified by:
      setAllowPingbacks in interface MBMessageModel
      Parameters:
      allowPingbacks - the allow pingbacks of this message-boards message
    • setAnonymous

      public void setAnonymous(boolean anonymous)
      Sets whether this message-boards message is anonymous.
      Specified by:
      setAnonymous in interface MBMessageModel
      Parameters:
      anonymous - the anonymous of this message-boards message
    • setAnswer

      public void setAnswer(boolean answer)
      Sets whether this message-boards message is answer.
      Specified by:
      setAnswer in interface MBMessageModel
      Parameters:
      answer - the answer of this message-boards message
    • setAttachmentsFolderId

      public void setAttachmentsFolderId(long attachmentsFolderId)
      Specified by:
      setAttachmentsFolderId in interface MBMessage
    • setBody

      public void setBody(String body)
      Sets the body of this message-boards message.
      Specified by:
      setBody in interface MBMessageModel
      Parameters:
      body - the body of this message-boards message
    • setCategoryId

      public void setCategoryId(long categoryId)
      Sets the category ID of this message-boards message.
      Specified by:
      setCategoryId in interface MBMessageModel
      Parameters:
      categoryId - the category ID of this message-boards message
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface MBMessageModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this message-boards message.
      Specified by:
      setClassNameId in interface MBMessageModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this message-boards message
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this message-boards message.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface MBMessageModel
      Parameters:
      classPK - the class pk of this message-boards message
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this message-boards message.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface MBMessageModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this message-boards message
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this message-boards message.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface MBMessageModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this message-boards message
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this message-boards message.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>
      Specified by:
      setCtCollectionId in interface MBMessageModel
      Parameters:
      ctCollectionId - the ct collection ID of this message-boards message
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this message-boards message.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface MBMessageModel
      Parameters:
      externalReferenceCode - the external reference code of this message-boards message
    • setFormat

      public void setFormat(String format)
      Sets the format of this message-boards message.
      Specified by:
      setFormat in interface MBMessageModel
      Parameters:
      format - the format of this message-boards message
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this message-boards message.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface MBMessageModel
      Parameters:
      groupId - the group ID of this message-boards message
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this message-boards message.
      Specified by:
      setLastPublishDate in interface MBMessageModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this message-boards message
    • setMessageId

      public void setMessageId(long messageId)
      Sets the message ID of this message-boards message.
      Specified by:
      setMessageId in interface MBMessageModel
      Parameters:
      messageId - the message ID of this message-boards message
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this message-boards message.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface MBMessageModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this message-boards message
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this message-boards message.
      Specified by:
      setMvccVersion in interface MBMessageModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this message-boards message
    • setParentMessageId

      public void setParentMessageId(long parentMessageId)
      Sets the parent message ID of this message-boards message.
      Specified by:
      setParentMessageId in interface MBMessageModel
      Parameters:
      parentMessageId - the parent message ID of this message-boards message
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this message-boards message.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>
      Specified by:
      setPrimaryKey in interface MBMessageModel
      Parameters:
      primaryKey - the primary key of this message-boards message
    • setPriority

      public void setPriority(double priority)
      Sets the priority of this message-boards message.
      Specified by:
      setPriority in interface MBMessageModel
      Parameters:
      priority - the priority of this message-boards message
    • setRootMessageId

      public void setRootMessageId(long rootMessageId)
      Sets the root message ID of this message-boards message.
      Specified by:
      setRootMessageId in interface MBMessageModel
      Parameters:
      rootMessageId - the root message ID of this message-boards message
    • setStatus

      public void setStatus(int status)
      Sets the status of this message-boards message.
      Specified by:
      setStatus in interface MBMessageModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this message-boards message
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this message-boards message.
      Specified by:
      setStatusByUserId in interface MBMessageModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this message-boards message
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this message-boards message.
      Specified by:
      setStatusByUserName in interface MBMessageModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this message-boards message
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this message-boards message.
      Specified by:
      setStatusByUserUuid in interface MBMessageModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this message-boards message
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this message-boards message.
      Specified by:
      setStatusDate in interface MBMessageModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this message-boards message
    • setSubject

      public void setSubject(String subject)
      Sets the subject of this message-boards message.
      Specified by:
      setSubject in interface MBMessageModel
      Parameters:
      subject - the subject of this message-boards message
    • setThreadId

      public void setThreadId(long threadId)
      Sets the thread ID of this message-boards message.
      Specified by:
      setThreadId in interface MBMessageModel
      Parameters:
      threadId - the thread ID of this message-boards message
    • setTreePath

      public void setTreePath(String treePath)
      Sets the tree path of this message-boards message.
      Specified by:
      setTreePath in interface MBMessageModel
      Parameters:
      treePath - the tree path of this message-boards message
    • setUrlSubject

      public void setUrlSubject(String urlSubject)
      Sets the url subject of this message-boards message.
      Specified by:
      setUrlSubject in interface MBMessageModel
      Parameters:
      urlSubject - the url subject of this message-boards message
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this message-boards message.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface MBMessageModel
      Parameters:
      userId - the user ID of this message-boards message
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this message-boards message.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface MBMessageModel
      Parameters:
      userName - the user name of this message-boards message
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this message-boards message.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface MBMessageModel
      Parameters:
      userUuid - the user uuid of this message-boards message
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this message-boards message.
      Specified by:
      setUuid in interface MBMessageModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this message-boards message
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface MBMessageModel
    • updateTreePath

      public void updateTreePath(String treePath)
      Specified by:
      updateTreePath in interface com.liferay.portal.kernel.model.TreeModel
    • getAttributeGetterFunctions

      public Map<String,Function<MBMessage,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<MBMessage>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<MBMessage,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<MBMessage>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected MBMessageWrapper wrap(MBMessage mbMessage)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBMessage>