|
Liferay 7.0-ce-b4 | |||||||||
| 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
@ProviderType 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 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 Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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. |
Date |
getLastPublishDate()
Returns the last publish date 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()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date 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 Map<String,Integer> TABLE_COLUMNS_MAP
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long THREADID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long DISCUSSIONID_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 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 StagedModelgetUuid in interface MBDiscussionModelpublic void setUuid(String uuid)
MBDiscussionModel
setUuid in interface StagedModelsetUuid in interface MBDiscussionModeluuid - the uuid of this message boards discussionpublic String getOriginalUuid()
public long getDiscussionId()
MBDiscussionModel
getDiscussionId in interface MBDiscussionModelpublic void setDiscussionId(long discussionId)
MBDiscussionModel
setDiscussionId in interface MBDiscussionModeldiscussionId - the discussion ID of this message boards discussionpublic long getGroupId()
MBDiscussionModel
getGroupId in interface GroupedModelgetGroupId in interface MBDiscussionModelpublic void setGroupId(long groupId)
MBDiscussionModel
setGroupId in interface GroupedModelsetGroupId in interface MBDiscussionModelgroupId - the group ID of this message boards discussionpublic long getOriginalGroupId()
public long getCompanyId()
MBDiscussionModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelgetCompanyId in interface MBDiscussionModelpublic void setCompanyId(long companyId)
MBDiscussionModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelsetCompanyId in interface MBDiscussionModelcompanyId - the company ID of this message boards discussionpublic long getOriginalCompanyId()
public long getUserId()
MBDiscussionModel
getUserId in interface AuditedModelgetUserId in interface MBDiscussionModelpublic void setUserId(long userId)
MBDiscussionModel
setUserId in interface AuditedModelsetUserId in interface MBDiscussionModeluserId - the user ID of this message boards discussionpublic String getUserUuid()
MBDiscussionModel
getUserUuid in interface AuditedModelgetUserUuid in interface MBDiscussionModelpublic void setUserUuid(String userUuid)
MBDiscussionModel
setUserUuid in interface AuditedModelsetUserUuid in interface MBDiscussionModeluserUuid - the user uuid of this message boards discussionpublic String getUserName()
MBDiscussionModel
getUserName in interface AuditedModelgetUserName in interface MBDiscussionModelpublic void setUserName(String userName)
MBDiscussionModel
setUserName in interface AuditedModelsetUserName in interface MBDiscussionModeluserName - the user name of this message boards discussionpublic Date getCreateDate()
MBDiscussionModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface MBDiscussionModelpublic void setCreateDate(Date createDate)
MBDiscussionModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface MBDiscussionModelcreateDate - the create date of this message boards discussionpublic Date getModifiedDate()
MBDiscussionModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface MBDiscussionModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
MBDiscussionModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface MBDiscussionModelmodifiedDate - the modified date of this message boards discussionpublic String getClassName()
MBDiscussionModel
getClassName in interface TypedModelgetClassName in interface MBDiscussionModelpublic void setClassName(String className)
setClassName in interface MBDiscussionModelpublic long getClassNameId()
MBDiscussionModel
getClassNameId in interface TypedModelgetClassNameId in interface MBDiscussionModelpublic void setClassNameId(long classNameId)
MBDiscussionModel
setClassNameId in interface TypedModelsetClassNameId 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 Date getLastPublishDate()
MBDiscussionModel
getLastPublishDate in interface StagedGroupedModelgetLastPublishDate in interface MBDiscussionModelpublic void setLastPublishDate(Date lastPublishDate)
MBDiscussionModel
setLastPublishDate in interface StagedGroupedModelsetLastPublishDate in interface MBDiscussionModellastPublishDate - the last publish date of this message boards discussionpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public 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 context to be appliedServiceContext.getExpandoBridgeAttributes()public MBDiscussion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<MBDiscussion>toEscapedModel in interface MBDiscussionModeltoEscapedModel in class BaseModelImpl<MBDiscussion>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<MBDiscussion>clone in interface StagedModelclone 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 boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<MBDiscussion>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<MBDiscussion>true if this model's finder cache is enabled;
false otherwisepublic 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 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||