|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.messageboards.model.MBMessageWrapper
@ProviderType public class MBMessageWrapper
This class is a wrapper for MBMessage
.
MBMessage
,
Serialized FormConstructor Summary | |
---|---|
MBMessageWrapper(MBMessage mbMessage)
|
Method Summary | |
---|---|
Folder |
addAttachmentsFolder()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessage mbMessage)
|
boolean |
equals(Object obj)
|
boolean |
getAllowPingbacks()
Returns the allow pingbacks of this message-boards message. |
boolean |
getAnonymous()
Returns the anonymous of this message-boards message. |
boolean |
getAnswer()
Returns the answer of this message-boards message. |
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
String[] |
getAssetTagNames()
|
List<FileEntry> |
getAttachmentsFileEntries()
|
List<FileEntry> |
getAttachmentsFileEntries(int start,
int end)
|
int |
getAttachmentsFileEntriesCount()
|
long |
getAttachmentsFolderId()
|
String |
getBody()
Returns the body of this message-boards message. |
String |
getBody(boolean translate)
|
MBCategory |
getCategory()
|
long |
getCategoryId()
Returns the category ID of this message-boards message. |
String |
getClassName()
Returns the fully qualified class name of this message-boards message. |
long |
getClassNameId()
Returns the class name ID of this message-boards message. |
long |
getClassPK()
Returns the class p k of this message-boards message. |
long |
getCompanyId()
Returns the company ID of this message-boards message. |
Date |
getCreateDate()
Returns the create date of this message-boards message. |
List<FileEntry> |
getDeletedAttachmentsFileEntries()
|
List<FileEntry> |
getDeletedAttachmentsFileEntries(int start,
int end)
|
int |
getDeletedAttachmentsFileEntriesCount()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFormat()
Returns the format of this message-boards message. |
long |
getGroupId()
Returns the group ID of this message-boards message. |
long |
getMessageId()
Returns the message ID of this message-boards message. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this message-boards message. |
long |
getParentMessageId()
Returns the parent message ID of this message-boards message. |
long |
getPrimaryKey()
Returns the primary key of this message-boards message. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
double |
getPriority()
Returns the priority of this message-boards message. |
long |
getRootMessageId()
Returns the root message ID of this message-boards message. |
StagedModelType |
getStagedModelType()
|
int |
getStatus()
Returns the status of this message-boards message. |
long |
getStatusByUserId()
Returns the status by user ID of this message-boards message. |
String |
getStatusByUserName()
Returns the status by user name of this message-boards message. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this message-boards message. |
Date |
getStatusDate()
Returns the status date of this message-boards message. |
String |
getSubject()
Returns the subject of this message-boards message. |
MBThread |
getThread()
|
long |
getThreadAttachmentsFolderId()
|
long |
getThreadId()
Returns the thread ID of this message-boards message. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this message-boards message was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this message-boards message. |
TrashHandler |
getTrashHandler()
Returns the trash handler for this message-boards message. |
long |
getUserId()
Returns the user ID of this message-boards message. |
String |
getUserName()
Returns the user name of this message-boards message. |
String |
getUserUuid()
Returns the user uuid of this message-boards message. |
String |
getUuid()
Returns the uuid of this message-boards message. |
String |
getWorkflowClassName()
|
MBMessage |
getWrappedMBMessage()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
MBMessage |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isAllowPingbacks()
Returns true if this message-boards message is allow pingbacks. |
boolean |
isAnonymous()
Returns true if this message-boards message is anonymous. |
boolean |
isAnswer()
Returns true if this message-boards message is answer. |
boolean |
isApproved()
Returns true if this message-boards message is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this message-boards message is denied. |
boolean |
isDiscussion()
|
boolean |
isDraft()
Returns true if this message-boards message is a draft. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this message-boards message is expired. |
boolean |
isFormatBBCode()
|
boolean |
isInactive()
Returns true if this message-boards message is inactive. |
boolean |
isIncomplete()
Returns true if this message-boards message is incomplete. |
boolean |
isInTrash()
Returns true if this message-boards message is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns true if the parent of this message-boards message is in the Recycle Bin. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this message-boards message is pending. |
boolean |
isReply()
|
boolean |
isRoot()
|
boolean |
isScheduled()
Returns true if this message-boards message is scheduled. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAllowPingbacks(boolean allowPingbacks)
Sets whether this message-boards message is allow pingbacks. |
void |
setAnonymous(boolean anonymous)
Sets whether this message-boards message is anonymous. |
void |
setAnswer(boolean answer)
Sets whether this message-boards message is answer. |
void |
setAttachmentsFolderId(long attachmentsFolderId)
|
void |
setBody(String body)
Sets the body of this message-boards message. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
Sets the category ID of this message-boards message. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this message-boards message. |
void |
setClassPK(long classPK)
Sets the class p k of this message-boards message. |
void |
setCompanyId(long companyId)
Sets the company ID of this message-boards message. |
void |
setCreateDate(Date createDate)
Sets the create date of this message-boards message. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFormat(String format)
Sets the format of this message-boards message. |
void |
setGroupId(long groupId)
Sets the group ID of this message-boards message. |
void |
setMessageId(long messageId)
Sets the message ID of this message-boards message. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this message-boards message. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentMessageId(long parentMessageId)
Sets the parent message ID of this message-boards message. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this message-boards message. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPriority(double priority)
Sets the priority of this message-boards message. |
void |
setRootMessageId(long rootMessageId)
Sets the root message ID of this message-boards message. |
void |
setStatus(int status)
Sets the status of this message-boards message. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this message-boards message. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this message-boards message. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this message-boards message. |
void |
setStatusDate(Date statusDate)
Sets the status date of this message-boards message. |
void |
setSubject(String subject)
Sets the subject of this message-boards message. |
void |
setThreadId(long threadId)
Sets the thread ID of this message-boards message. |
void |
setUserId(long userId)
Sets the user ID of this message-boards message. |
void |
setUserName(String userName)
Sets the user name of this message-boards message. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this message-boards message. |
void |
setUuid(String uuid)
Sets the uuid of this message-boards message. |
CacheModel<MBMessage> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
MBMessage |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
MBMessage |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MBMessageWrapper(MBMessage mbMessage)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<MBMessage>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<MBMessage>
public long getPrimaryKey()
getPrimaryKey
in interface MBMessageModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface MBMessageModel
primaryKey
- the primary key of this message-boards messagepublic String getUuid()
getUuid
in interface StagedModel
getUuid
in interface MBMessageModel
public void setUuid(String uuid)
setUuid
in interface StagedModel
setUuid
in interface MBMessageModel
uuid
- the uuid of this message-boards messagepublic long getMessageId()
getMessageId
in interface MBMessageModel
public void setMessageId(long messageId)
setMessageId
in interface MBMessageModel
messageId
- the message ID of this message-boards messagepublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface MBMessageModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface MBMessageModel
groupId
- the group ID of this message-boards messagepublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface MBMessageModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface MBMessageModel
companyId
- the company ID of this message-boards messagepublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface MBMessageModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface MBMessageModel
userId
- the user ID of this message-boards messagepublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface MBMessageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface MBMessageModel
userUuid
- the user uuid of this message-boards messagepublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface MBMessageModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface MBMessageModel
userName
- the user name of this message-boards messagepublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface MBMessageModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface MBMessageModel
createDate
- the create date of this message-boards messagepublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface MBMessageModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface MBMessageModel
modifiedDate
- the modified date of this message-boards messagepublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface MBMessageModel
public void setClassName(String className)
setClassName
in interface MBMessageModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface MBMessageModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface MBMessageModel
classNameId
- the class name ID of this message-boards messagepublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface MBMessageModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface MBMessageModel
classPK
- the class p k of this message-boards messagepublic long getCategoryId()
getCategoryId
in interface MBMessageModel
public void setCategoryId(long categoryId)
setCategoryId
in interface MBMessageModel
categoryId
- the category ID of this message-boards messagepublic long getThreadId()
getThreadId
in interface MBMessageModel
public void setThreadId(long threadId)
setThreadId
in interface MBMessageModel
threadId
- the thread ID of this message-boards messagepublic long getRootMessageId()
getRootMessageId
in interface MBMessageModel
public void setRootMessageId(long rootMessageId)
setRootMessageId
in interface MBMessageModel
rootMessageId
- the root message ID of this message-boards messagepublic long getParentMessageId()
getParentMessageId
in interface MBMessageModel
public void setParentMessageId(long parentMessageId)
setParentMessageId
in interface MBMessageModel
parentMessageId
- the parent message ID of this message-boards messagepublic String getSubject()
getSubject
in interface MBMessageModel
public void setSubject(String subject)
setSubject
in interface MBMessageModel
subject
- the subject of this message-boards messagepublic String getBody()
getBody
in interface MBMessageModel
public void setBody(String body)
setBody
in interface MBMessageModel
body
- the body of this message-boards messagepublic String getFormat()
getFormat
in interface MBMessageModel
public void setFormat(String format)
setFormat
in interface MBMessageModel
format
- the format of this message-boards messagepublic boolean getAnonymous()
getAnonymous
in interface MBMessageModel
public boolean isAnonymous()
true
if this message-boards message is anonymous.
isAnonymous
in interface MBMessageModel
true
if this message-boards message is anonymous; false
otherwisepublic void setAnonymous(boolean anonymous)
setAnonymous
in interface MBMessageModel
anonymous
- the anonymous of this message-boards messagepublic double getPriority()
getPriority
in interface MBMessageModel
public void setPriority(double priority)
setPriority
in interface MBMessageModel
priority
- the priority of this message-boards messagepublic boolean getAllowPingbacks()
getAllowPingbacks
in interface MBMessageModel
public boolean isAllowPingbacks()
true
if this message-boards message is allow pingbacks.
isAllowPingbacks
in interface MBMessageModel
true
if this message-boards message is allow pingbacks; false
otherwisepublic void setAllowPingbacks(boolean allowPingbacks)
setAllowPingbacks
in interface MBMessageModel
allowPingbacks
- the allow pingbacks of this message-boards messagepublic boolean getAnswer()
getAnswer
in interface MBMessageModel
public boolean isAnswer()
true
if this message-boards message is answer.
isAnswer
in interface MBMessageModel
true
if this message-boards message is answer; false
otherwisepublic void setAnswer(boolean answer)
setAnswer
in interface MBMessageModel
answer
- the answer of this message-boards messagepublic int getStatus()
getStatus
in interface TrashedModel
getStatus
in interface WorkflowedModel
getStatus
in interface MBMessageModel
public void setStatus(int status)
setStatus
in interface WorkflowedModel
setStatus
in interface MBMessageModel
status
- the status of this message-boards messagepublic long getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface MBMessageModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface MBMessageModel
statusByUserId
- the status by user ID of this message-boards messagepublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface WorkflowedModel
getStatusByUserUuid
in interface MBMessageModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WorkflowedModel
setStatusByUserUuid
in interface MBMessageModel
statusByUserUuid
- the status by user uuid of this message-boards messagepublic String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface MBMessageModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface MBMessageModel
statusByUserName
- the status by user name of this message-boards messagepublic Date getStatusDate()
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface MBMessageModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface MBMessageModel
statusDate
- the status date of this message-boards messagepublic TrashEntry getTrashEntry() throws PortalException, SystemException
getTrashEntry
in interface TrashedModel
getTrashEntry
in interface MBMessageModel
SystemException
- if a system exception occurred
PortalException
public long getTrashEntryClassPK()
getTrashEntryClassPK
in interface TrashedModel
getTrashEntryClassPK
in interface MBMessageModel
public TrashHandler getTrashHandler()
getTrashHandler
in interface TrashedModel
getTrashHandler
in interface MBMessageModel
public boolean isInTrash()
true
if this message-boards message is in the Recycle Bin.
isInTrash
in interface TrashedModel
isInTrash
in interface MBMessageModel
true
if this message-boards message is in the Recycle Bin; false
otherwisepublic boolean isInTrashContainer()
true
if the parent of this message-boards message is in the Recycle Bin.
isInTrashContainer
in interface TrashedModel
isInTrashContainer
in interface MBMessageModel
true
if the parent of this message-boards message is in the Recycle Bin; false
otherwise
SystemException
- if a system exception occurredpublic boolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
getApproved
in interface MBMessageModel
public boolean isApproved()
true
if this message-boards message is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface MBMessageModel
true
if this message-boards message is approved; false
otherwisepublic boolean isDenied()
true
if this message-boards message is denied.
isDenied
in interface WorkflowedModel
isDenied
in interface MBMessageModel
true
if this message-boards message is denied; false
otherwisepublic boolean isDraft()
true
if this message-boards message is a draft.
isDraft
in interface WorkflowedModel
isDraft
in interface MBMessageModel
true
if this message-boards message is a draft; false
otherwisepublic boolean isExpired()
true
if this message-boards message is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface MBMessageModel
true
if this message-boards message is expired; false
otherwisepublic boolean isInactive()
true
if this message-boards message is inactive.
isInactive
in interface WorkflowedModel
isInactive
in interface MBMessageModel
true
if this message-boards message is inactive; false
otherwisepublic boolean isIncomplete()
true
if this message-boards message is incomplete.
isIncomplete
in interface WorkflowedModel
isIncomplete
in interface MBMessageModel
true
if this message-boards message is incomplete; false
otherwisepublic boolean isPending()
true
if this message-boards message is pending.
isPending
in interface WorkflowedModel
isPending
in interface MBMessageModel
true
if this message-boards message is pending; false
otherwisepublic boolean isScheduled()
true
if this message-boards message is scheduled.
isScheduled
in interface WorkflowedModel
isScheduled
in interface MBMessageModel
true
if this message-boards message is scheduled; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<MBMessage>
isNew
in interface MBMessageModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<MBMessage>
setNew
in interface MBMessageModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<MBMessage>
isCachedModel
in interface MBMessageModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<MBMessage>
setCachedModel
in interface MBMessageModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<MBMessage>
isEscapedModel
in interface MBMessageModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBMessage>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface MBMessageModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MBMessage>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface MBMessageModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBMessage>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface MBMessageModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
setExpandoBridgeAttributes
in interface MBMessageModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
setExpandoBridgeAttributes
in interface MBMessageModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
setExpandoBridgeAttributes
in interface MBMessageModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<MBMessage>
clone
in interface StagedModel
clone
in interface MBMessageModel
clone
in class Object
public int compareTo(MBMessage mbMessage)
compareTo
in interface MBMessageModel
compareTo
in interface Comparable<MBMessage>
public int hashCode()
hashCode
in interface MBMessageModel
hashCode
in class Object
public CacheModel<MBMessage> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<MBMessage>
toCacheModel
in interface MBMessageModel
public MBMessage toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MBMessage>
toEscapedModel
in interface MBMessageModel
AutoEscapeBeanHandler
public MBMessage toUnescapedModel()
toUnescapedModel
in interface BaseModel<MBMessage>
toUnescapedModel
in interface MBMessageModel
public String toString()
toString
in interface MBMessageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBMessage>
toXmlString
in interface MBMessageModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic Folder addAttachmentsFolder() throws PortalException, SystemException
addAttachmentsFolder
in interface MBMessage
PortalException
SystemException
public String[] getAssetTagNames() throws SystemException
getAssetTagNames
in interface MBMessage
SystemException
public List<FileEntry> getAttachmentsFileEntries() throws PortalException, SystemException
getAttachmentsFileEntries
in interface MBMessage
PortalException
SystemException
public List<FileEntry> getAttachmentsFileEntries(int start, int end) throws PortalException, SystemException
getAttachmentsFileEntries
in interface MBMessage
PortalException
SystemException
public int getAttachmentsFileEntriesCount() throws PortalException, SystemException
getAttachmentsFileEntriesCount
in interface MBMessage
PortalException
SystemException
public long getAttachmentsFolderId() throws PortalException, SystemException
getAttachmentsFolderId
in interface MBMessage
PortalException
SystemException
public String getBody(boolean translate)
getBody
in interface MBMessage
public MBCategory getCategory() throws PortalException, SystemException
getCategory
in interface MBMessage
PortalException
SystemException
public List<FileEntry> getDeletedAttachmentsFileEntries() throws PortalException, SystemException
getDeletedAttachmentsFileEntries
in interface MBMessage
PortalException
SystemException
public List<FileEntry> getDeletedAttachmentsFileEntries(int start, int end) throws PortalException, SystemException
getDeletedAttachmentsFileEntries
in interface MBMessage
PortalException
SystemException
public int getDeletedAttachmentsFileEntriesCount() throws PortalException, SystemException
getDeletedAttachmentsFileEntriesCount
in interface MBMessage
PortalException
SystemException
public MBThread getThread() throws PortalException, SystemException
getThread
in interface MBMessage
PortalException
SystemException
public long getThreadAttachmentsFolderId() throws PortalException, SystemException
getThreadAttachmentsFolderId
in interface MBMessage
PortalException
SystemException
public String getWorkflowClassName()
getWorkflowClassName
in interface MBMessage
public boolean isDiscussion()
isDiscussion
in interface MBMessage
public boolean isFormatBBCode()
isFormatBBCode
in interface MBMessage
public boolean isReply()
isReply
in interface MBMessage
public boolean isRoot()
isRoot
in interface MBMessage
public void setAttachmentsFolderId(long attachmentsFolderId)
setAttachmentsFolderId
in interface MBMessage
public boolean equals(Object obj)
equals
in class Object
public StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public MBMessage getWrappedMBMessage()
getWrappedModel()
public MBMessage getWrappedModel()
getWrappedModel
in interface ModelWrapper<MBMessage>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<MBMessage>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |