com.liferay.portlet.messageboards.model.impl
Class MBMessageImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<MBMessage>
com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
com.liferay.portlet.messageboards.model.impl.MBMessageBaseImpl
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
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 |
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 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 |
MBMessageImpl
public MBMessageImpl()
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)