com.liferay.portlet.messageboards.model
Class MBMessageWrapper
java.lang.Object
com.liferay.portlet.messageboards.model.MBMessageWrapper
- All Implemented Interfaces:
- BaseModel<MBMessage>, MBMessage, MBMessageModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<MBMessage>
public class MBMessageWrapper
- extends java.lang.Object
- implements MBMessage
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for MBMessage
.
- Author:
- Brian Wing Shun Chan
- See Also:
MBMessage
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
MBMessageWrapper
public MBMessageWrapper(MBMessage mbMessage)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface MBMessageModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface MBMessageModel
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interface MBMessageModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid
in interface MBMessageModel
getMessageId
public long getMessageId()
- Specified by:
getMessageId
in interface MBMessageModel
setMessageId
public void setMessageId(long messageId)
- Specified by:
setMessageId
in interface MBMessageModel
getGroupId
public long getGroupId()
- Specified by:
getGroupId
in interface MBMessageModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId
in interface MBMessageModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface MBMessageModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface MBMessageModel
getUserId
public long getUserId()
- Specified by:
getUserId
in interface MBMessageModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId
in interface MBMessageModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.SystemException
- Specified by:
getUserUuid
in interface MBMessageModel
- Throws:
com.liferay.portal.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid
in interface MBMessageModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface MBMessageModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName
in interface MBMessageModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate
in interface MBMessageModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate
in interface MBMessageModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate
in interface MBMessageModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate
in interface MBMessageModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface MBMessageModel
getClassNameId
public long getClassNameId()
- Specified by:
getClassNameId
in interface MBMessageModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId
in interface MBMessageModel
getClassPK
public long getClassPK()
- Specified by:
getClassPK
in interface MBMessageModel
setClassPK
public void setClassPK(long classPK)
- Specified by:
setClassPK
in interface MBMessageModel
getCategoryId
public long getCategoryId()
- Specified by:
getCategoryId
in interface MBMessageModel
setCategoryId
public void setCategoryId(long categoryId)
- Specified by:
setCategoryId
in interface MBMessageModel
getThreadId
public long getThreadId()
- Specified by:
getThreadId
in interface MBMessageModel
setThreadId
public void setThreadId(long threadId)
- Specified by:
setThreadId
in interface MBMessageModel
getParentMessageId
public long getParentMessageId()
- Specified by:
getParentMessageId
in interface MBMessageModel
setParentMessageId
public void setParentMessageId(long parentMessageId)
- Specified by:
setParentMessageId
in interface MBMessageModel
getSubject
public java.lang.String getSubject()
- Specified by:
getSubject
in interface MBMessageModel
setSubject
public void setSubject(java.lang.String subject)
- Specified by:
setSubject
in interface MBMessageModel
getBody
public java.lang.String getBody()
- Specified by:
getBody
in interface MBMessageModel
setBody
public void setBody(java.lang.String body)
- Specified by:
setBody
in interface MBMessageModel
getAttachments
public boolean getAttachments()
- Specified by:
getAttachments
in interface MBMessageModel
isAttachments
public boolean isAttachments()
- Specified by:
isAttachments
in interface MBMessageModel
setAttachments
public void setAttachments(boolean attachments)
- Specified by:
setAttachments
in interface MBMessageModel
getAnonymous
public boolean getAnonymous()
- Specified by:
getAnonymous
in interface MBMessageModel
isAnonymous
public boolean isAnonymous()
- Specified by:
isAnonymous
in interface MBMessageModel
setAnonymous
public void setAnonymous(boolean anonymous)
- Specified by:
setAnonymous
in interface MBMessageModel
getPriority
public double getPriority()
- Specified by:
getPriority
in interface MBMessageModel
setPriority
public void setPriority(double priority)
- Specified by:
setPriority
in interface MBMessageModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<MBMessage>
- Specified by:
isNew
in interface MBMessageModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<MBMessage>
- Specified by:
setNew
in interface MBMessageModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<MBMessage>
- Specified by:
isCachedModel
in interface MBMessageModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<MBMessage>
- Specified by:
setCachedModel
in interface MBMessageModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<MBMessage>
- Specified by:
isEscapedModel
in interface MBMessageModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<MBMessage>
- Specified by:
setEscapedModel
in interface MBMessageModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<MBMessage>
- Specified by:
getPrimaryKeyObj
in interface MBMessageModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<MBMessage>
- Specified by:
getExpandoBridge
in interface MBMessageModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
- Specified by:
setExpandoBridgeAttributes
in interface MBMessageModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<MBMessage>
- Specified by:
clone
in interface MBMessageModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(MBMessage mbMessage)
- Specified by:
compareTo
in interface MBMessageModel
- Specified by:
compareTo
in interface java.lang.Comparable<MBMessage>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface MBMessageModel
- Overrides:
hashCode
in class java.lang.Object
toEscapedModel
public MBMessage toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<MBMessage>
- Specified by:
toEscapedModel
in interface MBMessageModel
toString
public java.lang.String toString()
- Specified by:
toString
in interface MBMessageModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<MBMessage>
- Specified by:
toXmlString
in interface MBMessageModel
getAttachmentsDir
public java.lang.String getAttachmentsDir()
- Specified by:
getAttachmentsDir
in interface MBMessage
getAttachmentsFiles
public java.lang.String[] getAttachmentsFiles()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getAttachmentsFiles
in interface MBMessage
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getBody
public java.lang.String getBody(boolean translate)
- Specified by:
getBody
in interface MBMessage
getCategory
public MBCategory getCategory()
- Specified by:
getCategory
in interface MBMessage
getTagsEntries
public java.lang.String[] getTagsEntries()
throws com.liferay.portal.SystemException
- Specified by:
getTagsEntries
in interface MBMessage
- Throws:
com.liferay.portal.SystemException
getThread
public MBThread getThread()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getThread
in interface MBMessage
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getThreadAttachmentsDir
public java.lang.String getThreadAttachmentsDir()
- Specified by:
getThreadAttachmentsDir
in interface MBMessage
isDiscussion
public boolean isDiscussion()
- Specified by:
isDiscussion
in interface MBMessage
isReply
public boolean isReply()
- Specified by:
isReply
in interface MBMessage
isRoot
public boolean isRoot()
- Specified by:
isRoot
in interface MBMessage
setAttachmentsDir
public void setAttachmentsDir(java.lang.String attachmentsDir)
- Specified by:
setAttachmentsDir
in interface MBMessage
getWrappedMBMessage
public MBMessage getWrappedMBMessage()