Liferay 7.0-ce-b8 portal-impl

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

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.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.message.boards.kernel.model.MBMessage, com.liferay.message.boards.kernel.model.MBMessageModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBMessage>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TrashedModel, com.liferay.portal.kernel.model.TypedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<com.liferay.message.boards.kernel.model.MBMessage>

public class MBMessageImpl
extends MBMessageBaseImpl

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, CREATEDATE_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MESSAGEID_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, PARENTMESSAGEID_COLUMN_BITMASK, SESSION_FACTORY, STATUS_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, THREADID_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK
 
Fields inherited from interface com.liferay.message.boards.kernel.model.MBMessage
MESSAGE_ID_ACCESSOR
 
Constructor Summary
MBMessageImpl()
           
 
Method Summary
 com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder()
           
 String[] getAssetTagNames()
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries()
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start, int end)
           
 int getAttachmentsFileEntriesCount()
           
 long getAttachmentsFolderId()
           
 String getBody(boolean translate)
           
 com.liferay.message.boards.kernel.model.MBCategory getCategory()
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries()
           
 List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries(int start, int end)
           
 int getDeletedAttachmentsFileEntriesCount()
           
 com.liferay.message.boards.kernel.model.MBThread getThread()
           
 long getThreadAttachmentsFolderId()
           
 String getWorkflowClassName()
           
 boolean isDiscussion()
           
 boolean isFormatBBCode()
           
 boolean isReply()
           
 boolean isRoot()
           
 void setAttachmentsFolderId(long attachmentsFolderId)
           
 
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, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, getLastPublishDate, getMessageId, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalAnswer, getOriginalCategoryId, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalGroupId, getOriginalParentMessageId, getOriginalStatus, getOriginalThreadId, getOriginalUserId, getOriginalUuid, getParentMessageId, getPrimaryKey, getPrimaryKeyObj, getPriority, getRootMessageId, getStagedModelType, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubject, getThreadId, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getUserId, getUserName, getUserUuid, getUuid, hashCode, hasSetModifiedDate, isAllowPingbacks, isAnonymous, isAnswer, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isInactive, isIncomplete, isInTrash, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isPending, isScheduled, resetOriginalValues, setAllowPingbacks, setAnonymous, setAnswer, setBody, setCategoryId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setFormat, setGroupId, setLastPublishDate, setMessageId, setModelAttributes, 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.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.message.boards.kernel.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.kernel.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
getStagedModelType
 

Constructor Detail

MBMessageImpl

public MBMessageImpl()
Method Detail

addAttachmentsFolder

public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder()
                                                                       throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getAssetTagNames

public String[] getAssetTagNames()

getAttachmentsFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries()
                                                                                     throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getAttachmentsFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries(int start,
                                                                                            int end)
                                                                                     throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getAttachmentsFileEntriesCount

public int getAttachmentsFileEntriesCount()
                                   throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getAttachmentsFolderId

public long getAttachmentsFolderId()
                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getBody

public String getBody(boolean translate)

getCategory

public com.liferay.message.boards.kernel.model.MBCategory getCategory()
                                                               throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getDeletedAttachmentsFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries()
                                                                                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getDeletedAttachmentsFileEntries

public List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries(int start,
                                                                                                   int end)
                                                                                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getDeletedAttachmentsFileEntriesCount

public int getDeletedAttachmentsFileEntriesCount()
                                          throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getThread

public com.liferay.message.boards.kernel.model.MBThread getThread()
                                                           throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getThreadAttachmentsFolderId

public long getThreadAttachmentsFolderId()
                                  throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getWorkflowClassName

public String getWorkflowClassName()

isDiscussion

public boolean isDiscussion()

isFormatBBCode

public boolean isFormatBBCode()

isReply

public boolean isReply()

isRoot

public boolean isRoot()

setAttachmentsFolderId

public void setAttachmentsFolderId(long attachmentsFolderId)

Liferay 7.0-ce-b8 portal-impl