com.liferay.portlet.messageboards.model
Interface MBThreadModel

All Superinterfaces:
BaseModel<MBThread>, java.lang.Cloneable, java.lang.Comparable<MBThread>, java.io.Serializable
All Known Subinterfaces:
MBThread
All Known Implementing Classes:
MBThreadWrapper

public interface MBThreadModel
extends BaseModel<MBThread>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the MBThread table in the database.

Author:
Brian Wing Shun Chan
See Also:
MBThread, com.liferay.portlet.messageboards.model.impl.MBThreadImpl, com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
Generated:

Method Summary
 java.lang.Object clone()
           
 int compareTo(MBThread mbThread)
           
 long getCategoryId()
           
 ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 long getLastPostByUserId()
           
 java.lang.String getLastPostByUserUuid()
           
 java.util.Date getLastPostDate()
           
 int getMessageCount()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 double getPriority()
           
 long getRootMessageId()
           
 int getStatus()
           
 long getStatusByUserId()
           
 java.lang.String getStatusByUserName()
           
 java.lang.String getStatusByUserUuid()
           
 java.util.Date getStatusDate()
           
 long getThreadId()
           
 int getViewCount()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setCategoryId(long categoryId)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setLastPostByUserId(long lastPostByUserId)
           
 void setLastPostByUserUuid(java.lang.String lastPostByUserUuid)
           
 void setLastPostDate(java.util.Date lastPostDate)
           
 void setMessageCount(int messageCount)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setPriority(double priority)
           
 void setRootMessageId(long rootMessageId)
           
 void setStatus(int status)
           
 void setStatusByUserId(long statusByUserId)
           
 void setStatusByUserName(java.lang.String statusByUserName)
           
 void setStatusByUserUuid(java.lang.String statusByUserUuid)
           
 void setStatusDate(java.util.Date statusDate)
           
 void setThreadId(long threadId)
           
 void setViewCount(int viewCount)
           
 MBThread toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getThreadId

long getThreadId()

setThreadId

void setThreadId(long threadId)

getGroupId

long getGroupId()

setGroupId

void setGroupId(long groupId)

getCategoryId

long getCategoryId()

setCategoryId

void setCategoryId(long categoryId)

getRootMessageId

long getRootMessageId()

setRootMessageId

void setRootMessageId(long rootMessageId)

getMessageCount

int getMessageCount()

setMessageCount

void setMessageCount(int messageCount)

getViewCount

int getViewCount()

setViewCount

void setViewCount(int viewCount)

getLastPostByUserId

long getLastPostByUserId()

setLastPostByUserId

void setLastPostByUserId(long lastPostByUserId)

getLastPostByUserUuid

java.lang.String getLastPostByUserUuid()
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setLastPostByUserUuid

void setLastPostByUserUuid(java.lang.String lastPostByUserUuid)

getLastPostDate

java.util.Date getLastPostDate()

setLastPostDate

void setLastPostDate(java.util.Date lastPostDate)

getPriority

double getPriority()

setPriority

void setPriority(double priority)

getStatus

int getStatus()

setStatus

void setStatus(int status)

getStatusByUserId

long getStatusByUserId()

setStatusByUserId

void setStatusByUserId(long statusByUserId)

getStatusByUserUuid

java.lang.String getStatusByUserUuid()
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setStatusByUserUuid

void setStatusByUserUuid(java.lang.String statusByUserUuid)

getStatusByUserName

java.lang.String getStatusByUserName()

setStatusByUserName

void setStatusByUserName(java.lang.String statusByUserName)

getStatusDate

java.util.Date getStatusDate()

setStatusDate

void setStatusDate(java.util.Date statusDate)

toEscapedModel

MBThread toEscapedModel()

isNew

boolean isNew()
Specified by:
isNew in interface BaseModel<MBThread>

setNew

boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<MBThread>

isCachedModel

boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<MBThread>

setCachedModel

void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<MBThread>

isEscapedModel

boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<MBThread>

setEscapedModel

void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<MBThread>

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<MBThread>

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<MBThread>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<MBThread>

clone

java.lang.Object clone()
Specified by:
clone in interface BaseModel<MBThread>

compareTo

int compareTo(MBThread mbThread)
Specified by:
compareTo in interface java.lang.Comparable<MBThread>

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<MBThread>