|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MBMessageModel
The base model interface for the MBMessage service. Represents a row in the "MBMessage" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.messageboards.model.impl.MBMessageImpl.
Never modify or reference this interface directly. All methods that expect a message-boards message model instance should use the MBMessage interface instead.
MBMessage,
com.liferay.portlet.messageboards.model.impl.MBMessageImpl,
com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessage mbMessage)
|
boolean |
getAllowPingbacks()
Gets the allow pingbacks of this message-boards message. |
boolean |
getAnonymous()
Gets the anonymous of this message-boards message. |
boolean |
getAttachments()
Gets the attachments of this message-boards message. |
java.lang.String |
getBody()
Gets the body of this message-boards message. |
long |
getCategoryId()
Gets the category id of this message-boards message. |
java.lang.String |
getClassName()
Gets the class name of the model instance this message-boards message is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this message-boards message. |
long |
getClassPK()
Gets the class p k of this message-boards message. |
long |
getCompanyId()
Gets the company id of this message-boards message. |
java.util.Date |
getCreateDate()
Gets the create date of this message-boards message. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this message-boards message. |
long |
getMessageId()
Gets the message id of this message-boards message. |
java.util.Date |
getModifiedDate()
Gets the modified date of this message-boards message. |
long |
getParentMessageId()
Gets the parent message id of this message-boards message. |
long |
getPrimaryKey()
Gets the primary key of this message-boards message. |
java.io.Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
double |
getPriority()
Gets the priority of this message-boards message. |
long |
getRootMessageId()
Gets the root message id of this message-boards message. |
int |
getStatus()
Gets the status of this message-boards message. |
long |
getStatusByUserId()
Gets the status by user id of this message-boards message. |
java.lang.String |
getStatusByUserName()
Gets the status by user name of this message-boards message. |
java.lang.String |
getStatusByUserUuid()
Gets the status by user uuid of this message-boards message. |
java.util.Date |
getStatusDate()
Gets the status date of this message-boards message. |
java.lang.String |
getSubject()
Gets the subject of this message-boards message. |
long |
getThreadId()
Gets the thread id of this message-boards message. |
long |
getUserId()
Gets the user id of this message-boards message. |
java.lang.String |
getUserName()
Gets the user name of this message-boards message. |
java.lang.String |
getUserUuid()
Gets the user uuid of this message-boards message. |
java.lang.String |
getUuid()
Gets the uuid of this message-boards message. |
int |
hashCode()
|
boolean |
isAllowPingbacks()
Determines if this message-boards message is allow pingbacks. |
boolean |
isAnonymous()
Determines if this message-boards message is anonymous. |
boolean |
isApproved()
Determines if this message-boards message is approved. |
boolean |
isAttachments()
Determines if this message-boards message is attachments. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines if this message-boards message is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines if this message-boards message is expired. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines if this message-boards message is pending. |
void |
setAllowPingbacks(boolean allowPingbacks)
Sets whether this {$entity.humanName} is allow pingbacks. |
void |
setAnonymous(boolean anonymous)
Sets whether this {$entity.humanName} is anonymous. |
void |
setAttachments(boolean attachments)
Sets whether this {$entity.humanName} is attachments. |
void |
setBody(java.lang.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 |
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(java.util.Date createDate)
Sets the create date of this message-boards message. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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)
Sets the group id of this message-boards message. |
void |
setMessageId(long messageId)
Sets the message id of this message-boards message. |
void |
setModifiedDate(java.util.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 pk)
Sets the primary key of this message-boards message |
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(java.lang.String statusByUserName)
Sets the status by user name of this message-boards message. |
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this message-boards message. |
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this message-boards message. |
void |
setSubject(java.lang.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(java.lang.String userName)
Sets the user name of this message-boards message. |
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this message-boards message. |
void |
setUuid(java.lang.String uuid)
Sets the uuid of this message-boards message. |
MBMessage |
toEscapedModel()
Gets a copy of this message-boards message as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this message-boards message@AutoEscape java.lang.String getUuid()
void setUuid(java.lang.String uuid)
uuid - the uuid of this message-boards messagelong getMessageId()
void setMessageId(long messageId)
messageId - the message id of this message-boards messagelong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this message-boards messagelong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this message-boards messagelong getUserId()
void setUserId(long userId)
userId - the user id of this message-boards message
java.lang.String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(java.lang.String userUuid)
userUuid - the user uuid of this message-boards message@AutoEscape java.lang.String getUserName()
void setUserName(java.lang.String userName)
userName - the user name of this message-boards messagejava.util.Date getCreateDate()
void setCreateDate(java.util.Date createDate)
createDate - the create date of this message-boards messagejava.util.Date getModifiedDate()
void setModifiedDate(java.util.Date modifiedDate)
modifiedDate - the modified date of this message-boards messagejava.lang.String getClassName()
long getClassNameId()
void setClassNameId(long classNameId)
classNameId - the class name id of this message-boards messagelong getClassPK()
void setClassPK(long classPK)
classPK - the class p k of this message-boards messagelong getCategoryId()
void setCategoryId(long categoryId)
categoryId - the category id of this message-boards messagelong getThreadId()
void setThreadId(long threadId)
threadId - the thread id of this message-boards messagelong getRootMessageId()
void setRootMessageId(long rootMessageId)
rootMessageId - the root message id of this message-boards messagelong getParentMessageId()
void setParentMessageId(long parentMessageId)
parentMessageId - the parent message id of this message-boards message@AutoEscape java.lang.String getSubject()
void setSubject(java.lang.String subject)
subject - the subject of this message-boards message@AutoEscape java.lang.String getBody()
void setBody(java.lang.String body)
body - the body of this message-boards messageboolean getAttachments()
boolean isAttachments()
true if this message-boards message is attachments; false otherwisevoid setAttachments(boolean attachments)
attachments - the attachments of this message-boards messageboolean getAnonymous()
boolean isAnonymous()
true if this message-boards message is anonymous; false otherwisevoid setAnonymous(boolean anonymous)
anonymous - the anonymous of this message-boards messagedouble getPriority()
void setPriority(double priority)
priority - the priority of this message-boards messageboolean getAllowPingbacks()
boolean isAllowPingbacks()
true if this message-boards message is allow pingbacks; false otherwisevoid setAllowPingbacks(boolean allowPingbacks)
allowPingbacks - the allow pingbacks of this message-boards messageint getStatus()
void setStatus(int status)
status - the status of this message-boards messagelong getStatusByUserId()
void setStatusByUserId(long statusByUserId)
statusByUserId - the status by user id of this message-boards message
java.lang.String getStatusByUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
statusByUserUuid - the status by user uuid of this message-boards message@AutoEscape java.lang.String getStatusByUserName()
void setStatusByUserName(java.lang.String statusByUserName)
statusByUserName - the status by user name of this message-boards messagejava.util.Date getStatusDate()
void setStatusDate(java.util.Date statusDate)
statusDate - the status date of this message-boards messageboolean isApproved()
true if this message-boards message is approved; false otherwiseboolean isDraft()
true if this message-boards message is a draft; false otherwiseboolean isExpired()
true if this message-boards message is expired; false otherwiseboolean isPending()
true if this message-boards message is pending; false otherwiseMBMessage toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<MBMessage>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<MBMessage>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<MBMessage>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<MBMessage>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<MBMessage>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<MBMessage>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerjava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBMessage>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBMessage>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBMessage>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<MBMessage>int compareTo(MBMessage mbMessage)
compareTo in interface java.lang.Comparable<MBMessage>int hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBMessage>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||