com.liferay.portlet.messageboards.model.impl
Class MBThreadModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- MBThreadImpl
public class MBThreadModelImpl
- extends BaseModelImpl
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a model that represents the MBThread
table
in the database.
- Author:
- Brian Wing Shun Chan
- See Also:
com.liferay.portlet.messageboards.service.model.MBThread
,
com.liferay.portlet.messageboards.service.model.MBThreadModel
,
com.liferay.portlet.messageboards.service.model.impl.MBThreadImpl
,
Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
CACHE_ENABLED
public static final boolean CACHE_ENABLED
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
MBThreadModelImpl
public MBThreadModelImpl()
toModel
public static com.liferay.portlet.messageboards.model.MBThread toModel(com.liferay.portlet.messageboards.model.MBThreadSoap soapModel)
toModels
public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> toModels(com.liferay.portlet.messageboards.model.MBThreadSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(long pk)
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
getThreadId
public long getThreadId()
setThreadId
public void setThreadId(long threadId)
getCategoryId
public long getCategoryId()
setCategoryId
public void setCategoryId(long categoryId)
getRootMessageId
public long getRootMessageId()
setRootMessageId
public void setRootMessageId(long rootMessageId)
getMessageCount
public int getMessageCount()
setMessageCount
public void setMessageCount(int messageCount)
getViewCount
public int getViewCount()
setViewCount
public void setViewCount(int viewCount)
getLastPostByUserId
public long getLastPostByUserId()
setLastPostByUserId
public void setLastPostByUserId(long lastPostByUserId)
getLastPostDate
public java.util.Date getLastPostDate()
setLastPostDate
public void setLastPostDate(java.util.Date lastPostDate)
getPriority
public double getPriority()
setPriority
public void setPriority(double priority)
toEscapedModel
public com.liferay.portlet.messageboards.model.MBThread toEscapedModel()
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel
- Specified by:
clone
in class BaseModelImpl
compareTo
public int compareTo(java.lang.Object obj)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object