|
Liferay 6.0.3 | |||||||||
| 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
This interface is a model that represents the MBThread table in the database.
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()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
|
long |
getLastPostByUserId()
|
String |
getLastPostByUserUuid()
|
Date |
getLastPostDate()
|
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()
|
int |
hashCode()
|
boolean |
isApproved()
|
boolean |
isDraft()
|
boolean |
isExpired()
|
boolean |
isPending()
|
void |
setCategoryId(long categoryId)
|
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 |
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()
|
static MBThread |
toModel(MBThreadSoap soapModel)
|
static List<MBThread> |
toModels(MBThreadSoap[] soapModels)
|
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)
public static List<MBThread> toModels(MBThreadSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface MBThreadModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface MBThreadModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBThread>getPrimaryKeyObj 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 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||