|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.model.MBThreadWrapper
public class MBThreadWrapper
This class is a wrapper for MBThread.
MBThread,
Serialized Form| Constructor Summary | |
|---|---|
MBThreadWrapper(MBThread mbThread)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBThread mbThread)
|
String |
getAttachmentsDir()
|
long |
getCategoryId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
long |
getLastPostByUserId()
|
String |
getLastPostByUserUuid()
|
Date |
getLastPostDate()
|
Lock |
getLock()
|
int |
getMessageCount()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
double |
getPriority()
|
long |
getRootMessageId()
|
int |
getStatus()
|
long |
getStatusByUserId()
|
String |
getStatusByUserName()
|
String |
getStatusByUserUuid()
|
Date |
getStatusDate()
|
long |
getThreadId()
|
int |
getViewCount()
|
MBThread |
getWrappedMBThread()
|
int |
hashCode()
|
boolean |
hasLock(long userId)
|
boolean |
isApproved()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isDraft()
|
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isExpired()
|
boolean |
isLocked()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPending()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCategoryId(long categoryId)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setLastPostByUserId(long lastPostByUserId)
|
void |
setLastPostByUserUuid(String lastPostByUserUuid)
|
void |
setLastPostDate(Date lastPostDate)
|
void |
setMessageCount(int messageCount)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setPriority(double priority)
|
void |
setRootMessageId(long rootMessageId)
|
void |
setStatus(int status)
|
void |
setStatusByUserId(long statusByUserId)
|
void |
setStatusByUserName(String statusByUserName)
|
void |
setStatusByUserUuid(String statusByUserUuid)
|
void |
setStatusDate(Date statusDate)
|
void |
setThreadId(long threadId)
|
void |
setViewCount(int viewCount)
|
MBThread |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MBThreadWrapper(MBThread mbThread)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface MBThreadModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface MBThreadModelpublic long getThreadId()
getThreadId in interface MBThreadModelpublic void setThreadId(long threadId)
setThreadId in interface MBThreadModelpublic long getGroupId()
getGroupId in interface MBThreadModelpublic void setGroupId(long groupId)
setGroupId in interface MBThreadModelpublic long getCategoryId()
getCategoryId in interface MBThreadModelpublic void setCategoryId(long categoryId)
setCategoryId in interface MBThreadModelpublic long getRootMessageId()
getRootMessageId in interface MBThreadModelpublic void setRootMessageId(long rootMessageId)
setRootMessageId in interface MBThreadModelpublic int getMessageCount()
getMessageCount in interface MBThreadModelpublic void setMessageCount(int messageCount)
setMessageCount in interface MBThreadModelpublic int getViewCount()
getViewCount in interface MBThreadModelpublic void setViewCount(int viewCount)
setViewCount in interface MBThreadModelpublic long getLastPostByUserId()
getLastPostByUserId in interface MBThreadModelpublic void setLastPostByUserId(long lastPostByUserId)
setLastPostByUserId in interface MBThreadModel
public String getLastPostByUserUuid()
throws SystemException
getLastPostByUserUuid in interface MBThreadModelSystemExceptionpublic void setLastPostByUserUuid(String lastPostByUserUuid)
setLastPostByUserUuid in interface MBThreadModelpublic Date getLastPostDate()
getLastPostDate in interface MBThreadModelpublic void setLastPostDate(Date lastPostDate)
setLastPostDate in interface MBThreadModelpublic double getPriority()
getPriority in interface MBThreadModelpublic void setPriority(double priority)
setPriority in interface MBThreadModelpublic int getStatus()
getStatus in interface MBThreadModelpublic void setStatus(int status)
setStatus in interface MBThreadModelpublic long getStatusByUserId()
getStatusByUserId in interface MBThreadModelpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface MBThreadModel
public String getStatusByUserUuid()
throws SystemException
getStatusByUserUuid in interface MBThreadModelSystemExceptionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface MBThreadModelpublic String getStatusByUserName()
getStatusByUserName in interface MBThreadModelpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface MBThreadModelpublic Date getStatusDate()
getStatusDate in interface MBThreadModelpublic void setStatusDate(Date statusDate)
setStatusDate in interface MBThreadModelpublic boolean isApproved()
isApproved in interface MBThreadModelpublic boolean isDraft()
isDraft in interface MBThreadModelpublic boolean isExpired()
isExpired in interface MBThreadModelpublic boolean isPending()
isPending in interface MBThreadModelpublic MBThread toEscapedModel()
toEscapedModel in interface MBThreadModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<MBThread>isNew in interface MBThreadModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<MBThread>setNew in interface MBThreadModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<MBThread>isCachedModel in interface MBThreadModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<MBThread>setCachedModel in interface MBThreadModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<MBThread>isEscapedModel in interface MBThreadModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<MBThread>setEscapedModel in interface MBThreadModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBThread>getPrimaryKeyObj in interface MBThreadModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBThread>getExpandoBridge in interface MBThreadModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBThread>setExpandoBridgeAttributes in interface MBThreadModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MBThread>clone in interface MBThreadModelclone in class Objectpublic int compareTo(MBThread mbThread)
compareTo in interface MBThreadModelcompareTo in interface Comparable<MBThread>public int hashCode()
hashCode in interface MBThreadModelhashCode in class Objectpublic String toString()
toString in interface MBThreadModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBThread>toXmlString in interface MBThreadModelpublic String getAttachmentsDir()
getAttachmentsDir in interface MBThreadpublic Lock getLock()
getLock in interface MBThreadpublic boolean hasLock(long userId)
hasLock in interface MBThreadpublic boolean isLocked()
isLocked in interface MBThreadpublic MBThread getWrappedMBThread()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||