Interface RatingsEntryModel

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<RatingsEntry>, ClassedModel, Cloneable, Comparable<RatingsEntry>, CTModel<RatingsEntry>, MVCCModel, Serializable, ShardedModel, StagedAuditedModel, StagedModel, TypedModel
All Known Subinterfaces:
RatingsEntry
All Known Implementing Classes:
RatingsEntryWrapper

@ProviderType public interface RatingsEntryModel extends AttachedModel, BaseModel<RatingsEntry>, CTModel<RatingsEntry>, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the RatingsEntry service. Represents a row in the "RatingsEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portlet.ratings.model.impl.RatingsEntryModelImpl 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.portlet.ratings.model.impl.RatingsEntryImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this ratings entry.
      Specified by:
      getPrimaryKey in interface CTModel<RatingsEntry>
      Returns:
      the primary key of this ratings entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this ratings entry.
      Specified by:
      setPrimaryKey in interface CTModel<RatingsEntry>
      Parameters:
      primaryKey - the primary key of this ratings entry
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this ratings entry.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this ratings entry
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ratings entry.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ratings entry
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this ratings entry.
      Specified by:
      getCtCollectionId in interface CTModel<RatingsEntry>
      Returns:
      the ct collection ID of this ratings entry
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ratings entry.
      Specified by:
      setCtCollectionId in interface CTModel<RatingsEntry>
      Parameters:
      ctCollectionId - the ct collection ID of this ratings entry
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this ratings entry.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this ratings entry
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this ratings entry.
      Specified by:
      setUuid in interface StagedModel
      Parameters:
      uuid - the uuid of this ratings entry
    • getEntryId

      long getEntryId()
      Returns the entry ID of this ratings entry.
      Returns:
      the entry ID of this ratings entry
    • setEntryId

      void setEntryId(long entryId)
      Sets the entry ID of this ratings entry.
      Parameters:
      entryId - the entry ID of this ratings entry
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this ratings entry.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface StagedModel
      Returns:
      the company ID of this ratings entry
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this ratings entry.
      Specified by:
      setCompanyId in interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface StagedModel
      Parameters:
      companyId - the company ID of this ratings entry
    • getUserId

      long getUserId()
      Returns the user ID of this ratings entry.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this ratings entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this ratings entry.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this ratings entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this ratings entry.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this ratings entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this ratings entry.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this ratings entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this ratings entry.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this ratings entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this ratings entry.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this ratings entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this ratings entry.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this ratings entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this ratings entry.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      Parameters:
      createDate - the create date of this ratings entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this ratings entry.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this ratings entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this ratings entry.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      Parameters:
      modifiedDate - the modified date of this ratings entry
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this ratings entry.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this ratings entry
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this ratings entry.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this ratings entry
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this ratings entry.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this ratings entry
    • getClassPK

      long getClassPK()
      Returns the class pk of this ratings entry.
      Specified by:
      getClassPK in interface AttachedModel
      Returns:
      the class pk of this ratings entry
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this ratings entry.
      Specified by:
      setClassPK in interface AttachedModel
      Parameters:
      classPK - the class pk of this ratings entry
    • getScore

      double getScore()
      Returns the score of this ratings entry.
      Returns:
      the score of this ratings entry
    • setScore

      void setScore(double score)
      Sets the score of this ratings entry.
      Parameters:
      score - the score of this ratings entry
    • cloneWithOriginalValues

      RatingsEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<RatingsEntry>
    • toXmlString

      default String toXmlString()