|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<MBDiscussion>
com.liferay.portlet.messageboards.model.impl.MBDiscussionModelImpl
public class MBDiscussionModelImpl
The base model implementation for the MBDiscussion service. Represents a row in the "MBDiscussion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface MBDiscussionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in MBDiscussionImpl.
MBDiscussionImpl,
MBDiscussion,
MBDiscussionModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
THREADID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
MBDiscussionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(MBDiscussion mbDiscussion)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this message boards discussion. |
long |
getClassNameId()
Returns the class name ID of this message boards discussion. |
long |
getClassPK()
Returns the class p k of this message boards discussion. |
long |
getColumnBitmask()
|
long |
getDiscussionId()
Returns the discussion ID of this message boards discussion. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalThreadId()
|
long |
getPrimaryKey()
Returns the primary key of this message boards discussion. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getThreadId()
Returns the thread ID of this message boards discussion. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassNameId(long classNameId)
Sets the class name ID of this message boards discussion. |
void |
setClassPK(long classPK)
Sets the class p k of this message boards discussion. |
void |
setDiscussionId(long discussionId)
Sets the discussion ID of this message boards discussion. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this message boards discussion. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setThreadId(long threadId)
Sets the thread ID of this message boards discussion. |
CacheModel<MBDiscussion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
MBDiscussion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.messageboards.model.MBDiscussionModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, 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 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 boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long THREADID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public MBDiscussionModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
MBDiscussionModel
getPrimaryKey in interface MBDiscussionModelpublic void setPrimaryKey(long primaryKey)
MBDiscussionModel
setPrimaryKey in interface MBDiscussionModelprimaryKey - the primary key of this message boards discussionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<MBDiscussion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface MBDiscussionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<MBDiscussion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface MBDiscussionModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getDiscussionId()
MBDiscussionModel
getDiscussionId in interface MBDiscussionModelpublic void setDiscussionId(long discussionId)
MBDiscussionModel
setDiscussionId in interface MBDiscussionModeldiscussionId - the discussion ID of this message boards discussionpublic String getClassName()
MBDiscussionModel
getClassName in interface AttachedModelgetClassName in interface MBDiscussionModelpublic long getClassNameId()
MBDiscussionModel
getClassNameId in interface AttachedModelgetClassNameId in interface MBDiscussionModelpublic void setClassNameId(long classNameId)
MBDiscussionModel
setClassNameId in interface AttachedModelsetClassNameId in interface MBDiscussionModelclassNameId - the class name ID of this message boards discussionpublic long getOriginalClassNameId()
public long getClassPK()
MBDiscussionModel
getClassPK in interface AttachedModelgetClassPK in interface MBDiscussionModelpublic void setClassPK(long classPK)
MBDiscussionModel
setClassPK in interface AttachedModelsetClassPK in interface MBDiscussionModelclassPK - the class p k of this message boards discussionpublic long getOriginalClassPK()
public long getThreadId()
MBDiscussionModel
getThreadId in interface MBDiscussionModelpublic void setThreadId(long threadId)
MBDiscussionModel
setThreadId in interface MBDiscussionModelthreadId - the thread ID of this message boards discussionpublic long getOriginalThreadId()
public long getColumnBitmask()
public MBDiscussion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<MBDiscussion>toEscapedModel in interface MBDiscussionModeltoEscapedModel in class BaseModelImpl<MBDiscussion>AutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<MBDiscussion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface MBDiscussionModelgetExpandoBridge in class BaseModelImpl<MBDiscussion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<MBDiscussion>setExpandoBridgeAttributes in interface MBDiscussionModelsetExpandoBridgeAttributes in class BaseModelImpl<MBDiscussion>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<MBDiscussion>clone in interface MBDiscussionModelclone in class BaseModelImpl<MBDiscussion>public int compareTo(MBDiscussion mbDiscussion)
compareTo in interface MBDiscussionModelcompareTo in interface Comparable<MBDiscussion>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface MBDiscussionModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<MBDiscussion>resetOriginalValues in class BaseModelImpl<MBDiscussion>public CacheModel<MBDiscussion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<MBDiscussion>toCacheModel in interface MBDiscussionModeltoCacheModel in class BaseModelImpl<MBDiscussion>public String toString()
toString in interface MBDiscussionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<MBDiscussion>toXmlString in interface MBDiscussionModel
|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||