Interface CommerceDiscountRelModel

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

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

This interface and its corresponding implementation com.liferay.commerce.discount.model.impl.CommerceDiscountRelModelImpl 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.commerce.discount.model.impl.CommerceDiscountRelImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this commerce discount rel.
    long
    Returns the class name ID of this commerce discount rel.
    long
    Returns the class pk of this commerce discount rel.
    long
    Returns the commerce discount ID of this commerce discount rel.
    long
    Returns the commerce discount rel ID of this commerce discount rel.
    long
    Returns the company ID of this commerce discount rel.
    Returns the create date of this commerce discount rel.
    Returns the modified date of this commerce discount rel.
    long
    Returns the mvcc version of this commerce discount rel.
    long
    Returns the primary key of this commerce discount rel.
    Returns the type settings of this commerce discount rel.
    long
    Returns the user ID of this commerce discount rel.
    Returns the user name of this commerce discount rel.
    Returns the user uuid of this commerce discount rel.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this commerce discount rel.
    void
    setClassPK(long classPK)
    Sets the class pk of this commerce discount rel.
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount rel.
    void
    setCommerceDiscountRelId(long commerceDiscountRelId)
    Sets the commerce discount rel ID of this commerce discount rel.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount rel.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount rel.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount rel.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount rel.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount rel.
    void
    setTypeSettings(String typeSettings)
    Sets the type settings of this commerce discount rel.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount rel.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount rel.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount rel.
    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

      long getPrimaryKey()
      Returns the primary key of this commerce discount rel.
      Returns:
      the primary key of this commerce discount rel
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce discount rel.
      Parameters:
      primaryKey - the primary key of this commerce discount rel
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this commerce discount rel.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce discount rel
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce discount rel.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce discount rel
    • getCommerceDiscountRelId

      long getCommerceDiscountRelId()
      Returns the commerce discount rel ID of this commerce discount rel.
      Returns:
      the commerce discount rel ID of this commerce discount rel
    • setCommerceDiscountRelId

      void setCommerceDiscountRelId(long commerceDiscountRelId)
      Sets the commerce discount rel ID of this commerce discount rel.
      Parameters:
      commerceDiscountRelId - the commerce discount rel ID of this commerce discount rel
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this commerce discount rel.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce discount rel
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce discount rel.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce discount rel
    • getUserId

      long getUserId()
      Returns the user ID of this commerce discount rel.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this commerce discount rel
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this commerce discount rel.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this commerce discount rel
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this commerce discount rel.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this commerce discount rel
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this commerce discount rel.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this commerce discount rel
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this commerce discount rel.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this commerce discount rel
    • setUserName

      void setUserName(String userName)
      Sets the user name of this commerce discount rel.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this commerce discount rel
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this commerce discount rel.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the create date of this commerce discount rel
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this commerce discount rel.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      createDate - the create date of this commerce discount rel
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this commerce discount rel.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the modified date of this commerce discount rel
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce discount rel.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      modifiedDate - the modified date of this commerce discount rel
    • getCommerceDiscountId

      long getCommerceDiscountId()
      Returns the commerce discount ID of this commerce discount rel.
      Returns:
      the commerce discount ID of this commerce discount rel
    • setCommerceDiscountId

      void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce discount rel.
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce discount rel
    • getClassName

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

      void setClassName(String className)
    • getClassNameId

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

      void setClassNameId(long classNameId)
      Sets the class name ID of this commerce discount rel.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this commerce discount rel
    • getClassPK

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

      void setClassPK(long classPK)
      Sets the class pk of this commerce discount rel.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this commerce discount rel
    • getTypeSettings

      @AutoEscape String getTypeSettings()
      Returns the type settings of this commerce discount rel.
      Returns:
      the type settings of this commerce discount rel
    • setTypeSettings

      void setTypeSettings(String typeSettings)
      Sets the type settings of this commerce discount rel.
      Parameters:
      typeSettings - the type settings of this commerce discount rel
    • cloneWithOriginalValues

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

      default String toXmlString()