Liferay 6.2.0

com.liferay.portlet.messageboards.model
Interface MBMessage

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<MBMessage>, ClassedModel, Cloneable, Comparable<MBMessage>, GroupedModel, MBMessageModel, PersistedModel, Serializable, StagedGroupedModel, StagedModel, TrashedModel, TypedModel, WorkflowedModel
All Known Implementing Classes:
MBMessageWrapper

@ProviderType
public interface MBMessage
extends MBMessageModel, PersistedModel

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:
MBMessageModel, com.liferay.portlet.messageboards.model.impl.MBMessageImpl, com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl

Method Summary
abstract  Folder addAttachmentsFolder()
           
abstract  String[] getAssetTagNames()
           
abstract  List<FileEntry> getAttachmentsFileEntries()
           
abstract  List<FileEntry> getAttachmentsFileEntries(int start, int end)
           
abstract  int getAttachmentsFileEntriesCount()
           
abstract  long getAttachmentsFolderId()
           
abstract  String getBody(boolean translate)
           
abstract  MBCategory getCategory()
           
abstract  List<FileEntry> getDeletedAttachmentsFileEntries()
           
abstract  List<FileEntry> getDeletedAttachmentsFileEntries(int start, int end)
           
abstract  int getDeletedAttachmentsFileEntriesCount()
           
abstract  MBThread getThread()
           
abstract  long getThreadAttachmentsFolderId()
           
abstract  String getWorkflowClassName()
           
abstract  boolean isDiscussion()
           
abstract  boolean isFormatBBCode()
           
abstract  boolean isReply()
           
abstract  boolean isRoot()
           
abstract  void setAttachmentsFolderId(long attachmentsFolderId)
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBMessageModel
clone, compareTo, getAllowPingbacks, getAnonymous, getAnswer, getApproved, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, getMessageId, getModifiedDate, getParentMessageId, getPrimaryKey, getPrimaryKeyObj, getPriority, getRootMessageId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubject, getThreadId, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, hashCode, isAllowPingbacks, isAnonymous, isAnswer, isApproved, isCachedModel, isDenied, isDraft, isEscapedModel, isExpired, isInactive, isIncomplete, isInTrash, isInTrashContainer, isNew, isPending, isScheduled, setAllowPingbacks, setAnonymous, setAnswer, setBody, setCachedModel, setCategoryId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFormat, setGroupId, setMessageId, setModifiedDate, setNew, setParentMessageId, setPrimaryKey, setPrimaryKeyObj, setPriority, setRootMessageId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSubject, setThreadId, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

addAttachmentsFolder

Folder addAttachmentsFolder()
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getAssetTagNames

String[] getAssetTagNames()
                          throws SystemException
Throws:
SystemException

getAttachmentsFileEntries

List<FileEntry> getAttachmentsFileEntries()
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getAttachmentsFileEntries

List<FileEntry> getAttachmentsFileEntries(int start,
                                          int end)
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getAttachmentsFileEntriesCount

int getAttachmentsFileEntriesCount()
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getAttachmentsFolderId

long getAttachmentsFolderId()
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getBody

String getBody(boolean translate)

getCategory

MBCategory getCategory()
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getDeletedAttachmentsFileEntries

List<FileEntry> getDeletedAttachmentsFileEntries()
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

getDeletedAttachmentsFileEntries

List<FileEntry> getDeletedAttachmentsFileEntries(int start,
                                                 int end)
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

getDeletedAttachmentsFileEntriesCount

int getDeletedAttachmentsFileEntriesCount()
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getThread

MBThread getThread()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getThreadAttachmentsFolderId

long getThreadAttachmentsFolderId()
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getWorkflowClassName

String getWorkflowClassName()

isDiscussion

boolean isDiscussion()

isFormatBBCode

boolean isFormatBBCode()

isReply

boolean isReply()

isRoot

boolean isRoot()

setAttachmentsFolderId

void setAttachmentsFolderId(long attachmentsFolderId)

Liferay 6.2.0