com.liferay.portlet.messageboards.model
Class MBThreadWrapper

java.lang.Object
  extended by com.liferay.portlet.messageboards.model.MBThreadWrapper
All Implemented Interfaces:
BaseModel<MBThread>, MBThread, MBThreadModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<MBThread>

public class MBThreadWrapper
extends java.lang.Object
implements MBThread

View Source

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

This class is a wrapper for MBThread.

Author:
Brian Wing Shun Chan
See Also:
MBThread, Serialized Form
Generated:

Constructor Summary
MBThreadWrapper(MBThread mbThread)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(MBThread mbThread)
           
 java.lang.String getAttachmentsDir()
           
 long getCategoryId()
           
 ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 long getLastPostByUserId()
           
 java.lang.String getLastPostByUserUuid()
           
 java.util.Date getLastPostDate()
           
 Lock getLock()
           
 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()
           
 MBThread getWrappedMBThread()
           
 int hashCode()
           
 boolean hasLock(long userId)
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isLocked()
           
 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()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MBThreadWrapper

public MBThreadWrapper(MBThread mbThread)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface MBThreadModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface MBThreadModel

getThreadId

public long getThreadId()
Specified by:
getThreadId in interface MBThreadModel

setThreadId

public void setThreadId(long threadId)
Specified by:
setThreadId in interface MBThreadModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface MBThreadModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface MBThreadModel

getCategoryId

public long getCategoryId()
Specified by:
getCategoryId in interface MBThreadModel

setCategoryId

public void setCategoryId(long categoryId)
Specified by:
setCategoryId in interface MBThreadModel

getRootMessageId

public long getRootMessageId()
Specified by:
getRootMessageId in interface MBThreadModel

setRootMessageId

public void setRootMessageId(long rootMessageId)
Specified by:
setRootMessageId in interface MBThreadModel

getMessageCount

public int getMessageCount()
Specified by:
getMessageCount in interface MBThreadModel

setMessageCount

public void setMessageCount(int messageCount)
Specified by:
setMessageCount in interface MBThreadModel

getViewCount

public int getViewCount()
Specified by:
getViewCount in interface MBThreadModel

setViewCount

public void setViewCount(int viewCount)
Specified by:
setViewCount in interface MBThreadModel

getLastPostByUserId

public long getLastPostByUserId()
Specified by:
getLastPostByUserId in interface MBThreadModel

setLastPostByUserId

public void setLastPostByUserId(long lastPostByUserId)
Specified by:
setLastPostByUserId in interface MBThreadModel

getLastPostByUserUuid

public java.lang.String getLastPostByUserUuid()
                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getLastPostByUserUuid in interface MBThreadModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setLastPostByUserUuid

public void setLastPostByUserUuid(java.lang.String lastPostByUserUuid)
Specified by:
setLastPostByUserUuid in interface MBThreadModel

getLastPostDate

public java.util.Date getLastPostDate()
Specified by:
getLastPostDate in interface MBThreadModel

setLastPostDate

public void setLastPostDate(java.util.Date lastPostDate)
Specified by:
setLastPostDate in interface MBThreadModel

getPriority

public double getPriority()
Specified by:
getPriority in interface MBThreadModel

setPriority

public void setPriority(double priority)
Specified by:
setPriority in interface MBThreadModel

getStatus

public int getStatus()
Specified by:
getStatus in interface MBThreadModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface MBThreadModel

getStatusByUserId

public long getStatusByUserId()
Specified by:
getStatusByUserId in interface MBThreadModel

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Specified by:
setStatusByUserId in interface MBThreadModel

getStatusByUserUuid

public java.lang.String getStatusByUserUuid()
                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getStatusByUserUuid in interface MBThreadModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setStatusByUserUuid

public void setStatusByUserUuid(java.lang.String statusByUserUuid)
Specified by:
setStatusByUserUuid in interface MBThreadModel

getStatusByUserName

public java.lang.String getStatusByUserName()
Specified by:
getStatusByUserName in interface MBThreadModel

setStatusByUserName

public void setStatusByUserName(java.lang.String statusByUserName)
Specified by:
setStatusByUserName in interface MBThreadModel

getStatusDate

public java.util.Date getStatusDate()
Specified by:
getStatusDate in interface MBThreadModel

setStatusDate

public void setStatusDate(java.util.Date statusDate)
Specified by:
setStatusDate in interface MBThreadModel

toEscapedModel

public MBThread toEscapedModel()
Specified by:
toEscapedModel in interface MBThreadModel

isNew

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

setNew

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

isCachedModel

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

setCachedModel

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

isEscapedModel

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

setEscapedModel

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

getPrimaryKeyObj

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

getExpandoBridge

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

setExpandoBridgeAttributes

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

clone

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

compareTo

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

hashCode

public int hashCode()
Specified by:
hashCode in interface MBThreadModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface MBThreadModel
Overrides:
toString in class java.lang.Object

toXmlString

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

getAttachmentsDir

public java.lang.String getAttachmentsDir()
Specified by:
getAttachmentsDir in interface MBThread

getLock

public Lock getLock()
Specified by:
getLock in interface MBThread

hasLock

public boolean hasLock(long userId)
Specified by:
hasLock in interface MBThread

isLocked

public boolean isLocked()
Specified by:
isLocked in interface MBThread

getWrappedMBThread

public MBThread getWrappedMBThread()