|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType 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. As of 6.1.0, replaced by isApproved() |
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. |
TrashEntry |
getTrashEntry()
Returns the trash entry created when this message-boards message was moved to the Recycle Bin. |
long |
getTrashEntryClassPK()
Returns the class primary key of the trash entry for this message-boards message. |
TrashHandler |
getTrashHandler()
Returns the trash handler for 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 |
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 |
isInTrash()
Returns true if this message-boards message is in the Recycle Bin. |
boolean |
isInTrashContainer()
Returns true if the parent of this message-boards message is in the Recycle Bin. |
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 |
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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
Methods inherited from interface com.liferay.portal.model.StagedModel |
---|
getStagedModelType |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this message-boards message@AutoEscape String getUuid()
getUuid
in interface StagedModel
void setUuid(String uuid)
setUuid
in interface StagedModel
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
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
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
getCreateDate
in interface StagedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this message-boards messageDate getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this message-boards messageString getClassName()
getClassName
in interface TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
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 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 TrashedModel
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
getStatusByUserUuid
in interface WorkflowedModel
SystemException
- if a system exception occurredvoid setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WorkflowedModel
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 messageTrashEntry getTrashEntry() throws PortalException, SystemException
getTrashEntry
in interface TrashedModel
SystemException
- if a system exception occurred
PortalException
long getTrashEntryClassPK()
getTrashEntryClassPK
in interface TrashedModel
TrashHandler getTrashHandler()
getTrashHandler
in interface TrashedModel
boolean isInTrash()
true
if this message-boards message is in the Recycle Bin.
isInTrash
in interface TrashedModel
true
if this message-boards message is in the Recycle Bin; false
otherwiseboolean isInTrashContainer()
true
if the parent of this message-boards message is in the Recycle Bin.
isInTrashContainer
in interface TrashedModel
true
if the parent of this message-boards message is in the Recycle Bin; false
otherwise
SystemException
- if a system exception occurredboolean getApproved()
isApproved()
getApproved
in interface WorkflowedModel
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.
isDenied
in interface WorkflowedModel
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.
isInactive
in interface WorkflowedModel
true
if this message-boards message is inactive; false
otherwiseboolean isIncomplete()
true
if this message-boards message is incomplete.
isIncomplete
in interface WorkflowedModel
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.
isScheduled
in interface WorkflowedModel
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(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<MBMessage>
clone
in interface StagedModel
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |