Interface MBMessage

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MBMessage>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<MBMessage>, com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, MBMessageModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, Serializable, 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
All Known Implementing Classes:
MBMessageWrapper

@ProviderType public interface MBMessage extends MBMessageModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.TreeModel
The extended model interface for the MBMessage service. Represents a row in the "MBMessage" database table, with each column mapped to a property of this class.
See Also:
Generated:
  • Field Details

    • MESSAGE_ID_ACCESSOR

      static final com.liferay.portal.kernel.util.Accessor<MBMessage,Long> MESSAGE_ID_ACCESSOR
  • Method Details

    • addAttachmentsFolder

      com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAssetTagNames

      String[] getAssetTagNames()
    • getAttachmentsFileEntries

      List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntries

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

      int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFileEntryByExternalReferenceCode

      com.liferay.portal.kernel.repository.model.FileEntry getAttachmentsFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAttachmentsFolderId

      long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getBody

      String getBody(boolean translate)
    • getCategory

      MBCategory getCategory() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDeletedAttachmentsFileEntries

      List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDeletedAttachmentsFileEntries

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

      int getDeletedAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getThread

      MBThread getThread() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getThreadAttachmentsFolderId

      long getThreadAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWorkflowClassName

      String getWorkflowClassName()
    • isDiscussion

      boolean isDiscussion()
    • isFormatBBCode

      boolean isFormatBBCode()
    • isReply

      boolean isReply()
    • isRoot

      boolean isRoot()
    • setAttachmentsFolderId

      void setAttachmentsFolderId(long attachmentsFolderId)