com.liferay.portlet.messageboards.model
Interface MBMessage

All Superinterfaces:
BaseModel<MBMessage>, java.lang.Cloneable, java.lang.Comparable<MBMessage>, MBMessageModel, java.io.Serializable
All Known Implementing Classes:
MBMessageWrapper

public interface MBMessage
extends MBMessageModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the MBMessage table in the database.

Customize com.liferay.portlet.messageboards.model.impl.MBMessageImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
MBMessageModel, com.liferay.portlet.messageboards.model.impl.MBMessageImpl, com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
Generated:

Method Summary
 java.lang.String getAttachmentsDir()
           
 java.lang.String[] getAttachmentsFiles()
           
 java.lang.String getBody(boolean translate)
           
 MBCategory getCategory()
           
 java.lang.String[] getTagsEntries()
           
 MBThread getThread()
           
 java.lang.String getThreadAttachmentsDir()
           
 boolean isDiscussion()
           
 boolean isReply()
           
 boolean isRoot()
           
 void setAttachmentsDir(java.lang.String attachmentsDir)
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBMessageModel
clone, compareTo, getAnonymous, getAttachments, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getExpandoBridge, getGroupId, getMessageId, getModifiedDate, getParentMessageId, getPrimaryKey, getPrimaryKeyObj, getPriority, getSubject, getThreadId, getUserId, getUserName, getUserUuid, getUuid, hashCode, isAnonymous, isAttachments, isCachedModel, isEscapedModel, isNew, setAnonymous, setAttachments, setBody, setCachedModel, setCategoryId, setClassNameId, setClassPK, setCompanyId, setCreateDate, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setMessageId, setModifiedDate, setNew, setParentMessageId, setPrimaryKey, setPriority, setSubject, setThreadId, setUserId, setUserName, setUserUuid, setUuid, toEscapedModel, toString, toXmlString
 

Method Detail

getAttachmentsDir

java.lang.String getAttachmentsDir()

getAttachmentsFiles

java.lang.String[] getAttachmentsFiles()
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getBody

java.lang.String getBody(boolean translate)

getCategory

MBCategory getCategory()

getTagsEntries

java.lang.String[] getTagsEntries()
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getThread

MBThread getThread()
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getThreadAttachmentsDir

java.lang.String getThreadAttachmentsDir()

isDiscussion

boolean isDiscussion()

isReply

boolean isReply()

isRoot

boolean isRoot()

setAttachmentsDir

void setAttachmentsDir(java.lang.String attachmentsDir)