Interface CommerceDiscountRuleModel

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

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

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

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce discount ID of this commerce discount rule.
    long
    Returns the commerce discount rule ID of this commerce discount rule.
    long
    Returns the company ID of this commerce discount rule.
    Returns the create date of this commerce discount rule.
    Returns the modified date of this commerce discount rule.
    long
    Returns the mvcc version of this commerce discount rule.
    Returns the name of this commerce discount rule.
    long
    Returns the primary key of this commerce discount rule.
    Returns the type of this commerce discount rule.
    Returns the type settings of this commerce discount rule.
    long
    Returns the user ID of this commerce discount rule.
    Returns the user name of this commerce discount rule.
    Returns the user uuid of this commerce discount rule.
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount rule.
    void
    setCommerceDiscountRuleId(long commerceDiscountRuleId)
    Sets the commerce discount rule ID of this commerce discount rule.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount rule.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount rule.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount rule.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount rule.
    void
    Sets the name of this commerce discount rule.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount rule.
    void
    Sets the type of this commerce discount rule.
    void
    setTypeSettings(String typeSettings)
    Sets the type settings of this commerce discount rule.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount rule.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount rule.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount rule.
    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 rule.
      Returns:
      the primary key of this commerce discount rule
    • setPrimaryKey

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

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

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

      long getCommerceDiscountRuleId()
      Returns the commerce discount rule ID of this commerce discount rule.
      Returns:
      the commerce discount rule ID of this commerce discount rule
    • setCommerceDiscountRuleId

      void setCommerceDiscountRuleId(long commerceDiscountRuleId)
      Sets the commerce discount rule ID of this commerce discount rule.
      Parameters:
      commerceDiscountRuleId - the commerce discount rule ID of this commerce discount rule
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this commerce discount rule.
      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 rule
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this commerce discount rule.
      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 rule
    • getUserId

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

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

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

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

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

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

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

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

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

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

      @AutoEscape String getName()
      Returns the name of this commerce discount rule.
      Returns:
      the name of this commerce discount rule
    • setName

      void setName(String name)
      Sets the name of this commerce discount rule.
      Parameters:
      name - the name of this commerce discount rule
    • getCommerceDiscountId

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

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

      @AutoEscape String getType()
      Returns the type of this commerce discount rule.
      Returns:
      the type of this commerce discount rule
    • setType

      void setType(String type)
      Sets the type of this commerce discount rule.
      Parameters:
      type - the type of this commerce discount rule
    • getTypeSettings

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

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

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

      default String toXmlString()