Class MBDiscussionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBDiscussion>
com.liferay.message.boards.model.MBDiscussionWrapper
All Implemented Interfaces:
MBDiscussion, MBDiscussionModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MBDiscussion>, com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<MBDiscussion>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<MBDiscussion>

public class MBDiscussionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBDiscussion> implements MBDiscussion, com.liferay.portal.kernel.model.ModelWrapper<MBDiscussion>

This class is a wrapper for MBDiscussion.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.message.boards.model.MBDiscussion

    DISCUSSION_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    Returns the fully qualified class name of this message boards discussion.
    long
    Returns the class name ID of this message boards discussion.
    long
    Returns the class pk of this message boards discussion.
    long
    Returns the company ID of this message boards discussion.
    Returns the create date of this message boards discussion.
    long
    Returns the ct collection ID of this message boards discussion.
    long
    Returns the discussion ID of this message boards discussion.
    long
    Returns the group ID of this message boards discussion.
    Returns the last publish date of this message boards discussion.
     
    Returns the modified date of this message boards discussion.
    long
    Returns the mvcc version of this message boards discussion.
    long
    Returns the primary key of this message boards discussion.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    long
    Returns the thread ID of this message boards discussion.
    long
    Returns the user ID of this message boards discussion.
    Returns the user name of this message boards discussion.
    Returns the user uuid of this message boards discussion.
    Returns the uuid of this message boards discussion.
    void
     
    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 pk 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
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this message boards discussion.
    void
    setDiscussionId(long discussionId)
    Sets the discussion ID of this message boards discussion.
    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
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this message boards discussion.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this message boards discussion.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this message boards discussion.
    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
    Sets the uuid of this message boards discussion.
     
    wrap(MBDiscussion mbDiscussion)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone
  • Constructor Details

    • MBDiscussionWrapper

      public MBDiscussionWrapper(MBDiscussion mbDiscussion)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
    • cloneWithOriginalValues

      public MBDiscussion cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
      Specified by:
      cloneWithOriginalValues in interface MBDiscussionModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this message boards discussion.
      Specified by:
      getClassName in interface MBDiscussionModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this message boards discussion
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this message boards discussion.
      Specified by:
      getClassNameId in interface MBDiscussionModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this message boards discussion
    • getClassPK

      public long getClassPK()
      Returns the class pk of this message boards discussion.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface MBDiscussionModel
      Returns:
      the class pk of this message boards discussion
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this message boards discussion.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface MBDiscussionModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this message boards discussion
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this message boards discussion.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface MBDiscussionModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this message boards discussion
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this message boards discussion.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
      Specified by:
      getCtCollectionId in interface MBDiscussionModel
      Returns:
      the ct collection ID of this message boards discussion
    • getDiscussionId

      public long getDiscussionId()
      Returns the discussion ID of this message boards discussion.
      Specified by:
      getDiscussionId in interface MBDiscussionModel
      Returns:
      the discussion ID of this message boards discussion
    • getGroupId

      public long getGroupId()
      Returns the group ID of this message boards discussion.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface MBDiscussionModel
      Returns:
      the group ID of this message boards discussion
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this message boards discussion.
      Specified by:
      getLastPublishDate in interface MBDiscussionModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this message boards discussion
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this message boards discussion.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface MBDiscussionModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this message boards discussion
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this message boards discussion.
      Specified by:
      getMvccVersion in interface MBDiscussionModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this message boards discussion
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this message boards discussion.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
      Specified by:
      getPrimaryKey in interface MBDiscussionModel
      Returns:
      the primary key of this message boards discussion
    • getThreadId

      public long getThreadId()
      Returns the thread ID of this message boards discussion.
      Specified by:
      getThreadId in interface MBDiscussionModel
      Returns:
      the thread ID of this message boards discussion
    • getUserId

      public long getUserId()
      Returns the user ID of this message boards discussion.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface MBDiscussionModel
      Returns:
      the user ID of this message boards discussion
    • getUserName

      public String getUserName()
      Returns the user name of this message boards discussion.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface MBDiscussionModel
      Returns:
      the user name of this message boards discussion
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this message boards discussion.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface MBDiscussionModel
      Returns:
      the user uuid of this message boards discussion
    • getUuid

      public String getUuid()
      Returns the uuid of this message boards discussion.
      Specified by:
      getUuid in interface MBDiscussionModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this message boards discussion
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface MBDiscussionModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this message boards discussion.
      Specified by:
      setClassNameId in interface MBDiscussionModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this message boards discussion
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this message boards discussion.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface MBDiscussionModel
      Parameters:
      classPK - the class pk of this message boards discussion
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this message boards discussion.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface MBDiscussionModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this message boards discussion
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this message boards discussion.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface MBDiscussionModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this message boards discussion
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this message boards discussion.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
      Specified by:
      setCtCollectionId in interface MBDiscussionModel
      Parameters:
      ctCollectionId - the ct collection ID of this message boards discussion
    • setDiscussionId

      public void setDiscussionId(long discussionId)
      Sets the discussion ID of this message boards discussion.
      Specified by:
      setDiscussionId in interface MBDiscussionModel
      Parameters:
      discussionId - the discussion ID of this message boards discussion
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this message boards discussion.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface MBDiscussionModel
      Parameters:
      groupId - the group ID of this message boards discussion
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this message boards discussion.
      Specified by:
      setLastPublishDate in interface MBDiscussionModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this message boards discussion
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this message boards discussion.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface MBDiscussionModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this message boards discussion
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this message boards discussion.
      Specified by:
      setMvccVersion in interface MBDiscussionModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this message boards discussion
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this message boards discussion.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBDiscussion>
      Specified by:
      setPrimaryKey in interface MBDiscussionModel
      Parameters:
      primaryKey - the primary key of this message boards discussion
    • setThreadId

      public void setThreadId(long threadId)
      Sets the thread ID of this message boards discussion.
      Specified by:
      setThreadId in interface MBDiscussionModel
      Parameters:
      threadId - the thread ID of this message boards discussion
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this message boards discussion.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface MBDiscussionModel
      Parameters:
      userId - the user ID of this message boards discussion
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this message boards discussion.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface MBDiscussionModel
      Parameters:
      userName - the user name of this message boards discussion
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this message boards discussion.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface MBDiscussionModel
      Parameters:
      userUuid - the user uuid of this message boards discussion
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this message boards discussion.
      Specified by:
      setUuid in interface MBDiscussionModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this message boards discussion
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface MBDiscussionModel
    • getAttributeGetterFunctions

      public Map<String,Function<MBDiscussion,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<MBDiscussion,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<MBDiscussion>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected MBDiscussionWrapper wrap(MBDiscussion mbDiscussion)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBDiscussion>