|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.model.MBMessageWrapper
public class MBMessageWrapper
This class is a wrapper for MBMessage.
MBMessage,
Serialized Form| Constructor Summary | |
|---|---|
MBMessageWrapper(MBMessage mbMessage)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessage mbMessage)
|
boolean |
getAllowPingbacks()
|
boolean |
getAnonymous()
|
String[] |
getAssetTagNames()
|
boolean |
getAttachments()
|
String |
getAttachmentsDir()
|
String[] |
getAttachmentsFiles()
|
String |
getBody()
|
String |
getBody(boolean translate)
|
MBCategory |
getCategory()
|
long |
getCategoryId()
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
long |
getMessageId()
|
Date |
getModifiedDate()
|
long |
getParentMessageId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
double |
getPriority()
|
long |
getRootMessageId()
|
int |
getStatus()
|
long |
getStatusByUserId()
|
String |
getStatusByUserName()
|
String |
getStatusByUserUuid()
|
Date |
getStatusDate()
|
String |
getSubject()
|
MBThread |
getThread()
|
String |
getThreadAttachmentsDir()
|
long |
getThreadId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
String |
getUuid()
|
String |
getWorkflowClassName()
|
MBMessage |
getWrappedMBMessage()
|
int |
hashCode()
|
boolean |
isAllowPingbacks()
|
boolean |
isAnonymous()
|
boolean |
isApproved()
|
boolean |
isAttachments()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDiscussion()
|
boolean |
isDraft()
|
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isExpired()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
|
boolean |
isReply()
|
boolean |
isRoot()
|
void |
setAllowPingbacks(boolean allowPingbacks)
|
void |
setAnonymous(boolean anonymous)
|
void |
setAttachments(boolean attachments)
|
void |
setAttachmentsDir(String attachmentsDir)
|
void |
setBody(String body)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
|
void |
setMessageId(long messageId)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentMessageId(long parentMessageId)
|
void |
setPrimaryKey(long pk)
|
void |
setPriority(double priority)
|
void |
setRootMessageId(long rootMessageId)
|
void |
setStatus(int status)
|
void |
setStatusByUserId(long statusByUserId)
|
void |
setStatusByUserName(String statusByUserName)
|
void |
setStatusByUserUuid(String statusByUserUuid)
|
void |
setStatusDate(Date statusDate)
|
void |
setSubject(String subject)
|
void |
setThreadId(long threadId)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setUuid(String uuid)
|
MBMessage |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MBMessageWrapper(MBMessage mbMessage)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface MBMessageModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface MBMessageModelpublic String getUuid()
getUuid in interface MBMessageModelpublic void setUuid(String uuid)
setUuid in interface MBMessageModelpublic long getMessageId()
getMessageId in interface MBMessageModelpublic void setMessageId(long messageId)
setMessageId in interface MBMessageModelpublic long getGroupId()
getGroupId in interface MBMessageModelpublic void setGroupId(long groupId)
setGroupId in interface MBMessageModelpublic long getCompanyId()
getCompanyId in interface MBMessageModelpublic void setCompanyId(long companyId)
setCompanyId in interface MBMessageModelpublic long getUserId()
getUserId in interface MBMessageModelpublic void setUserId(long userId)
setUserId in interface MBMessageModel
public String getUserUuid()
throws SystemException
getUserUuid in interface MBMessageModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface MBMessageModelpublic String getUserName()
getUserName in interface MBMessageModelpublic void setUserName(String userName)
setUserName in interface MBMessageModelpublic Date getCreateDate()
getCreateDate in interface MBMessageModelpublic void setCreateDate(Date createDate)
setCreateDate in interface MBMessageModelpublic Date getModifiedDate()
getModifiedDate in interface MBMessageModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface MBMessageModelpublic String getClassName()
getClassName in interface MBMessageModelpublic long getClassNameId()
getClassNameId in interface MBMessageModelpublic void setClassNameId(long classNameId)
setClassNameId in interface MBMessageModelpublic long getClassPK()
getClassPK in interface MBMessageModelpublic void setClassPK(long classPK)
setClassPK in interface MBMessageModelpublic long getCategoryId()
getCategoryId in interface MBMessageModelpublic void setCategoryId(long categoryId)
setCategoryId in interface MBMessageModelpublic long getThreadId()
getThreadId in interface MBMessageModelpublic void setThreadId(long threadId)
setThreadId in interface MBMessageModelpublic long getRootMessageId()
getRootMessageId in interface MBMessageModelpublic void setRootMessageId(long rootMessageId)
setRootMessageId in interface MBMessageModelpublic long getParentMessageId()
getParentMessageId in interface MBMessageModelpublic void setParentMessageId(long parentMessageId)
setParentMessageId in interface MBMessageModelpublic String getSubject()
getSubject in interface MBMessageModelpublic void setSubject(String subject)
setSubject in interface MBMessageModelpublic String getBody()
getBody in interface MBMessageModelpublic void setBody(String body)
setBody in interface MBMessageModelpublic boolean getAttachments()
getAttachments in interface MBMessageModelpublic boolean isAttachments()
isAttachments in interface MBMessageModelpublic void setAttachments(boolean attachments)
setAttachments in interface MBMessageModelpublic boolean getAnonymous()
getAnonymous in interface MBMessageModelpublic boolean isAnonymous()
isAnonymous in interface MBMessageModelpublic void setAnonymous(boolean anonymous)
setAnonymous in interface MBMessageModelpublic double getPriority()
getPriority in interface MBMessageModelpublic void setPriority(double priority)
setPriority in interface MBMessageModelpublic boolean getAllowPingbacks()
getAllowPingbacks in interface MBMessageModelpublic boolean isAllowPingbacks()
isAllowPingbacks in interface MBMessageModelpublic void setAllowPingbacks(boolean allowPingbacks)
setAllowPingbacks in interface MBMessageModelpublic int getStatus()
getStatus in interface MBMessageModelpublic void setStatus(int status)
setStatus in interface MBMessageModelpublic long getStatusByUserId()
getStatusByUserId in interface MBMessageModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface MBMessageModel
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface MBMessageModelSystemExceptionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface MBMessageModelpublic String getStatusByUserName()
getStatusByUserName in interface MBMessageModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface MBMessageModelpublic Date getStatusDate()
getStatusDate in interface MBMessageModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface MBMessageModelpublic boolean isApproved()
isApproved in interface MBMessageModelpublic boolean isDraft()
isDraft in interface MBMessageModelpublic boolean isExpired()
isExpired in interface MBMessageModelpublic boolean isPending()
isPending in interface MBMessageModelpublic MBMessage toEscapedModel()
toEscapedModel in interface MBMessageModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<MBMessage>isNew in interface MBMessageModeltrue 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 MBMessageModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<MBMessage>isCachedModel in interface MBMessageModeltrue 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 MBMessageModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<MBMessage>isEscapedModel in interface MBMessageModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<MBMessage>setEscapedModel in interface MBMessageModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBMessage>getPrimaryKeyObj in interface MBMessageModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBMessage>getExpandoBridge in interface MBMessageModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBMessage>setExpandoBridgeAttributes in interface MBMessageModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MBMessage>clone in interface MBMessageModelclone in class Objectpublic int compareTo(MBMessage mbMessage)
compareTo in interface MBMessageModelcompareTo in interface Comparable<MBMessage>public int hashCode()
hashCode in interface MBMessageModelhashCode in class Objectpublic String toString()
toString in interface MBMessageModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBMessage>toXmlString in interface MBMessageModel
public String[] getAssetTagNames()
throws SystemException
getAssetTagNames in interface MBMessageSystemExceptionpublic String getAttachmentsDir()
getAttachmentsDir in interface MBMessage
public String[] getAttachmentsFiles()
throws PortalException,
SystemException
getAttachmentsFiles in interface MBMessagePortalException
SystemExceptionpublic String getBody(boolean translate)
getBody in interface MBMessagepublic MBCategory getCategory()
getCategory in interface MBMessage
public MBThread getThread()
throws PortalException,
SystemException
getThread in interface MBMessagePortalException
SystemExceptionpublic String getThreadAttachmentsDir()
getThreadAttachmentsDir in interface MBMessagepublic String getWorkflowClassName()
getWorkflowClassName in interface MBMessagepublic boolean isDiscussion()
isDiscussion in interface MBMessagepublic boolean isReply()
isReply in interface MBMessagepublic boolean isRoot()
isRoot in interface MBMessagepublic void setAttachmentsDir(String attachmentsDir)
setAttachmentsDir in interface MBMessagepublic MBMessage getWrappedMBMessage()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||