|
Liferay 6.0.4 | |||||||||
| 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 MBMessageModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in 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,
MBMessageImpl,
MBMessageModelImpl| Method Summary | |
|---|---|
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. |
String |
getBody()
Gets the body of this message-boards message. |
long |
getCategoryId()
Gets the category id of this message-boards message. |
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. |
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. |
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. |
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. |
String |
getStatusByUserName()
Gets the status by user name of this message-boards message. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this message-boards message. |
Date |
getStatusDate()
Gets the status date of this message-boards message. |
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. |
String |
getUserName()
Gets the user name of this message-boards message. |
String |
getUserUuid()
Gets the user uuid of this message-boards message. |
String |
getUuid()
Gets the uuid of this message-boards message. |
int |
hashCode()
|
boolean |
isAllowPingbacks()
Determines whether this message-boards message is allow pingbacks. |
boolean |
isAnonymous()
Determines whether this message-boards message is anonymous. |
boolean |
isApproved()
Determines whether this message-boards message is approved. |
boolean |
isAttachments()
Determines whether this message-boards message is attachments. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
Determines whether this message-boards message is a draft. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isExpired()
Determines whether this message-boards message is expired. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
Determines whether 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(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(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(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(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. |
MBMessage |
toEscapedModel()
Gets a copy of this message-boards message as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
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 String getUuid()
void setUuid(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
String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(String userUuid)
userUuid - the user uuid of this message-boards message@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this message-boards messageDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this message-boards messageDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate - the modified date of this message-boards messageString 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 String getSubject()
void setSubject(String subject)
subject - the subject of this message-boards message@AutoEscape String getBody()
void setBody(String body)
body - the body of this message-boards messageboolean getAttachments()
boolean isAttachments()
void setAttachments(boolean attachments)
attachments - the attachments of this message-boards messageboolean getAnonymous()
boolean isAnonymous()
void 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()
void 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
String getStatusByUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setStatusByUserUuid(String statusByUserUuid)
statusByUserUuid - the status by user uuid of this message-boards message@AutoEscape String getStatusByUserName()
void setStatusByUserName(String statusByUserName)
statusByUserName - the status by user name of this message-boards messageDate getStatusDate()
void setStatusDate(Date statusDate)
statusDate - the status date of this message-boards messageboolean isApproved()
boolean isDraft()
boolean isExpired()
boolean isPending()
MBMessage 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 escapedAutoEscapeBeanHandlerSerializable 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(
)Object clone()
BaseModel
clone in interface BaseModel<MBMessage>int compareTo(MBMessage mbMessage)
compareTo in interface Comparable<MBMessage>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<MBMessage>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||