Class MBThreadWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBThread>
com.liferay.message.boards.model.MBThreadWrapper
All Implemented Interfaces:
MBThread, MBThreadModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MBThread>, com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ContainerModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<MBThread>, 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.TrashedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<MBThread>

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

This class is a wrapper for MBThread.

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.MBThread

    THREAD_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.portal.kernel.repository.model.Folder
     
     
    long
     
     
     
     
    long
    Returns the category ID of this message boards thread.
    long
    Returns the company ID of this message boards thread.
    long
    Returns the container model ID of this message boards thread.
    Returns the container name of this message boards thread.
    Returns the create date of this message boards thread.
    long
    Returns the ct collection ID of this message boards thread.
    long
    Returns the group ID of this message boards thread.
    long
    Returns the last post by user ID of this message boards thread.
    Returns the last post by user uuid of this message boards thread.
    Returns the last post date of this message boards thread.
    Returns the last publish date of this message boards thread.
    com.liferay.portal.kernel.lock.Lock
     
    int
     
     
    Returns the modified date of this message boards thread.
    long
    Returns the mvcc version of this message boards thread.
    long
    Returns the parent container model ID of this message boards thread.
    long[]
     
    long
    Returns the primary key of this message boards thread.
    double
    Returns the priority of this message boards thread.
    boolean
    Returns the question of this message boards thread.
    long
    Returns the root message ID of this message boards thread.
    long
    Returns the root message user ID of this message boards thread.
    Returns the root message user uuid of this message boards thread.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    int
    Returns the status of this message boards thread.
    long
    Returns the status by user ID of this message boards thread.
    Returns the status by user name of this message boards thread.
    Returns the status by user uuid of this message boards thread.
    Returns the status date of this message boards thread.
    long
    Returns the thread ID of this message boards thread.
    Returns the title of this message boards thread.
    long
    Returns the class primary key of the trash entry for this message boards thread.
    long
    Returns the user ID of this message boards thread.
    Returns the user name of this message boards thread.
    Returns the user uuid of this message boards thread.
    Returns the uuid of this message boards thread.
    long
     
    boolean
    hasLock(long userId)
     
    boolean
    Returns true if this message boards thread is approved.
    boolean
    Returns true if this message boards thread is denied.
    boolean
    Returns true if this message boards thread is a draft.
    boolean
    Returns true if this message boards thread is expired.
    boolean
    Returns true if this message boards thread is inactive.
    boolean
    Returns true if this message boards thread is incomplete.
    boolean
    Returns true if this message boards thread is in the Recycle Bin.
    boolean
     
    boolean
    Returns true if this message boards thread is pending.
    boolean
    Returns true if this message boards thread is question.
    boolean
    Returns true if this message boards thread is scheduled.
    void
     
    void
    setCategoryId(long categoryId)
    Sets the category ID of this message boards thread.
    void
    setCompanyId(long companyId)
    Sets the company ID of this message boards thread.
    void
    setContainerModelId(long containerModelId)
    Sets the container model ID of this message boards thread.
    void
    setCreateDate(Date createDate)
    Sets the create date of this message boards thread.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this message boards thread.
    void
    setGroupId(long groupId)
    Sets the group ID of this message boards thread.
    void
    setLastPostByUserId(long lastPostByUserId)
    Sets the last post by user ID of this message boards thread.
    void
    setLastPostByUserUuid(String lastPostByUserUuid)
    Sets the last post by user uuid of this message boards thread.
    void
    setLastPostDate(Date lastPostDate)
    Sets the last post date of this message boards thread.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this message boards thread.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this message boards thread.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this message boards thread.
    void
    setParentContainerModelId(long parentContainerModelId)
    Sets the parent container model ID of this message boards thread.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this message boards thread.
    void
    setPriority(double priority)
    Sets the priority of this message boards thread.
    void
    setQuestion(boolean question)
    Sets whether this message boards thread is question.
    void
    setRootMessageId(long rootMessageId)
    Sets the root message ID of this message boards thread.
    void
    setRootMessageUserId(long rootMessageUserId)
    Sets the root message user ID of this message boards thread.
    void
    setRootMessageUserUuid(String rootMessageUserUuid)
    Sets the root message user uuid of this message boards thread.
    void
    setStatus(int status)
    Sets the status of this message boards thread.
    void
    setStatusByUserId(long statusByUserId)
    Sets the status by user ID of this message boards thread.
    void
    setStatusByUserName(String statusByUserName)
    Sets the status by user name of this message boards thread.
    void
    setStatusByUserUuid(String statusByUserUuid)
    Sets the status by user uuid of this message boards thread.
    void
    setStatusDate(Date statusDate)
    Sets the status date of this message boards thread.
    void
    setThreadId(long threadId)
    Sets the thread ID of this message boards thread.
    void
    Sets the title of this message boards thread.
    void
    setUserId(long userId)
    Sets the user ID of this message boards thread.
    void
    setUserName(String userName)
    Sets the user name of this message boards thread.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this message boards thread.
    void
    Sets the uuid of this message boards thread.
     
    protected MBThreadWrapper
    wrap(MBThread mbThread)
     

    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.ContainerModel

    getModelClass, getModelClassName

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

    getWrappedModel

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

    clone
  • Constructor Details

    • MBThreadWrapper

      public MBThreadWrapper(MBThread mbThread)
  • Method Details

    • getModelAttributes

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

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

      public com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      addAttachmentsFolder in interface MBThread
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • cloneWithOriginalValues

      public MBThread cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MBThread>
      Specified by:
      cloneWithOriginalValues in interface MBThreadModel
    • getAttachmentsFolderId

      public long getAttachmentsFolderId()
      Specified by:
      getAttachmentsFolderId in interface MBThread
    • getCategory

      public MBCategory getCategory() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCategory in interface MBThread
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoryId

      public long getCategoryId()
      Returns the category ID of this message boards thread.
      Specified by:
      getCategoryId in interface MBThreadModel
      Returns:
      the category ID of this message boards thread
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this message boards thread.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface MBThreadModel
      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 thread
    • getContainerModelId

      public long getContainerModelId()
      Returns the container model ID of this message boards thread.
      Specified by:
      getContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getContainerModelId in interface MBThreadModel
      Returns:
      the container model ID of this message boards thread
    • getContainerModelName

      public String getContainerModelName()
      Returns the container name of this message boards thread.
      Specified by:
      getContainerModelName in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getContainerModelName in interface MBThreadModel
      Returns:
      the container name of this message boards thread
    • getCreateDate

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

      public long getCtCollectionId()
      Returns the ct collection ID of this message boards thread.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>
      Specified by:
      getCtCollectionId in interface MBThreadModel
      Returns:
      the ct collection ID of this message boards thread
    • getGroupId

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

      public long getLastPostByUserId()
      Returns the last post by user ID of this message boards thread.
      Specified by:
      getLastPostByUserId in interface MBThreadModel
      Returns:
      the last post by user ID of this message boards thread
    • getLastPostByUserUuid

      public String getLastPostByUserUuid()
      Returns the last post by user uuid of this message boards thread.
      Specified by:
      getLastPostByUserUuid in interface MBThreadModel
      Returns:
      the last post by user uuid of this message boards thread
    • getLastPostDate

      public Date getLastPostDate()
      Returns the last post date of this message boards thread.
      Specified by:
      getLastPostDate in interface MBThreadModel
      Returns:
      the last post date of this message boards thread
    • getLastPublishDate

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

      public com.liferay.portal.kernel.lock.Lock getLock()
      Specified by:
      getLock in interface MBThread
    • getMessageCount

      public int getMessageCount()
      Specified by:
      getMessageCount in interface MBThread
    • getModifiedDate

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

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

      public long getParentContainerModelId()
      Returns the parent container model ID of this message boards thread.
      Specified by:
      getParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      getParentContainerModelId in interface MBThreadModel
      Returns:
      the parent container model ID of this message boards thread
    • getParticipantUserIds

      public long[] getParticipantUserIds()
      Specified by:
      getParticipantUserIds in interface MBThread
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this message boards thread.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<MBThread>
      Specified by:
      getPrimaryKey in interface MBThreadModel
      Returns:
      the primary key of this message boards thread
    • getPriority

      public double getPriority()
      Returns the priority of this message boards thread.
      Specified by:
      getPriority in interface MBThreadModel
      Returns:
      the priority of this message boards thread
    • getQuestion

      public boolean getQuestion()
      Returns the question of this message boards thread.
      Specified by:
      getQuestion in interface MBThreadModel
      Returns:
      the question of this message boards thread
    • getRootMessageId

      public long getRootMessageId()
      Returns the root message ID of this message boards thread.
      Specified by:
      getRootMessageId in interface MBThreadModel
      Returns:
      the root message ID of this message boards thread
    • getRootMessageUserId

      public long getRootMessageUserId()
      Returns the root message user ID of this message boards thread.
      Specified by:
      getRootMessageUserId in interface MBThreadModel
      Returns:
      the root message user ID of this message boards thread
    • getRootMessageUserUuid

      public String getRootMessageUserUuid()
      Returns the root message user uuid of this message boards thread.
      Specified by:
      getRootMessageUserUuid in interface MBThreadModel
      Returns:
      the root message user uuid of this message boards thread
    • getStatus

      public int getStatus()
      Returns the status of this message boards thread.
      Specified by:
      getStatus in interface MBThreadModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.TrashedModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this message boards thread
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this message boards thread.
      Specified by:
      getStatusByUserId in interface MBThreadModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this message boards thread
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this message boards thread.
      Specified by:
      getStatusByUserName in interface MBThreadModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this message boards thread
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this message boards thread.
      Specified by:
      getStatusByUserUuid in interface MBThreadModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this message boards thread
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this message boards thread.
      Specified by:
      getStatusDate in interface MBThreadModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this message boards thread
    • getThreadId

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

      public String getTitle()
      Returns the title of this message boards thread.
      Specified by:
      getTitle in interface MBThreadModel
      Returns:
      the title of this message boards thread
    • getTrashEntryClassPK

      public long getTrashEntryClassPK()
      Returns the class primary key of the trash entry for this message boards thread.
      Specified by:
      getTrashEntryClassPK in interface MBThreadModel
      Specified by:
      getTrashEntryClassPK in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      the class primary key of the trash entry for this message boards thread
    • getUserId

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

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

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

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

      public long getViewCount()
      Specified by:
      getViewCount in interface MBThread
    • hasLock

      public boolean hasLock(long userId)
      Specified by:
      hasLock in interface MBThread
    • isApproved

      public boolean isApproved()
      Returns true if this message boards thread is approved.
      Specified by:
      isApproved in interface MBThreadModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this message boards thread is denied.
      Specified by:
      isDenied in interface MBThreadModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this message boards thread is a draft.
      Specified by:
      isDraft in interface MBThreadModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this message boards thread is expired.
      Specified by:
      isExpired in interface MBThreadModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this message boards thread is inactive.
      Specified by:
      isInactive in interface MBThreadModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this message boards thread is incomplete.
      Specified by:
      isIncomplete in interface MBThreadModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is incomplete; false otherwise
    • isInTrash

      public boolean isInTrash()
      Returns true if this message boards thread is in the Recycle Bin.
      Specified by:
      isInTrash in interface MBThreadModel
      Specified by:
      isInTrash in interface com.liferay.portal.kernel.model.TrashedModel
      Returns:
      true if this message boards thread is in the Recycle Bin; false otherwise
    • isLocked

      public boolean isLocked()
      Specified by:
      isLocked in interface MBThread
    • isPending

      public boolean isPending()
      Returns true if this message boards thread is pending.
      Specified by:
      isPending in interface MBThreadModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is pending; false otherwise
    • isQuestion

      public boolean isQuestion()
      Returns true if this message boards thread is question.
      Specified by:
      isQuestion in interface MBThreadModel
      Returns:
      true if this message boards thread is question; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this message boards thread is scheduled.
      Specified by:
      isScheduled in interface MBThreadModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this message boards thread is scheduled; false otherwise
    • persist

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

      public void setCategoryId(long categoryId)
      Sets the category ID of this message boards thread.
      Specified by:
      setCategoryId in interface MBThreadModel
      Parameters:
      categoryId - the category ID of this message boards thread
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this message boards thread.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface MBThreadModel
      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 thread
    • setContainerModelId

      public void setContainerModelId(long containerModelId)
      Sets the container model ID of this message boards thread.
      Specified by:
      setContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      setContainerModelId in interface MBThreadModel
      Parameters:
      containerModelId - the container model ID of this message boards thread
    • setCreateDate

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

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

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

      public void setLastPostByUserId(long lastPostByUserId)
      Sets the last post by user ID of this message boards thread.
      Specified by:
      setLastPostByUserId in interface MBThreadModel
      Parameters:
      lastPostByUserId - the last post by user ID of this message boards thread
    • setLastPostByUserUuid

      public void setLastPostByUserUuid(String lastPostByUserUuid)
      Sets the last post by user uuid of this message boards thread.
      Specified by:
      setLastPostByUserUuid in interface MBThreadModel
      Parameters:
      lastPostByUserUuid - the last post by user uuid of this message boards thread
    • setLastPostDate

      public void setLastPostDate(Date lastPostDate)
      Sets the last post date of this message boards thread.
      Specified by:
      setLastPostDate in interface MBThreadModel
      Parameters:
      lastPostDate - the last post date of this message boards thread
    • setLastPublishDate

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

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

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

      public void setParentContainerModelId(long parentContainerModelId)
      Sets the parent container model ID of this message boards thread.
      Specified by:
      setParentContainerModelId in interface com.liferay.portal.kernel.model.ContainerModel
      Specified by:
      setParentContainerModelId in interface MBThreadModel
      Parameters:
      parentContainerModelId - the parent container model ID of this message boards thread
    • setPrimaryKey

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

      public void setPriority(double priority)
      Sets the priority of this message boards thread.
      Specified by:
      setPriority in interface MBThreadModel
      Parameters:
      priority - the priority of this message boards thread
    • setQuestion

      public void setQuestion(boolean question)
      Sets whether this message boards thread is question.
      Specified by:
      setQuestion in interface MBThreadModel
      Parameters:
      question - the question of this message boards thread
    • setRootMessageId

      public void setRootMessageId(long rootMessageId)
      Sets the root message ID of this message boards thread.
      Specified by:
      setRootMessageId in interface MBThreadModel
      Parameters:
      rootMessageId - the root message ID of this message boards thread
    • setRootMessageUserId

      public void setRootMessageUserId(long rootMessageUserId)
      Sets the root message user ID of this message boards thread.
      Specified by:
      setRootMessageUserId in interface MBThreadModel
      Parameters:
      rootMessageUserId - the root message user ID of this message boards thread
    • setRootMessageUserUuid

      public void setRootMessageUserUuid(String rootMessageUserUuid)
      Sets the root message user uuid of this message boards thread.
      Specified by:
      setRootMessageUserUuid in interface MBThreadModel
      Parameters:
      rootMessageUserUuid - the root message user uuid of this message boards thread
    • setStatus

      public void setStatus(int status)
      Sets the status of this message boards thread.
      Specified by:
      setStatus in interface MBThreadModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this message boards thread
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this message boards thread.
      Specified by:
      setStatusByUserId in interface MBThreadModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this message boards thread
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this message boards thread.
      Specified by:
      setStatusByUserName in interface MBThreadModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this message boards thread
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this message boards thread.
      Specified by:
      setStatusByUserUuid in interface MBThreadModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this message boards thread
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this message boards thread.
      Specified by:
      setStatusDate in interface MBThreadModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this message boards thread
    • setThreadId

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

      public void setTitle(String title)
      Sets the title of this message boards thread.
      Specified by:
      setTitle in interface MBThreadModel
      Parameters:
      title - the title of this message boards thread
    • setUserId

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

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

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

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

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

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

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

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

      protected MBThreadWrapper wrap(MBThread mbThread)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MBThread>