|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<MBThread>
com.liferay.portlet.messageboards.model.impl.MBThreadModelImpl
public class MBThreadModelImpl
The base model implementation for the MBThread service. Represents a row in the "MBThread" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface MBThreadModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in MBThreadImpl.
Never modify or reference this class directly. All methods that expect a message boards thread model instance should use the MBThread interface instead.
MBThreadImpl,
MBThread,
MBThreadModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
MBThreadModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBThread mbThread)
|
boolean |
equals(Object obj)
|
long |
getCategoryId()
Gets the category id of this message boards thread. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this message boards thread. |
long |
getLastPostByUserId()
Gets the last post by user id of this message boards thread. |
String |
getLastPostByUserUuid()
Gets the last post by user uuid of this message boards thread. |
Date |
getLastPostDate()
Gets the last post date of this message boards thread. |
int |
getMessageCount()
Gets the message count of this message boards thread. |
long |
getPrimaryKey()
Gets the primary key of this message boards thread. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
double |
getPriority()
Gets the priority of this message boards thread. |
long |
getRootMessageId()
Gets the root message id of this message boards thread. |
int |
getStatus()
Gets the status of this message boards thread. |
long |
getStatusByUserId()
Gets the status by user id of this message boards thread. |
String |
getStatusByUserName()
Gets the status by user name of this message boards thread. |
String |
getStatusByUserUuid()
Gets the status by user uuid of this message boards thread. |
Date |
getStatusDate()
Gets the status date of this message boards thread. |
long |
getThreadId()
Gets the thread id of this message boards thread. |
int |
getViewCount()
Gets the view count of this message boards thread. |
int |
hashCode()
|
boolean |
isApproved()
Determines whether this message boards thread is approved. |
boolean |
isDraft()
Determines whether this message boards thread is a draft. |
boolean |
isExpired()
Determines whether this message boards thread is expired. |
boolean |
isPending()
Determines whether this message boards thread is pending. |
void |
setCategoryId(long categoryId)
Sets the category id of this message boards thread. |
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)
Sets the group id of this message boards thread. |
void |
setLastPostByUserId(long lastPostByUserId)
Sets the last post by user id of this message boards thread. |
void |
setLastPostByUserUuid(String lastPostByUserUuid)
Sets the last post by user uuid of this message boards thread. |
void |
setLastPostDate(Date lastPostDate)
Sets the last post date of this message boards thread. |
void |
setMessageCount(int messageCount)
Sets the message count of this message boards thread. |
void |
setPrimaryKey(long pk)
Sets the primary key of this message boards thread |
void |
setPriority(double priority)
Sets the priority of this message boards thread. |
void |
setRootMessageId(long rootMessageId)
Sets the root message id of this message boards thread. |
void |
setStatus(int status)
Sets the status of this message boards thread. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user id of this message boards thread. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this message boards thread. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this message boards thread. |
void |
setStatusDate(Date statusDate)
Sets the status date of this message boards thread. |
void |
setThreadId(long threadId)
Sets the thread id of this message boards thread. |
void |
setViewCount(int viewCount)
Sets the view count of this message boards thread. |
MBThread |
toEscapedModel()
Gets a copy of this message boards thread as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static MBThread |
toModel(MBThreadSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<MBThread> |
toModels(MBThreadSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.messageboards.model.MBThreadModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public MBThreadModelImpl()
| Method Detail |
|---|
public static MBThread toModel(MBThreadSoap soapModel)
soapModel - the soap model instance to convert
public static List<MBThread> toModels(MBThreadSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
MBThreadModel
getPrimaryKey in interface MBThreadModelpublic void setPrimaryKey(long pk)
MBThreadModel
setPrimaryKey in interface MBThreadModelpk - the primary key of this message boards threadpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBThread>getPrimaryKeyObj in interface MBThreadModelpublic long getThreadId()
MBThreadModel
getThreadId in interface MBThreadModelpublic void setThreadId(long threadId)
MBThreadModel
setThreadId in interface MBThreadModelthreadId - the thread id of this message boards threadpublic long getGroupId()
MBThreadModel
getGroupId in interface MBThreadModelpublic void setGroupId(long groupId)
MBThreadModel
setGroupId in interface MBThreadModelgroupId - the group id of this message boards threadpublic long getCategoryId()
MBThreadModel
getCategoryId in interface MBThreadModelpublic void setCategoryId(long categoryId)
MBThreadModel
setCategoryId in interface MBThreadModelcategoryId - the category id of this message boards threadpublic long getRootMessageId()
MBThreadModel
getRootMessageId in interface MBThreadModelpublic void setRootMessageId(long rootMessageId)
MBThreadModel
setRootMessageId in interface MBThreadModelrootMessageId - the root message id of this message boards threadpublic int getMessageCount()
MBThreadModel
getMessageCount in interface MBThreadModelpublic void setMessageCount(int messageCount)
MBThreadModel
setMessageCount in interface MBThreadModelmessageCount - the message count of this message boards threadpublic int getViewCount()
MBThreadModel
getViewCount in interface MBThreadModelpublic void setViewCount(int viewCount)
MBThreadModel
setViewCount in interface MBThreadModelviewCount - the view count of this message boards threadpublic long getLastPostByUserId()
MBThreadModel
getLastPostByUserId in interface MBThreadModelpublic void setLastPostByUserId(long lastPostByUserId)
MBThreadModel
setLastPostByUserId in interface MBThreadModellastPostByUserId - the last post by user id of this message boards thread
public String getLastPostByUserUuid()
throws SystemException
MBThreadModel
getLastPostByUserUuid in interface MBThreadModelSystemException - if a system exception occurredpublic void setLastPostByUserUuid(String lastPostByUserUuid)
MBThreadModel
setLastPostByUserUuid in interface MBThreadModellastPostByUserUuid - the last post by user uuid of this message boards threadpublic Date getLastPostDate()
MBThreadModel
getLastPostDate in interface MBThreadModelpublic void setLastPostDate(Date lastPostDate)
MBThreadModel
setLastPostDate in interface MBThreadModellastPostDate - the last post date of this message boards threadpublic double getPriority()
MBThreadModel
getPriority in interface MBThreadModelpublic void setPriority(double priority)
MBThreadModel
setPriority in interface MBThreadModelpriority - the priority of this message boards threadpublic int getStatus()
MBThreadModel
getStatus in interface MBThreadModelpublic void setStatus(int status)
MBThreadModel
setStatus in interface MBThreadModelstatus - the status of this message boards threadpublic long getStatusByUserId()
MBThreadModel
getStatusByUserId in interface MBThreadModelpublic void setStatusByUserId(long statusByUserId)
MBThreadModel
setStatusByUserId in interface MBThreadModelstatusByUserId - the status by user id of this message boards thread
public String getStatusByUserUuid()
throws SystemException
MBThreadModel
getStatusByUserUuid in interface MBThreadModelSystemException - if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
MBThreadModel
setStatusByUserUuid in interface MBThreadModelstatusByUserUuid - the status by user uuid of this message boards threadpublic String getStatusByUserName()
MBThreadModel
getStatusByUserName in interface MBThreadModelpublic void setStatusByUserName(String statusByUserName)
MBThreadModel
setStatusByUserName in interface MBThreadModelstatusByUserName - the status by user name of this message boards threadpublic Date getStatusDate()
MBThreadModel
getStatusDate in interface MBThreadModelpublic void setStatusDate(Date statusDate)
MBThreadModel
setStatusDate in interface MBThreadModelstatusDate - the status date of this message boards threadpublic boolean isApproved()
MBThreadModel
isApproved in interface MBThreadModelpublic boolean isDraft()
MBThreadModel
isDraft in interface MBThreadModelpublic boolean isExpired()
MBThreadModel
isExpired in interface MBThreadModelpublic boolean isPending()
MBThreadModel
isPending in interface MBThreadModelpublic MBThread toEscapedModel()
MBThreadModelAutoEscapeBeanHandler.
toEscapedModel in interface MBThreadModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBThread>getExpandoBridge in interface MBThreadModelgetExpandoBridge in class BaseModelImpl<MBThread>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBThread>setExpandoBridgeAttributes in interface MBThreadModelsetExpandoBridgeAttributes in class BaseModelImpl<MBThread>serviceContext - 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 BaseModelImpl<MBThread>public int compareTo(MBThread mbThread)
compareTo in interface MBThreadModelcompareTo in interface Comparable<MBThread>public boolean equals(Object obj)
equals in class Objectpublic 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 MBThreadModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||