com.liferay.portlet.messageboards.model.impl
Class MBMessageImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.messageboards.model.MBMessage>
      extended by com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
          extended by com.liferay.portlet.messageboards.model.impl.MBMessageBaseImpl
              extended by com.liferay.portlet.messageboards.model.impl.MBMessageImpl
All Implemented Interfaces:
com.liferay.portal.model.AttachedModel, com.liferay.portal.model.AuditedModel, com.liferay.portal.model.BaseModel<com.liferay.portlet.messageboards.model.MBMessage>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.GroupedModel, com.liferay.portal.model.PersistedModel, com.liferay.portal.model.WorkflowedModel, com.liferay.portlet.messageboards.model.MBMessage, com.liferay.portlet.messageboards.model.MBMessageModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.messageboards.model.MBMessage>

public class MBMessageImpl
extends MBMessageBaseImpl

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
ANSWER_COLUMN_BITMASK, CATEGORYID_COLUMN_BITMASK, CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTMESSAGEID_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, THREADID_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK
 
Constructor Summary
MBMessageImpl()
           
 
Method Summary
 java.lang.String[] getAssetTagNames()
           
 java.lang.String getAttachmentsDir()
           
 java.lang.String[] getAttachmentsFiles()
           
 java.lang.String getBody(boolean translate)
           
 com.liferay.portlet.messageboards.model.MBCategory getCategory()
           
 com.liferay.portlet.messageboards.model.MBThread getThread()
           
 java.lang.String getThreadAttachmentsDir()
           
 java.lang.String getWorkflowClassName()
           
 boolean isDiscussion()
           
 boolean isFormatBBCode()
           
 boolean isReply()
           
 boolean isRoot()
           
 void setAttachmentsDir(java.lang.String attachmentsDir)
           
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBMessageBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
clone, compareTo, equals, getAllowPingbacks, getAnonymous, getAnswer, getApproved, getAttachments, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, getMessageId, getModelClass, getModelClassName, getModifiedDate, getOriginalAnswer, getOriginalCategoryId, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalGroupId, getOriginalParentMessageId, getOriginalStatus, getOriginalThreadId, getOriginalUserId, getOriginalUuid, getParentMessageId, getPrimaryKey, getPrimaryKeyObj, getPriority, getRootMessageId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubject, getThreadId, getUserId, getUserName, getUserUuid, getUuid, hashCode, isAllowPingbacks, isAnonymous, isAnswer, isApproved, isAttachments, isDraft, isExpired, isPending, resetOriginalValues, setAllowPingbacks, setAnonymous, setAnswer, setAttachments, setBody, setCategoryId, setClassNameId, setClassPK, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setFormat, setGroupId, setMessageId, setModifiedDate, setParentMessageId, setPrimaryKey, setPrimaryKeyObj, setPriority, setRootMessageId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSubject, setThreadId, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.messageboards.model.MBMessageModel
clone, compareTo, getAllowPingbacks, getAnonymous, getAnswer, getApproved, getAttachments, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, getMessageId, getModifiedDate, getParentMessageId, getPrimaryKey, getPrimaryKeyObj, getPriority, getRootMessageId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubject, getThreadId, getUserId, getUserName, getUserUuid, getUuid, hashCode, isAllowPingbacks, isAnonymous, isAnswer, isApproved, isAttachments, isCachedModel, isDraft, isEscapedModel, isExpired, isNew, isPending, setAllowPingbacks, setAnonymous, setAnswer, setAttachments, setBody, setCachedModel, setCategoryId, setClassNameId, setClassPK, setCompanyId, setCreateDate, 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, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
resetOriginalValues
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

MBMessageImpl

public MBMessageImpl()
Method Detail

getAssetTagNames

public java.lang.String[] getAssetTagNames()
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAttachmentsDir

public java.lang.String getAttachmentsDir()

getAttachmentsFiles

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

getBody

public java.lang.String getBody(boolean translate)

getCategory

public com.liferay.portlet.messageboards.model.MBCategory getCategory()

getThread

public com.liferay.portlet.messageboards.model.MBThread getThread()
                                                           throws com.liferay.portal.kernel.exception.PortalException,
                                                                  com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getThreadAttachmentsDir

public java.lang.String getThreadAttachmentsDir()

getWorkflowClassName

public java.lang.String getWorkflowClassName()

isDiscussion

public boolean isDiscussion()

isFormatBBCode

public boolean isFormatBBCode()

isReply

public boolean isReply()

isRoot

public boolean isRoot()

setAttachmentsDir

public void setAttachmentsDir(java.lang.String attachmentsDir)