|
Liferay 6.2-ce-ga5 | |||||||||
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 long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static long |
DISCUSSIONID_COLUMN_BITMASK
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
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 long |
THREADID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
UUID_COLUMN_BITMASK
|
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 |
getCompanyId()
Returns the company ID of this message boards discussion. |
Date |
getCreateDate()
Returns the create date of this message boards discussion. |
long |
getDiscussionId()
Returns the discussion ID of this message boards discussion. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this message boards discussion. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this message boards discussion. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
long |
getOriginalThreadId()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this message boards discussion. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
StagedModelType |
getStagedModelType()
|
long |
getThreadId()
Returns the thread ID of this message boards discussion. |
long |
getUserId()
Returns the user ID of this message boards discussion. |
String |
getUserName()
Returns the user name of this message boards discussion. |
String |
getUserUuid()
Returns the user uuid of this message boards discussion. |
String |
getUuid()
Returns the uuid 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 |
setCompanyId(long companyId)
Sets the company ID of this message boards discussion. |
void |
setCreateDate(Date createDate)
Sets the create date 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 |
setGroupId(long groupId)
Sets the group ID of this message boards discussion. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this message boards discussion. |
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. |
void |
setUserId(long userId)
Sets the user ID of this message boards discussion. |
void |
setUserName(String userName)
Sets the user name of this message boards discussion. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this message boards discussion. |
void |
setUuid(String uuid)
Sets the uuid 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
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 boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long THREADID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static long DISCUSSIONID_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 String getUuid()
MBDiscussionModel
getUuid
in interface StagedModel
getUuid
in interface MBDiscussionModel
public void setUuid(String uuid)
MBDiscussionModel
setUuid
in interface StagedModel
setUuid
in interface MBDiscussionModel
uuid
- the uuid of this message boards discussionpublic String getOriginalUuid()
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 long getGroupId()
MBDiscussionModel
getGroupId
in interface GroupedModel
getGroupId
in interface MBDiscussionModel
public void setGroupId(long groupId)
MBDiscussionModel
setGroupId
in interface GroupedModel
setGroupId
in interface MBDiscussionModel
groupId
- the group ID of this message boards discussionpublic long getOriginalGroupId()
public long getCompanyId()
MBDiscussionModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface MBDiscussionModel
public void setCompanyId(long companyId)
MBDiscussionModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface MBDiscussionModel
companyId
- the company ID of this message boards discussionpublic long getOriginalCompanyId()
public long getUserId()
MBDiscussionModel
getUserId
in interface AuditedModel
getUserId
in interface MBDiscussionModel
public void setUserId(long userId)
MBDiscussionModel
setUserId
in interface AuditedModel
setUserId
in interface MBDiscussionModel
userId
- the user ID of this message boards discussionpublic String getUserUuid() throws SystemException
MBDiscussionModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface MBDiscussionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
MBDiscussionModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface MBDiscussionModel
userUuid
- the user uuid of this message boards discussionpublic String getUserName()
MBDiscussionModel
getUserName
in interface AuditedModel
getUserName
in interface MBDiscussionModel
public void setUserName(String userName)
MBDiscussionModel
setUserName
in interface AuditedModel
setUserName
in interface MBDiscussionModel
userName
- the user name of this message boards discussionpublic Date getCreateDate()
MBDiscussionModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface MBDiscussionModel
public void setCreateDate(Date createDate)
MBDiscussionModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface MBDiscussionModel
createDate
- the create date of this message boards discussionpublic Date getModifiedDate()
MBDiscussionModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface MBDiscussionModel
public void setModifiedDate(Date modifiedDate)
MBDiscussionModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface MBDiscussionModel
modifiedDate
- the modified date of this message boards discussionpublic String getClassName()
MBDiscussionModel
getClassName
in interface TypedModel
getClassName
in interface MBDiscussionModel
public void setClassName(String className)
setClassName
in interface MBDiscussionModel
public long getClassNameId()
MBDiscussionModel
getClassNameId
in interface TypedModel
getClassNameId
in interface MBDiscussionModel
public void setClassNameId(long classNameId)
MBDiscussionModel
setClassNameId
in interface TypedModel
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 StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
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 context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public MBDiscussion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<MBDiscussion>
toEscapedModel
in interface MBDiscussionModel
toEscapedModel
in class BaseModelImpl<MBDiscussion>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<MBDiscussion>
clone
in interface StagedModel
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.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |