@ProviderType
public class MBDiscussionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
implements com.liferay.message.boards.kernel.model.MBDiscussionModel
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 FormModifier and Type | Field and Description |
---|---|
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 and Description |
---|
MBDiscussionModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.message.boards.kernel.model.MBDiscussion mbDiscussion) |
boolean |
equals(Object obj) |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
Date |
getCreateDate() |
long |
getDiscussionId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
Date |
getLastPublishDate() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
long |
getOriginalThreadId() |
String |
getOriginalUuid() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getThreadId() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(Date createDate) |
void |
setDiscussionId(long discussionId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setLastPublishDate(Date lastPublishDate) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setThreadId(long threadId) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
void |
setUserUuid(String userUuid) |
void |
setUuid(String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.message.boards.kernel.model.MBDiscussion> |
toCacheModel() |
com.liferay.message.boards.kernel.model.MBDiscussion |
toEscapedModel() |
String |
toString() |
String |
toXmlString() |
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
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public String getUuid()
getUuid
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(String uuid)
setUuid
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
public String getOriginalUuid()
public long getDiscussionId()
getDiscussionId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public void setDiscussionId(long discussionId)
setDiscussionId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public long getGroupId()
getGroupId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
setGroupId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getOriginalGroupId()
public long getCompanyId()
getCompanyId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public long getOriginalCompanyId()
public long getUserId()
getUserId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
setUserId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public String getUserUuid()
getUserUuid
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(String userUuid)
setUserUuid
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public String getUserName()
getUserName
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(String userName)
setUserName
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public Date getCreateDate()
getCreateDate
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public Date getModifiedDate()
getModifiedDate
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public String getClassName()
getClassName
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(String className)
setClassName
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public long getClassNameId()
getClassNameId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getOriginalClassNameId()
public long getClassPK()
getClassPK
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getOriginalClassPK()
public long getThreadId()
getThreadId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public void setThreadId(long threadId)
setThreadId
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
public long getOriginalThreadId()
public Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public com.liferay.message.boards.kernel.model.MBDiscussion toEscapedModel()
toEscapedModel
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public Object clone()
clone
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public int compareTo(com.liferay.message.boards.kernel.model.MBDiscussion mbDiscussion)
compareTo
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
compareTo
in interface Comparable<com.liferay.message.boards.kernel.model.MBDiscussion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.message.boards.kernel.model.MBDiscussion> toCacheModel()
toCacheModel
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.message.boards.kernel.model.MBDiscussion>
public String toString()
toString
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.message.boards.kernel.model.MBDiscussionModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.message.boards.kernel.model.MBDiscussion>