Interface ViewCountEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<ViewCountEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<ViewCountEntry>, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel
All Known Subinterfaces:
ViewCountEntry
All Known Implementing Classes:
ViewCountEntryWrapper

@ProviderType public interface ViewCountEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<ViewCountEntry>, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the ViewCountEntry service. Represents a row in the "ViewCountEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.view.count.model.impl.ViewCountEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.view.count.model.impl.ViewCountEntryImpl.

See Also:
Generated:
  • 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
    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
    Sets the primary key of this view count entry.
    void
    setViewCount(long viewCount)
    Sets the view count of this view count entry.
    default String
     

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      ViewCountEntryPK getPrimaryKey()
      Returns the primary key of this view count entry.
      Returns:
      the primary key of this view count entry
    • setPrimaryKey

      void setPrimaryKey(ViewCountEntryPK primaryKey)
      Sets the primary key of this view count entry.
      Parameters:
      primaryKey - the primary key of this view count entry
    • getCompanyId

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

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

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

      void setClassName(String className)
    • getClassNameId

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

      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
      Parameters:
      classNameId - the class name ID of this view count entry
    • getClassPK

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

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

      long getViewCount()
      Returns the view count of this view count entry.
      Returns:
      the view count of this view count entry
    • setViewCount

      void setViewCount(long viewCount)
      Sets the view count of this view count entry.
      Parameters:
      viewCount - the view count of this view count entry
    • cloneWithOriginalValues

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

      default String toXmlString()