|
Liferay 6.1.2-ce-ga3 | |||||||||
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
.
MBMessage
,
MBMessageImpl
,
MBMessageModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessage mbMessage)
|
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. Renamed to isApproved() |
boolean |
getAttachments()
Returns the attachments of this message-boards message. |
String |
getBody()
Returns the body of this message-boards message. |
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. |
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. |
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. |
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. |
long |
getThreadId()
Returns the thread ID of 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. |
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 |
isAttachments()
Returns true if this message-boards message is attachments. |
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 |
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 |
isInactive()
Returns true if this message-boards message is inactive. |
boolean |
isIncomplete()
Returns true if this message-boards message is incomplete. |
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 |
isScheduled()
Returns true if this message-boards message is scheduled. |
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 |
setAttachments(boolean attachments)
Sets whether this message-boards message 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 |
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(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 |
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 interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- 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()
getGroupId
in interface GroupedModel
void setGroupId(long groupId)
setGroupId
in interface GroupedModel
groupId
- the group ID of this message-boards messagelong getCompanyId()
getCompanyId
in interface AuditedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
companyId
- the company ID of this message-boards messagelong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this message-boards messageString getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this message-boards message@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this message-boards messageDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this message-boards messageDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- the modified date of this message-boards messageString getClassName()
getClassName
in interface AttachedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface AttachedModel
void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
classNameId
- the class name ID of this message-boards messagelong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
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 message@AutoEscape String getFormat()
void setFormat(String format)
format
- the format of this message-boards messageboolean getAttachments()
boolean isAttachments()
true
if this message-boards message is attachments.
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.
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.
true
if this message-boards message is allow pingbacks; false
otherwisevoid setAllowPingbacks(boolean allowPingbacks)
allowPingbacks
- the allow pingbacks of this message-boards messageboolean getAnswer()
boolean isAnswer()
true
if this message-boards message is answer.
true
if this message-boards message is answer; false
otherwisevoid setAnswer(boolean answer)
answer
- the answer of this message-boards messageint getStatus()
getStatus
in interface WorkflowedModel
void setStatus(int status)
setStatus
in interface WorkflowedModel
status
- the status of this message-boards messagelong getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
statusByUserId
- the status by user ID of this message-boards messageString 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()
getStatusByUserName
in interface WorkflowedModel
void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
statusByUserName
- the status by user name of this message-boards messageDate getStatusDate()
getStatusDate
in interface WorkflowedModel
void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
statusDate
- the status date of this message-boards messageboolean getApproved()
isApproved()
boolean isApproved()
true
if this message-boards message is approved.
isApproved
in interface WorkflowedModel
true
if this message-boards message is approved; false
otherwiseboolean isDenied()
true
if this message-boards message is denied.
true
if this message-boards message is denied; false
otherwiseboolean isDraft()
true
if this message-boards message is a draft.
isDraft
in interface WorkflowedModel
true
if this message-boards message is a draft; false
otherwiseboolean isExpired()
true
if this message-boards message is expired.
isExpired
in interface WorkflowedModel
true
if this message-boards message is expired; false
otherwiseboolean isInactive()
true
if this message-boards message is inactive.
true
if this message-boards message is inactive; false
otherwiseboolean isIncomplete()
true
if this message-boards message is incomplete.
true
if this message-boards message is incomplete; false
otherwiseboolean isPending()
true
if this message-boards message is pending.
isPending
in interface WorkflowedModel
true
if this message-boards message is pending; false
otherwiseboolean isScheduled()
true
if this message-boards message is scheduled.
true
if this message-boards message is scheduled; false
otherwiseboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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 cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<MBMessage>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBMessage>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MBMessage>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBMessage>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<MBMessage>
int compareTo(MBMessage mbMessage)
compareTo
in interface Comparable<MBMessage>
int hashCode()
hashCode
in class Object
CacheModel<MBMessage> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<MBMessage>
MBMessage toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MBMessage>
AutoEscapeBeanHandler
MBMessage toUnescapedModel()
toUnescapedModel
in interface BaseModel<MBMessage>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBMessage>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |