|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 MBMessageModel
public void setPrimaryKey(long pk)
MBMessageModel
setPrimaryKey
in interface MBMessageModel
pk
- the primary key of this message-boards messagepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBMessage>
getPrimaryKeyObj
in interface MBMessageModel
public String getUuid()
MBMessageModel
getUuid
in interface MBMessageModel
public void setUuid(String uuid)
MBMessageModel
setUuid
in interface MBMessageModel
uuid
- the uuid of this message-boards messagepublic String getOriginalUuid()
public long getMessageId()
MBMessageModel
getMessageId
in interface MBMessageModel
public void setMessageId(long messageId)
MBMessageModel
setMessageId
in interface MBMessageModel
messageId
- the message id of this message-boards messagepublic long getGroupId()
MBMessageModel
getGroupId
in interface MBMessageModel
public void setGroupId(long groupId)
MBMessageModel
setGroupId
in interface MBMessageModel
groupId
- the group id of this message-boards messagepublic long getOriginalGroupId()
public long getCompanyId()
MBMessageModel
getCompanyId
in interface MBMessageModel
public void setCompanyId(long companyId)
MBMessageModel
setCompanyId
in interface MBMessageModel
companyId
- the company id of this message-boards messagepublic long getUserId()
MBMessageModel
getUserId
in interface MBMessageModel
public void setUserId(long userId)
MBMessageModel
setUserId
in interface MBMessageModel
userId
- the user id of this message-boards messagepublic String getUserUuid() throws SystemException
MBMessageModel
getUserUuid
in interface MBMessageModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
MBMessageModel
setUserUuid
in interface MBMessageModel
userUuid
- the user uuid of this message-boards messagepublic String getUserName()
MBMessageModel
getUserName
in interface MBMessageModel
public void setUserName(String userName)
MBMessageModel
setUserName
in interface MBMessageModel
userName
- the user name of this message-boards messagepublic Date getCreateDate()
MBMessageModel
getCreateDate
in interface MBMessageModel
public void setCreateDate(Date createDate)
MBMessageModel
setCreateDate
in interface MBMessageModel
createDate
- the create date of this message-boards messagepublic Date getModifiedDate()
MBMessageModel
getModifiedDate
in interface MBMessageModel
public void setModifiedDate(Date modifiedDate)
MBMessageModel
setModifiedDate
in interface MBMessageModel
modifiedDate
- the modified date of this message-boards messagepublic String getClassName()
MBMessageModel
getClassName
in interface MBMessageModel
public long getClassNameId()
MBMessageModel
getClassNameId
in interface MBMessageModel
public void setClassNameId(long classNameId)
MBMessageModel
setClassNameId
in interface MBMessageModel
classNameId
- the class name id of this message-boards messagepublic long getClassPK()
MBMessageModel
getClassPK
in interface MBMessageModel
public void setClassPK(long classPK)
MBMessageModel
setClassPK
in interface MBMessageModel
classPK
- the class p k of this message-boards messagepublic long getCategoryId()
MBMessageModel
getCategoryId
in interface MBMessageModel
public void setCategoryId(long categoryId)
MBMessageModel
setCategoryId
in interface MBMessageModel
categoryId
- the category id of this message-boards messagepublic long getThreadId()
MBMessageModel
getThreadId
in interface MBMessageModel
public void setThreadId(long threadId)
MBMessageModel
setThreadId
in interface MBMessageModel
threadId
- the thread id of this message-boards messagepublic long getRootMessageId()
MBMessageModel
getRootMessageId
in interface MBMessageModel
public void setRootMessageId(long rootMessageId)
MBMessageModel
setRootMessageId
in interface MBMessageModel
rootMessageId
- the root message id of this message-boards messagepublic long getParentMessageId()
MBMessageModel
getParentMessageId
in interface MBMessageModel
public void setParentMessageId(long parentMessageId)
MBMessageModel
setParentMessageId
in interface MBMessageModel
parentMessageId
- the parent message id of this message-boards messagepublic String getSubject()
MBMessageModel
getSubject
in interface MBMessageModel
public void setSubject(String subject)
MBMessageModel
setSubject
in interface MBMessageModel
subject
- the subject of this message-boards messagepublic String getBody()
MBMessageModel
getBody
in interface MBMessageModel
public void setBody(String body)
MBMessageModel
setBody
in interface MBMessageModel
body
- the body of this message-boards messagepublic boolean getAttachments()
MBMessageModel
getAttachments
in interface MBMessageModel
public boolean isAttachments()
MBMessageModel
isAttachments
in interface MBMessageModel
public void setAttachments(boolean attachments)
MBMessageModel
setAttachments
in interface MBMessageModel
attachments
- the attachments of this message-boards messagepublic boolean getAnonymous()
MBMessageModel
getAnonymous
in interface MBMessageModel
public boolean isAnonymous()
MBMessageModel
isAnonymous
in interface MBMessageModel
public void setAnonymous(boolean anonymous)
MBMessageModel
setAnonymous
in interface MBMessageModel
anonymous
- the anonymous of this message-boards messagepublic double getPriority()
MBMessageModel
getPriority
in interface MBMessageModel
public void setPriority(double priority)
MBMessageModel
setPriority
in interface MBMessageModel
priority
- the priority of this message-boards messagepublic boolean getAllowPingbacks()
MBMessageModel
getAllowPingbacks
in interface MBMessageModel
public boolean isAllowPingbacks()
MBMessageModel
isAllowPingbacks
in interface MBMessageModel
public void setAllowPingbacks(boolean allowPingbacks)
MBMessageModel
setAllowPingbacks
in interface MBMessageModel
allowPingbacks
- the allow pingbacks of this message-boards messagepublic int getStatus()
MBMessageModel
getStatus
in interface MBMessageModel
public void setStatus(int status)
MBMessageModel
setStatus
in interface MBMessageModel
status
- the status of this message-boards messagepublic long getStatusByUserId()
MBMessageModel
getStatusByUserId
in interface MBMessageModel
public void setStatusByUserId(long statusByUserId)
MBMessageModel
setStatusByUserId
in interface MBMessageModel
statusByUserId
- the status by user id of this message-boards messagepublic String getStatusByUserUuid() throws SystemException
MBMessageModel
getStatusByUserUuid
in interface MBMessageModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
MBMessageModel
setStatusByUserUuid
in interface MBMessageModel
statusByUserUuid
- the status by user uuid of this message-boards messagepublic String getStatusByUserName()
MBMessageModel
getStatusByUserName
in interface MBMessageModel
public void setStatusByUserName(String statusByUserName)
MBMessageModel
setStatusByUserName
in interface MBMessageModel
statusByUserName
- the status by user name of this message-boards messagepublic Date getStatusDate()
MBMessageModel
getStatusDate
in interface MBMessageModel
public void setStatusDate(Date statusDate)
MBMessageModel
setStatusDate
in interface MBMessageModel
statusDate
- the status date of this message-boards messagepublic boolean isApproved()
MBMessageModel
isApproved
in interface MBMessageModel
public boolean isDraft()
MBMessageModel
isDraft
in interface MBMessageModel
public boolean isExpired()
MBMessageModel
isExpired
in interface MBMessageModel
public boolean isPending()
MBMessageModel
isPending
in interface MBMessageModel
public MBMessage toEscapedModel()
MBMessageModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface MBMessageModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBMessage>
getExpandoBridge
in interface MBMessageModel
getExpandoBridge
in class BaseModelImpl<MBMessage>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBMessage>
setExpandoBridgeAttributes
in interface MBMessageModel
setExpandoBridgeAttributes
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 MBMessageModel
clone
in class BaseModelImpl<MBMessage>
public int compareTo(MBMessage mbMessage)
compareTo
in interface MBMessageModel
compareTo
in interface Comparable<MBMessage>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface MBMessageModel
hashCode
in class Object
public String toString()
toString
in interface MBMessageModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBMessage>
toXmlString
in interface MBMessageModel
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |