Class ViewCountEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ViewCountEntry>
com.liferay.view.count.model.ViewCountEntryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<ViewCountEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<ViewCountEntry>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, ViewCountEntry, ViewCountEntryModel, Serializable, Cloneable, Comparable<ViewCountEntry>

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

This class is a wrapper for ViewCountEntry.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.view.count.model.ViewCountEntry

    CLASS_NAME_ID_ACCESSOR, CLASS_PK_ACCESSOR, COMPANY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this view count entry.
    long
    Returns the class name ID of this view count entry.
    long
    Returns the class pk of this view count entry.
    long
    Returns the company ID of this view count entry.
     
    Returns the primary key of this view count entry.
    long
    Returns the view count of this view count entry.
    void
     
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this view count entry.
    void
    setClassPK(long classPK)
    Sets the class pk of this view count entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this view count entry.
    void
     
    void
    Sets the primary key of this view count entry.
    void
    setViewCount(long viewCount)
    Sets the view count of this view count entry.
     
    wrap(ViewCountEntry viewCountEntry)
     

    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

    • ViewCountEntryWrapper

      public ViewCountEntryWrapper(ViewCountEntry viewCountEntry)
  • Method Details

    • getModelAttributes

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

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

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

      public String getClassName()
      Returns the fully qualified class name of this view count entry.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Specified by:
      getClassName in interface ViewCountEntryModel
      Returns:
      the fully qualified class name of this view count entry
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this view count entry.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Specified by:
      getClassNameId in interface ViewCountEntryModel
      Returns:
      the class name ID of this view count entry
    • getClassPK

      public long getClassPK()
      Returns the class pk of this view count entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface ViewCountEntryModel
      Returns:
      the class pk of this view count entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this view count entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface ViewCountEntryModel
      Returns:
      the company ID of this view count entry
    • getPrimaryKey

      public ViewCountEntryPK getPrimaryKey()
      Returns the primary key of this view count entry.
      Specified by:
      getPrimaryKey in interface ViewCountEntryModel
      Returns:
      the primary key of this view count entry
    • getViewCount

      public long getViewCount()
      Returns the view count of this view count entry.
      Specified by:
      getViewCount in interface ViewCountEntryModel
      Returns:
      the view count of this view count entry
    • 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 ViewCountEntryModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this view count entry.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Specified by:
      setClassNameId in interface ViewCountEntryModel
      Parameters:
      classNameId - the class name ID of this view count entry
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this view count entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface ViewCountEntryModel
      Parameters:
      classPK - the class pk of this view count entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this view count entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface ViewCountEntryModel
      Parameters:
      companyId - the company ID of this view count entry
    • setPrimaryKey

      public void setPrimaryKey(ViewCountEntryPK primaryKey)
      Sets the primary key of this view count entry.
      Specified by:
      setPrimaryKey in interface ViewCountEntryModel
      Parameters:
      primaryKey - the primary key of this view count entry
    • setViewCount

      public void setViewCount(long viewCount)
      Sets the view count of this view count entry.
      Specified by:
      setViewCount in interface ViewCountEntryModel
      Parameters:
      viewCount - the view count of this view count entry
    • toXmlString

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

      protected ViewCountEntryWrapper wrap(ViewCountEntry viewCountEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ViewCountEntry>