@ProviderType public class MBDiscussionWrapper extends java.lang.Object implements MBDiscussion, com.liferay.portal.kernel.model.ModelWrapper<MBDiscussion>
This class is a wrapper for MBDiscussion
.
MBDiscussion
,
Serialized FormDISCUSSION_ID_ACCESSOR
Constructor and Description |
---|
MBDiscussionWrapper(MBDiscussion mbDiscussion) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(MBDiscussion mbDiscussion) |
boolean |
equals(java.lang.Object obj) |
java.lang.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 pk of this message boards discussion.
|
long |
getCompanyId()
Returns the company ID of this message boards discussion.
|
java.util.Date |
getCreateDate()
Returns the create date of this message boards discussion.
|
long |
getDiscussionId()
Returns the discussion ID of this message boards discussion.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this message boards discussion.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this message boards discussion.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this message boards discussion.
|
long |
getPrimaryKey()
Returns the primary key of this message boards discussion.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getThreadId()
Returns the thread ID of this message boards discussion.
|
long |
getUserId()
Returns the user ID of this message boards discussion.
|
java.lang.String |
getUserName()
Returns the user name of this message boards discussion.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this message boards discussion.
|
java.lang.String |
getUuid()
Returns the uuid of this message boards discussion.
|
MBDiscussion |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this message boards discussion.
|
void |
setClassPK(long classPK)
Sets the class pk of this message boards discussion.
|
void |
setCompanyId(long companyId)
Sets the company ID of this message boards discussion.
|
void |
setCreateDate(java.util.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(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this message boards discussion.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this message boards discussion.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this message boards discussion.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this message boards discussion.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
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(java.lang.String userName)
Sets the user name of this message boards discussion.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this message boards discussion.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this message boards discussion.
|
com.liferay.portal.kernel.model.CacheModel<MBDiscussion> |
toCacheModel() |
MBDiscussion |
toEscapedModel() |
java.lang.String |
toString() |
MBDiscussion |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public MBDiscussionWrapper(MBDiscussion mbDiscussion)
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public java.lang.Object clone()
clone
in interface MBDiscussionModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class java.lang.Object
public int compareTo(MBDiscussion mbDiscussion)
compareTo
in interface MBDiscussionModel
compareTo
in interface java.lang.Comparable<MBDiscussion>
public java.lang.String getClassName()
getClassName
in interface MBDiscussionModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassNameId()
getClassNameId
in interface MBDiscussionModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface MBDiscussionModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public long getCompanyId()
getCompanyId
in interface 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 java.util.Date getCreateDate()
getCreateDate
in interface MBDiscussionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getDiscussionId()
getDiscussionId
in interface MBDiscussionModel
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface MBDiscussionModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
public long getGroupId()
getGroupId
in interface MBDiscussionModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface MBDiscussionModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface MBDiscussionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getPrimaryKey()
getPrimaryKey
in interface MBDiscussionModel
public java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface MBDiscussionModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public long getThreadId()
getThreadId
in interface MBDiscussionModel
public long getUserId()
getUserId
in interface MBDiscussionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface MBDiscussionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface MBDiscussionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface MBDiscussionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public int hashCode()
hashCode
in interface MBDiscussionModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface MBDiscussionModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public boolean isEscapedModel()
isEscapedModel
in interface MBDiscussionModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public boolean isNew()
isNew
in interface MBDiscussionModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCachedModel(boolean cachedModel)
setCachedModel
in interface MBDiscussionModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void setClassName(java.lang.String className)
setClassName
in interface MBDiscussionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface MBDiscussionModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this message boards discussionpublic void setClassPK(long classPK)
setClassPK
in interface MBDiscussionModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this message boards discussionpublic void setCompanyId(long companyId)
setCompanyId
in interface 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
companyId
- the company ID of this message boards discussionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface MBDiscussionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this message boards discussionpublic void setDiscussionId(long discussionId)
setDiscussionId
in interface MBDiscussionModel
discussionId
- the discussion ID of this message boards discussionpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface MBDiscussionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface MBDiscussionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface MBDiscussionModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void setGroupId(long groupId)
setGroupId
in interface MBDiscussionModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this message boards discussionpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface MBDiscussionModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this message boards discussionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface MBDiscussionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this message boards discussionpublic void setNew(boolean n)
setNew
in interface MBDiscussionModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface MBDiscussionModel
primaryKey
- the primary key of this message boards discussionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface MBDiscussionModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setThreadId(long threadId)
setThreadId
in interface MBDiscussionModel
threadId
- the thread ID of this message boards discussionpublic void setUserId(long userId)
setUserId
in interface MBDiscussionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this message boards discussionpublic void setUserName(java.lang.String userName)
setUserName
in interface MBDiscussionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this message boards discussionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface MBDiscussionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this message boards discussionpublic void setUuid(java.lang.String uuid)
setUuid
in interface MBDiscussionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this message boards discussionpublic com.liferay.portal.kernel.model.CacheModel<MBDiscussion> toCacheModel()
toCacheModel
in interface MBDiscussionModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public MBDiscussion toEscapedModel()
toEscapedModel
in interface MBDiscussionModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public java.lang.String toString()
toString
in interface MBDiscussionModel
toString
in class java.lang.Object
public MBDiscussion toUnescapedModel()
toUnescapedModel
in interface MBDiscussionModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public java.lang.String toXmlString()
toXmlString
in interface MBDiscussionModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public MBDiscussion getWrappedModel()
getWrappedModel
in interface com.liferay.portal.kernel.model.ModelWrapper<MBDiscussion>
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>