|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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. |
Map<String,Object> |
getModelAttributes()
|
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 |
setClassName(String className)
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
MBDiscussion |
toUnescapedModel()
|
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 MBDiscussionModel
public void setPrimaryKey(long primaryKey)
MBDiscussionModel
setPrimaryKey
in interface MBDiscussionModel
primaryKey
- the primary key of this message boards discussionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<MBDiscussion>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface MBDiscussionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<MBDiscussion>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface MBDiscussionModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<MBDiscussion>
getModelAttributes
in class BaseModelImpl<MBDiscussion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<MBDiscussion>
setModelAttributes
in class BaseModelImpl<MBDiscussion>
public long getDiscussionId()
MBDiscussionModel
getDiscussionId
in interface MBDiscussionModel
public void setDiscussionId(long discussionId)
MBDiscussionModel
setDiscussionId
in interface MBDiscussionModel
discussionId
- the discussion ID of this message boards discussionpublic String getClassName()
MBDiscussionModel
getClassName
in interface AttachedModel
getClassName
in interface MBDiscussionModel
public void setClassName(String className)
setClassName
in interface MBDiscussionModel
public long getClassNameId()
MBDiscussionModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface MBDiscussionModel
public void setClassNameId(long classNameId)
MBDiscussionModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface MBDiscussionModel
classNameId
- the class name ID of this message boards discussionpublic long getOriginalClassNameId()
public long getClassPK()
MBDiscussionModel
getClassPK
in interface AttachedModel
getClassPK
in interface MBDiscussionModel
public void setClassPK(long classPK)
MBDiscussionModel
setClassPK
in interface AttachedModel
setClassPK
in interface MBDiscussionModel
classPK
- the class p k of this message boards discussionpublic long getOriginalClassPK()
public long getThreadId()
MBDiscussionModel
getThreadId
in interface MBDiscussionModel
public void setThreadId(long threadId)
MBDiscussionModel
setThreadId
in interface MBDiscussionModel
threadId
- the thread ID of this message boards discussionpublic long getOriginalThreadId()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<MBDiscussion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface MBDiscussionModel
getExpandoBridge
in class BaseModelImpl<MBDiscussion>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<MBDiscussion>
setExpandoBridgeAttributes
in interface MBDiscussionModel
setExpandoBridgeAttributes
in class BaseModelImpl<MBDiscussion>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public MBDiscussion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MBDiscussion>
toEscapedModel
in interface MBDiscussionModel
toEscapedModel
in class BaseModelImpl<MBDiscussion>
AutoEscapeBeanHandler
public MBDiscussion toUnescapedModel()
toUnescapedModel
in interface BaseModel<MBDiscussion>
toUnescapedModel
in interface MBDiscussionModel
toUnescapedModel
in class BaseModelImpl<MBDiscussion>
public Object clone()
BaseModel
clone
in interface BaseModel<MBDiscussion>
clone
in interface MBDiscussionModel
clone
in class BaseModelImpl<MBDiscussion>
public int compareTo(MBDiscussion mbDiscussion)
compareTo
in interface MBDiscussionModel
compareTo
in interface Comparable<MBDiscussion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface MBDiscussionModel
hashCode
in class Object
public 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 MBDiscussionModel
toCacheModel
in class BaseModelImpl<MBDiscussion>
public String toString()
toString
in interface MBDiscussionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<MBDiscussion>
toXmlString
in interface MBDiscussionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |