Package com.liferay.message.boards.model
Interface MBMessage
- All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<MBMessage>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<MBMessage>
,com.liferay.portal.kernel.model.change.tracking.CTModel<MBMessage>
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,MBMessageModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,Serializable
,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.TreeModel
,com.liferay.portal.kernel.model.TypedModel
,com.liferay.portal.kernel.model.WorkflowedModel
- All Known Implementing Classes:
MBMessageWrapper
@ProviderType
public interface MBMessage
extends MBMessageModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.TreeModel
The extended model interface for the MBMessage service. Represents a row in the "MBMessage" database table, with each column mapped to a property of this class.
- See Also:
- Generated:
-
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.repository.model.Folder
String[]
List<com.liferay.portal.kernel.repository.model.FileEntry>
List<com.liferay.portal.kernel.repository.model.FileEntry>
getAttachmentsFileEntries
(int start, int end) int
com.liferay.portal.kernel.repository.model.FileEntry
getAttachmentsFileEntryByExternalReferenceCode
(String externalReferenceCode, long groupId) long
getBody
(boolean translate) List<com.liferay.portal.kernel.repository.model.FileEntry>
List<com.liferay.portal.kernel.repository.model.FileEntry>
getDeletedAttachmentsFileEntries
(int start, int end) int
long
boolean
boolean
boolean
isReply()
boolean
isRoot()
void
setAttachmentsFolderId
(long attachmentsFolderId) Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.message.boards.model.MBMessageModel
cloneWithOriginalValues, getAllowPingbacks, getAnonymous, getAnswer, getBody, getCategoryId, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCtCollectionId, getExternalReferenceCode, getFormat, getGroupId, getLastPublishDate, getMessageId, getModifiedDate, getMvccVersion, getParentMessageId, getPrimaryKey, getPriority, getRootMessageId, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getSubject, getThreadId, getTrashEntryClassPK, getTreePath, getUrlSubject, getUserId, getUserName, getUserUuid, getUuid, isAllowPingbacks, isAnonymous, isAnswer, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isInTrash, isPending, isScheduled, setAllowPingbacks, setAnonymous, setAnswer, setBody, setCategoryId, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCtCollectionId, setExternalReferenceCode, setFormat, setGroupId, setLastPublishDate, setMessageId, setModifiedDate, setMvccVersion, setParentMessageId, setPrimaryKey, setPriority, setRootMessageId, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setSubject, setThreadId, setTreePath, setUrlSubject, setUserId, setUserName, setUserUuid, setUuid, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.PersistedModel
persist
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
buildTreePath, getPrimaryKeyObj, getTreePath, updateTreePath
-
Field Details
-
MESSAGE_ID_ACCESSOR
-
-
Method Details
-
addAttachmentsFolder
com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAssetTagNames
String[] getAssetTagNames() -
getAttachmentsFileEntries
List<com.liferay.portal.kernel.repository.model.FileEntry> getAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntries
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
int getAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFileEntryByExternalReferenceCode
com.liferay.portal.kernel.repository.model.FileEntry getAttachmentsFileEntryByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAttachmentsFolderId
long getAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBody
-
getCategory
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDeletedAttachmentsFileEntries
List<com.liferay.portal.kernel.repository.model.FileEntry> getDeletedAttachmentsFileEntries() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDeletedAttachmentsFileEntries
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
int getDeletedAttachmentsFileEntriesCount() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThread
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThreadAttachmentsFolderId
long getThreadAttachmentsFolderId() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWorkflowClassName
String getWorkflowClassName() -
isDiscussion
boolean isDiscussion() -
isFormatBBCode
boolean isFormatBBCode() -
isReply
boolean isReply() -
isRoot
boolean isRoot() -
setAttachmentsFolderId
void setAttachmentsFolderId(long attachmentsFolderId)
-