Liferay 6.2-ce-ga5

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

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<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:
AttachedModel, AuditedModel, BaseModel<MBMessage>, ClassedModel, GroupedModel, PersistedModel, StagedGroupedModel, StagedModel, TrashedModel, TypedModel, WorkflowedModel, MBMessage, MBMessageModel, Serializable, Cloneable, Comparable<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_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, THREADID_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK
 
Constructor Summary
MBMessageImpl()
           
 
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 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, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, 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, isAllowPingbacks, isAnonymous, isAnswer, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isInTrash, isInTrashContainer, isPending, isScheduled, resetOriginalValues, setAllowPingbacks, setAnonymous, setAnswer, setBody, setCategoryId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setFormat, setGroupId, 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.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.portlet.messageboards.model.MBMessageModel
clone, compareTo, getAllowPingbacks, getAnonymous, getAnswer, getApproved, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getExpandoBridge, getFormat, getGroupId, 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, isNew, isPending, isScheduled, setAllowPingbacks, setAnonymous, setAnswer, setBody, setCachedModel, setCategoryId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.StagedModel
getStagedModelType
 

Constructor Detail

MBMessageImpl

public MBMessageImpl()
Method Detail

addAttachmentsFolder

public Folder addAttachmentsFolder()
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getAssetTagNames

public String[] getAssetTagNames()
                          throws SystemException
Throws:
SystemException

getAttachmentsFileEntries

public List<FileEntry> getAttachmentsFileEntries()
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getAttachmentsFileEntries

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

getAttachmentsFileEntriesCount

public int getAttachmentsFileEntriesCount()
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getAttachmentsFolderId

public long getAttachmentsFolderId()
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getBody

public String getBody(boolean translate)

getCategory

public MBCategory getCategory()
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getDeletedAttachmentsFileEntries

public List<FileEntry> getDeletedAttachmentsFileEntries()
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

getDeletedAttachmentsFileEntries

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

getDeletedAttachmentsFileEntriesCount

public int getDeletedAttachmentsFileEntriesCount()
                                          throws PortalException,
                                                 SystemException
Throws:
PortalException
SystemException

getThread

public MBThread getThread()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getThreadAttachmentsFolderId

public long getThreadAttachmentsFolderId()
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

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 6.2-ce-ga5