Class MicroblogsEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MicroblogsEntry>
com.liferay.microblogs.model.MicroblogsEntryWrapper
All Implemented Interfaces:
MicroblogsEntry, MicroblogsEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<MicroblogsEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<MicroblogsEntry>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<MicroblogsEntry>

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

This class is a wrapper for MicroblogsEntry.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.microblogs.model.MicroblogsEntry

    MICROBLOGS_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
     
    long
    Returns the company ID of this microblogs entry.
    Returns the content of this microblogs entry.
    Returns the create date of this microblogs entry.
    long
    Returns the creator class name ID of this microblogs entry.
    long
    Returns the creator class pk of this microblogs entry.
    long
    Returns the microblogs entry ID of this microblogs entry.
     
    Returns the modified date of this microblogs entry.
    long
    Returns the parent microblogs entry ID of this microblogs entry.
    long
     
    long
    Returns the primary key of this microblogs entry.
    int
    Returns the social relation type of this microblogs entry.
    int
    Returns the type of this microblogs entry.
    long
    Returns the user ID of this microblogs entry.
    Returns the user name of this microblogs entry.
    Returns the user uuid of this microblogs entry.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this microblogs entry.
    void
    setContent(String content)
    Sets the content of this microblogs entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this microblogs entry.
    void
    setCreatorClassNameId(long creatorClassNameId)
    Sets the creator class name ID of this microblogs entry.
    void
    setCreatorClassPK(long creatorClassPK)
    Sets the creator class pk of this microblogs entry.
    void
    setMicroblogsEntryId(long microblogsEntryId)
    Sets the microblogs entry ID of this microblogs entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this microblogs entry.
    void
    setParentMicroblogsEntryId(long parentMicroblogsEntryId)
    Sets the parent microblogs entry ID of this microblogs entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this microblogs entry.
    void
    setSocialRelationType(int socialRelationType)
    Sets the social relation type of this microblogs entry.
    void
    setType(int type)
    Sets the type of this microblogs entry.
    void
    setUserId(long userId)
    Sets the user ID of this microblogs entry.
    void
    setUserName(String userName)
    Sets the user name of this microblogs entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this microblogs entry.
     
    wrap(MicroblogsEntry microblogsEntry)
     

    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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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
  • Constructor Details

    • MicroblogsEntryWrapper

      public MicroblogsEntryWrapper(MicroblogsEntry microblogsEntry)
  • Method Details

    • getModelAttributes

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

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

      public MicroblogsEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<MicroblogsEntry>
      Specified by:
      cloneWithOriginalValues in interface MicroblogsEntryModel
    • fetchParentMicroblogsEntryUserId

      public long fetchParentMicroblogsEntryUserId()
      Specified by:
      fetchParentMicroblogsEntryUserId in interface MicroblogsEntry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this microblogs entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface MicroblogsEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this microblogs entry
    • getContent

      public String getContent()
      Returns the content of this microblogs entry.
      Specified by:
      getContent in interface MicroblogsEntryModel
      Returns:
      the content of this microblogs entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this microblogs entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface MicroblogsEntryModel
      Returns:
      the create date of this microblogs entry
    • getCreatorClassNameId

      public long getCreatorClassNameId()
      Returns the creator class name ID of this microblogs entry.
      Specified by:
      getCreatorClassNameId in interface MicroblogsEntryModel
      Returns:
      the creator class name ID of this microblogs entry
    • getCreatorClassPK

      public long getCreatorClassPK()
      Returns the creator class pk of this microblogs entry.
      Specified by:
      getCreatorClassPK in interface MicroblogsEntryModel
      Returns:
      the creator class pk of this microblogs entry
    • getMicroblogsEntryId

      public long getMicroblogsEntryId()
      Returns the microblogs entry ID of this microblogs entry.
      Specified by:
      getMicroblogsEntryId in interface MicroblogsEntryModel
      Returns:
      the microblogs entry ID of this microblogs entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this microblogs entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface MicroblogsEntryModel
      Returns:
      the modified date of this microblogs entry
    • getParentMicroblogsEntryId

      public long getParentMicroblogsEntryId()
      Returns the parent microblogs entry ID of this microblogs entry.
      Specified by:
      getParentMicroblogsEntryId in interface MicroblogsEntryModel
      Returns:
      the parent microblogs entry ID of this microblogs entry
    • getParentMicroblogsEntryUserId

      public long getParentMicroblogsEntryUserId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getParentMicroblogsEntryUserId in interface MicroblogsEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this microblogs entry.
      Specified by:
      getPrimaryKey in interface MicroblogsEntryModel
      Returns:
      the primary key of this microblogs entry
    • getSocialRelationType

      public int getSocialRelationType()
      Returns the social relation type of this microblogs entry.
      Specified by:
      getSocialRelationType in interface MicroblogsEntryModel
      Returns:
      the social relation type of this microblogs entry
    • getType

      public int getType()
      Returns the type of this microblogs entry.
      Specified by:
      getType in interface MicroblogsEntryModel
      Returns:
      the type of this microblogs entry
    • getUserId

      public long getUserId()
      Returns the user ID of this microblogs entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface MicroblogsEntryModel
      Returns:
      the user ID of this microblogs entry
    • getUserName

      public String getUserName()
      Returns the user name of this microblogs entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface MicroblogsEntryModel
      Returns:
      the user name of this microblogs entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this microblogs entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface MicroblogsEntryModel
      Returns:
      the user uuid of this microblogs entry
    • persist

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

      public void setCompanyId(long companyId)
      Sets the company ID of this microblogs entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface MicroblogsEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this microblogs entry
    • setContent

      public void setContent(String content)
      Sets the content of this microblogs entry.
      Specified by:
      setContent in interface MicroblogsEntryModel
      Parameters:
      content - the content of this microblogs entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this microblogs entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface MicroblogsEntryModel
      Parameters:
      createDate - the create date of this microblogs entry
    • setCreatorClassNameId

      public void setCreatorClassNameId(long creatorClassNameId)
      Sets the creator class name ID of this microblogs entry.
      Specified by:
      setCreatorClassNameId in interface MicroblogsEntryModel
      Parameters:
      creatorClassNameId - the creator class name ID of this microblogs entry
    • setCreatorClassPK

      public void setCreatorClassPK(long creatorClassPK)
      Sets the creator class pk of this microblogs entry.
      Specified by:
      setCreatorClassPK in interface MicroblogsEntryModel
      Parameters:
      creatorClassPK - the creator class pk of this microblogs entry
    • setMicroblogsEntryId

      public void setMicroblogsEntryId(long microblogsEntryId)
      Sets the microblogs entry ID of this microblogs entry.
      Specified by:
      setMicroblogsEntryId in interface MicroblogsEntryModel
      Parameters:
      microblogsEntryId - the microblogs entry ID of this microblogs entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this microblogs entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface MicroblogsEntryModel
      Parameters:
      modifiedDate - the modified date of this microblogs entry
    • setParentMicroblogsEntryId

      public void setParentMicroblogsEntryId(long parentMicroblogsEntryId)
      Sets the parent microblogs entry ID of this microblogs entry.
      Specified by:
      setParentMicroblogsEntryId in interface MicroblogsEntryModel
      Parameters:
      parentMicroblogsEntryId - the parent microblogs entry ID of this microblogs entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this microblogs entry.
      Specified by:
      setPrimaryKey in interface MicroblogsEntryModel
      Parameters:
      primaryKey - the primary key of this microblogs entry
    • setSocialRelationType

      public void setSocialRelationType(int socialRelationType)
      Sets the social relation type of this microblogs entry.
      Specified by:
      setSocialRelationType in interface MicroblogsEntryModel
      Parameters:
      socialRelationType - the social relation type of this microblogs entry
    • setType

      public void setType(int type)
      Sets the type of this microblogs entry.
      Specified by:
      setType in interface MicroblogsEntryModel
      Parameters:
      type - the type of this microblogs entry
    • setUserId

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this microblogs entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface MicroblogsEntryModel
      Parameters:
      userUuid - the user uuid of this microblogs entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface MicroblogsEntryModel
    • wrap

      protected MicroblogsEntryWrapper wrap(MicroblogsEntry microblogsEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<MicroblogsEntry>