|
Liferay 6.0.3 | |||||||||
| 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
This interface is a model that represents the MBMessage table in the database.
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()
|
boolean |
getAnonymous()
|
boolean |
getAttachments()
|
String |
getBody()
|
long |
getCategoryId()
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
long |
getMessageId()
|
Date |
getModifiedDate()
|
long |
getOriginalGroupId()
|
String |
getOriginalUuid()
|
long |
getParentMessageId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
double |
getPriority()
|
long |
getRootMessageId()
|
int |
getStatus()
|
long |
getStatusByUserId()
|
String |
getStatusByUserName()
|
String |
getStatusByUserUuid()
|
Date |
getStatusDate()
|
String |
getSubject()
|
long |
getThreadId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
String |
getUuid()
|
int |
hashCode()
|
boolean |
isAllowPingbacks()
|
boolean |
isAnonymous()
|
boolean |
isApproved()
|
boolean |
isAttachments()
|
boolean |
isDraft()
|
boolean |
isExpired()
|
boolean |
isPending()
|
void |
setAllowPingbacks(boolean allowPingbacks)
|
void |
setAnonymous(boolean anonymous)
|
void |
setAttachments(boolean attachments)
|
void |
setBody(String body)
|
void |
setCategoryId(long categoryId)
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
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)
|
void |
setMessageId(long messageId)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setParentMessageId(long parentMessageId)
|
void |
setPrimaryKey(long pk)
|
void |
setPriority(double priority)
|
void |
setRootMessageId(long rootMessageId)
|
void |
setStatus(int status)
|
void |
setStatusByUserId(long statusByUserId)
|
void |
setStatusByUserName(String statusByUserName)
|
void |
setStatusByUserUuid(String statusByUserUuid)
|
void |
setStatusDate(Date statusDate)
|
void |
setSubject(String subject)
|
void |
setThreadId(long threadId)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setUuid(String uuid)
|
MBMessage |
toEscapedModel()
|
static MBMessage |
toModel(MBMessageSoap soapModel)
|
static List<MBMessage> |
toModels(MBMessageSoap[] soapModels)
|
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)
public static List<MBMessage> toModels(MBMessageSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface MBMessageModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface MBMessageModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBMessage>getPrimaryKeyObj in interface MBMessageModelpublic String getUuid()
getUuid in interface MBMessageModelpublic void setUuid(String uuid)
setUuid in interface MBMessageModelpublic String getOriginalUuid()
public long getMessageId()
getMessageId in interface MBMessageModelpublic void setMessageId(long messageId)
setMessageId in interface MBMessageModelpublic long getGroupId()
getGroupId in interface MBMessageModelpublic void setGroupId(long groupId)
setGroupId in interface MBMessageModelpublic long getOriginalGroupId()
public long getCompanyId()
getCompanyId in interface MBMessageModelpublic void setCompanyId(long companyId)
setCompanyId in interface MBMessageModelpublic long getUserId()
getUserId in interface MBMessageModelpublic void setUserId(long userId)
setUserId in interface MBMessageModel
public String getUserUuid()
throws SystemException
getUserUuid in interface MBMessageModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface MBMessageModelpublic String getUserName()
getUserName in interface MBMessageModelpublic void setUserName(String userName)
setUserName in interface MBMessageModelpublic Date getCreateDate()
getCreateDate in interface MBMessageModelpublic void setCreateDate(Date createDate)
setCreateDate in interface MBMessageModelpublic Date getModifiedDate()
getModifiedDate in interface MBMessageModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface MBMessageModelpublic String getClassName()
getClassName in interface MBMessageModelpublic long getClassNameId()
getClassNameId in interface MBMessageModelpublic void setClassNameId(long classNameId)
setClassNameId in interface MBMessageModelpublic long getClassPK()
getClassPK in interface MBMessageModelpublic void setClassPK(long classPK)
setClassPK in interface MBMessageModelpublic long getCategoryId()
getCategoryId in interface MBMessageModelpublic void setCategoryId(long categoryId)
setCategoryId in interface MBMessageModelpublic long getThreadId()
getThreadId in interface MBMessageModelpublic void setThreadId(long threadId)
setThreadId in interface MBMessageModelpublic long getRootMessageId()
getRootMessageId in interface MBMessageModelpublic void setRootMessageId(long rootMessageId)
setRootMessageId in interface MBMessageModelpublic long getParentMessageId()
getParentMessageId in interface MBMessageModelpublic void setParentMessageId(long parentMessageId)
setParentMessageId in interface MBMessageModelpublic String getSubject()
getSubject in interface MBMessageModelpublic void setSubject(String subject)
setSubject in interface MBMessageModelpublic String getBody()
getBody in interface MBMessageModelpublic void setBody(String body)
setBody in interface MBMessageModelpublic boolean getAttachments()
getAttachments in interface MBMessageModelpublic boolean isAttachments()
isAttachments in interface MBMessageModelpublic void setAttachments(boolean attachments)
setAttachments in interface MBMessageModelpublic boolean getAnonymous()
getAnonymous in interface MBMessageModelpublic boolean isAnonymous()
isAnonymous in interface MBMessageModelpublic void setAnonymous(boolean anonymous)
setAnonymous in interface MBMessageModelpublic double getPriority()
getPriority in interface MBMessageModelpublic void setPriority(double priority)
setPriority in interface MBMessageModelpublic boolean getAllowPingbacks()
getAllowPingbacks in interface MBMessageModelpublic boolean isAllowPingbacks()
isAllowPingbacks in interface MBMessageModelpublic void setAllowPingbacks(boolean allowPingbacks)
setAllowPingbacks in interface MBMessageModelpublic int getStatus()
getStatus in interface MBMessageModelpublic void setStatus(int status)
setStatus in interface MBMessageModelpublic long getStatusByUserId()
getStatusByUserId in interface MBMessageModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface MBMessageModel
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface MBMessageModelSystemExceptionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface MBMessageModelpublic String getStatusByUserName()
getStatusByUserName in interface MBMessageModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface MBMessageModelpublic Date getStatusDate()
getStatusDate in interface MBMessageModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface MBMessageModelpublic boolean isApproved()
isApproved in interface MBMessageModelpublic boolean isDraft()
isDraft in interface MBMessageModelpublic boolean isExpired()
isExpired in interface MBMessageModelpublic boolean isPending()
isPending in interface MBMessageModelpublic MBMessage toEscapedModel()
toEscapedModel in interface MBMessageModelpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||