|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<MBMessage>
com.liferay.portlet.messageboards.model.impl.MBMessageModelImpl
public class MBMessageModelImpl
The base model implementation for the MBMessage service. Represents a row in the "MBMessage" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface MBMessageModel 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 class directly. All methods that expect a message-boards message model instance should use the MBMessage interface instead.
MBMessageImpl,
MBMessage,
MBMessageModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
MBMessageModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBMessage mbMessage)
|
boolean |
equals(Object obj)
|
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 |
getOriginalGroupId()
|
String |
getOriginalUuid()
|
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 |
isDraft()
Determines whether this message-boards message is a draft. |
boolean |
isExpired()
Determines whether this message-boards message is expired. |
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 |
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 |
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 |
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. |
static MBMessage |
toModel(MBMessageSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<MBMessage> |
toModels(MBMessageSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.messageboards.model.MBMessageModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public MBMessageModelImpl()
| Method Detail |
|---|
public static MBMessage toModel(MBMessageSoap soapModel)
soapModel - the soap model instance to convert
public static List<MBMessage> toModels(MBMessageSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
MBMessageModel
getPrimaryKey in interface MBMessageModelpublic void setPrimaryKey(long pk)
MBMessageModel
setPrimaryKey in interface MBMessageModelpk - the primary key of this message-boards messagepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBMessage>getPrimaryKeyObj in interface MBMessageModelpublic String getUuid()
MBMessageModel
getUuid in interface MBMessageModelpublic void setUuid(String uuid)
MBMessageModel
setUuid in interface MBMessageModeluuid - the uuid of this message-boards messagepublic String getOriginalUuid()
public long getMessageId()
MBMessageModel
getMessageId in interface MBMessageModelpublic void setMessageId(long messageId)
MBMessageModel
setMessageId in interface MBMessageModelmessageId - the message id of this message-boards messagepublic long getGroupId()
MBMessageModel
getGroupId in interface MBMessageModelpublic void setGroupId(long groupId)
MBMessageModel
setGroupId in interface MBMessageModelgroupId - the group id of this message-boards messagepublic long getOriginalGroupId()
public long getCompanyId()
MBMessageModel
getCompanyId in interface MBMessageModelpublic void setCompanyId(long companyId)
MBMessageModel
setCompanyId in interface MBMessageModelcompanyId - the company id of this message-boards messagepublic long getUserId()
MBMessageModel
getUserId in interface MBMessageModelpublic void setUserId(long userId)
MBMessageModel
setUserId in interface MBMessageModeluserId - the user id of this message-boards message
public String getUserUuid()
throws SystemException
MBMessageModel
getUserUuid in interface MBMessageModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
MBMessageModel
setUserUuid in interface MBMessageModeluserUuid - the user uuid of this message-boards messagepublic String getUserName()
MBMessageModel
getUserName in interface MBMessageModelpublic void setUserName(String userName)
MBMessageModel
setUserName in interface MBMessageModeluserName - the user name of this message-boards messagepublic Date getCreateDate()
MBMessageModel
getCreateDate in interface MBMessageModelpublic void setCreateDate(Date createDate)
MBMessageModel
setCreateDate in interface MBMessageModelcreateDate - the create date of this message-boards messagepublic Date getModifiedDate()
MBMessageModel
getModifiedDate in interface MBMessageModelpublic void setModifiedDate(Date modifiedDate)
MBMessageModel
setModifiedDate in interface MBMessageModelmodifiedDate - the modified date of this message-boards messagepublic String getClassName()
MBMessageModel
getClassName in interface MBMessageModelpublic long getClassNameId()
MBMessageModel
getClassNameId in interface MBMessageModelpublic void setClassNameId(long classNameId)
MBMessageModel
setClassNameId in interface MBMessageModelclassNameId - the class name id of this message-boards messagepublic long getClassPK()
MBMessageModel
getClassPK in interface MBMessageModelpublic void setClassPK(long classPK)
MBMessageModel
setClassPK in interface MBMessageModelclassPK - the class p k of this message-boards messagepublic long getCategoryId()
MBMessageModel
getCategoryId in interface MBMessageModelpublic void setCategoryId(long categoryId)
MBMessageModel
setCategoryId in interface MBMessageModelcategoryId - the category id of this message-boards messagepublic long getThreadId()
MBMessageModel
getThreadId in interface MBMessageModelpublic void setThreadId(long threadId)
MBMessageModel
setThreadId in interface MBMessageModelthreadId - the thread id of this message-boards messagepublic long getRootMessageId()
MBMessageModel
getRootMessageId in interface MBMessageModelpublic void setRootMessageId(long rootMessageId)
MBMessageModel
setRootMessageId in interface MBMessageModelrootMessageId - the root message id of this message-boards messagepublic long getParentMessageId()
MBMessageModel
getParentMessageId in interface MBMessageModelpublic void setParentMessageId(long parentMessageId)
MBMessageModel
setParentMessageId in interface MBMessageModelparentMessageId - the parent message id of this message-boards messagepublic String getSubject()
MBMessageModel
getSubject in interface MBMessageModelpublic void setSubject(String subject)
MBMessageModel
setSubject in interface MBMessageModelsubject - the subject of this message-boards messagepublic String getBody()
MBMessageModel
getBody in interface MBMessageModelpublic void setBody(String body)
MBMessageModel
setBody in interface MBMessageModelbody - the body of this message-boards messagepublic boolean getAttachments()
MBMessageModel
getAttachments in interface MBMessageModelpublic boolean isAttachments()
MBMessageModel
isAttachments in interface MBMessageModelpublic void setAttachments(boolean attachments)
MBMessageModel
setAttachments in interface MBMessageModelattachments - the attachments of this message-boards messagepublic boolean getAnonymous()
MBMessageModel
getAnonymous in interface MBMessageModelpublic boolean isAnonymous()
MBMessageModel
isAnonymous in interface MBMessageModelpublic void setAnonymous(boolean anonymous)
MBMessageModel
setAnonymous in interface MBMessageModelanonymous - the anonymous of this message-boards messagepublic double getPriority()
MBMessageModel
getPriority in interface MBMessageModelpublic void setPriority(double priority)
MBMessageModel
setPriority in interface MBMessageModelpriority - the priority of this message-boards messagepublic boolean getAllowPingbacks()
MBMessageModel
getAllowPingbacks in interface MBMessageModelpublic boolean isAllowPingbacks()
MBMessageModel
isAllowPingbacks in interface MBMessageModelpublic void setAllowPingbacks(boolean allowPingbacks)
MBMessageModel
setAllowPingbacks in interface MBMessageModelallowPingbacks - the allow pingbacks of this message-boards messagepublic int getStatus()
MBMessageModel
getStatus in interface MBMessageModelpublic void setStatus(int status)
MBMessageModel
setStatus in interface MBMessageModelstatus - the status of this message-boards messagepublic long getStatusByUserId()
MBMessageModel
getStatusByUserId in interface MBMessageModelpublic void setStatusByUserId(long statusByUserId)
MBMessageModel
setStatusByUserId in interface MBMessageModelstatusByUserId - the status by user id of this message-boards message
public String getStatusByUserUuid()
throws SystemException
MBMessageModel
getStatusByUserUuid in interface MBMessageModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
MBMessageModel
setStatusByUserUuid in interface MBMessageModelstatusByUserUuid - the status by user uuid of this message-boards messagepublic String getStatusByUserName()
MBMessageModel
getStatusByUserName in interface MBMessageModelpublic void setStatusByUserName(String statusByUserName)
MBMessageModel
setStatusByUserName in interface MBMessageModelstatusByUserName - the status by user name of this message-boards messagepublic Date getStatusDate()
MBMessageModel
getStatusDate in interface MBMessageModelpublic void setStatusDate(Date statusDate)
MBMessageModel
setStatusDate in interface MBMessageModelstatusDate - the status date of this message-boards messagepublic boolean isApproved()
MBMessageModel
isApproved in interface MBMessageModelpublic boolean isDraft()
MBMessageModel
isDraft in interface MBMessageModelpublic boolean isExpired()
MBMessageModel
isExpired in interface MBMessageModelpublic boolean isPending()
MBMessageModel
isPending in interface MBMessageModelpublic MBMessage toEscapedModel()
MBMessageModelAutoEscapeBeanHandler.
toEscapedModel in interface MBMessageModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBMessage>getExpandoBridge in interface MBMessageModelgetExpandoBridge in class BaseModelImpl<MBMessage>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBMessage>setExpandoBridgeAttributes in interface MBMessageModelsetExpandoBridgeAttributes in class BaseModelImpl<MBMessage>serviceContext - 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 BaseModelImpl<MBMessage>public int compareTo(MBMessage mbMessage)
compareTo in interface MBMessageModelcompareTo in interface Comparable<MBMessage>public boolean equals(Object obj)
equals in class Objectpublic 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
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||