Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.model
Interface MBMessage

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<MBMessage>, ClassedModel, Cloneable, Comparable<MBMessage>, GroupedModel, MBMessageModel, PersistedModel, Serializable, ShardedModel, StagedGroupedModel, StagedModel, TrashedModel, TypedModel, WorkflowedModel
All Known Implementing Classes:
MBMessageBaseImpl, MBMessageImpl, 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, MBMessageImpl, MBMessageModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static Accessor<MBMessage,Long> MESSAGE_ID_ACCESSOR
           
 
Method Summary
 Folder addAttachmentsFolder()
           
 String[] getAssetTagNames()
           
 List<FileEntry> getAttachmentsFileEntries()
           
 List<FileEntry> getAttachmentsFileEntries(int start, int end)
           
 int getAttachmentsFileEntriesCount()
           
 long getAttachmentsFolderId()
           
 String getBody(boolean translate)
           
 MBCategory getCategory()
           
 List<FileEntry> getDeletedAttachmentsFileEntries()
           
 List<FileEntry> getDeletedAttachmentsFileEntries(int start, int end)
           
 int getDeletedAttachmentsFileEntriesCount()
           
 MBThread getThread()
           
 long getThreadAttachmentsFolderId()
           
 String getWorkflowClassName()
           
 boolean isDiscussion()
           
 boolean isFormatBBCode()
           
 boolean isReply()
           
 boolean isRoot()
           
 void setAttachmentsFolderId(long attachmentsFolderId)
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBMessageModel
clone, compareTo, getAllowPingbacks, getAnonymous, getAnswer, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, getLastPublishDate, 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, isInTrashExplicitly, isInTrashImplicitly, isNew, isPending, isScheduled, setAllowPingbacks, setAnonymous, setAnswer, setBody, setCachedModel, setCategoryId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setFormat, setGroupId, setLastPublishDate, 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, isEntityCacheEnabled, isFinderCacheEnabled, 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
 

Field Detail

MESSAGE_ID_ACCESSOR

static final Accessor<MBMessage,Long> MESSAGE_ID_ACCESSOR
Method Detail

addAttachmentsFolder

Folder addAttachmentsFolder()
                            throws PortalException
Throws:
PortalException

getAssetTagNames

String[] getAssetTagNames()

getAttachmentsFileEntries

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

getAttachmentsFileEntries

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

getAttachmentsFileEntriesCount

int getAttachmentsFileEntriesCount()
                                   throws PortalException
Throws:
PortalException

getAttachmentsFolderId

long getAttachmentsFolderId()
                            throws PortalException
Throws:
PortalException

getBody

String getBody(boolean translate)

getCategory

MBCategory getCategory()
                       throws PortalException
Throws:
PortalException

getDeletedAttachmentsFileEntries

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

getDeletedAttachmentsFileEntries

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

getDeletedAttachmentsFileEntriesCount

int getDeletedAttachmentsFileEntriesCount()
                                          throws PortalException
Throws:
PortalException

getThread

MBThread getThread()
                   throws PortalException
Throws:
PortalException

getThreadAttachmentsFolderId

long getThreadAttachmentsFolderId()
                                  throws PortalException
Throws:
PortalException

getWorkflowClassName

String getWorkflowClassName()

isDiscussion

boolean isDiscussion()

isFormatBBCode

boolean isFormatBBCode()

isReply

boolean isReply()

isRoot

boolean isRoot()

setAttachmentsFolderId

void setAttachmentsFolderId(long attachmentsFolderId)

Liferay 7.0-ce-b4