com.liferay.portlet.messageboards.model
Interface MBMessage

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

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

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()
           
 java.lang.String getUserUuid()
           
 boolean isDiscussion()
           
 boolean isReply()
           
 boolean isRoot()
           
 void setAttachmentsDir(java.lang.String attachmentsDir)
           
 void setUserUuid(java.lang.String userUuid)
           
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBMessageModel
getAnonymous, getAttachments, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getGroupId, getMessageId, getModifiedDate, getParentMessageId, getPrimaryKey, getPriority, getSubject, getThreadId, getUserId, getUserName, getUuid, isAnonymous, isAttachments, setAnonymous, setAttachments, setBody, setCategoryId, setClassNameId, setClassPK, setCompanyId, setCreateDate, setGroupId, setMessageId, setModifiedDate, setParentMessageId, setPrimaryKey, setPriority, setSubject, setThreadId, setUserId, setUserName, setUuid, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getUserUuid

java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setUserUuid

void setUserUuid(java.lang.String userUuid)

getCategory

MBCategory getCategory()

getThread

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

isRoot

boolean isRoot()

isReply

boolean isReply()

isDiscussion

boolean isDiscussion()

getBody

java.lang.String getBody(boolean translate)

getThreadAttachmentsDir

java.lang.String getThreadAttachmentsDir()

getAttachmentsDir

java.lang.String getAttachmentsDir()

setAttachmentsDir

void setAttachmentsDir(java.lang.String attachmentsDir)

getAttachmentsFiles

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

getTagsEntries

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