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:
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.SystemException
- Throws:
com.liferay.portal.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)
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
toEscapedModel
MBThread toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<MBThread>
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<MBThread>