Interface CommerceDiscountUsageEntryModel

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

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

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

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce account ID of this commerce discount usage entry.
    long
    Returns the commerce discount ID of this commerce discount usage entry.
    long
    Returns the commerce discount usage entry ID of this commerce discount usage entry.
    long
    Returns the commerce order ID of this commerce discount usage entry.
    long
    Returns the company ID of this commerce discount usage entry.
    Returns the create date of this commerce discount usage entry.
    Returns the modified date of this commerce discount usage entry.
    long
    Returns the mvcc version of this commerce discount usage entry.
    long
    Returns the primary key of this commerce discount usage entry.
    long
    Returns the user ID of this commerce discount usage entry.
    Returns the user name of this commerce discount usage entry.
    Returns the user uuid of this commerce discount usage entry.
    void
    setCommerceAccountId(long commerceAccountId)
    Sets the commerce account ID of this commerce discount usage entry.
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount usage entry.
    void
    setCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId)
    Sets the commerce discount usage entry ID of this commerce discount usage entry.
    void
    setCommerceOrderId(long commerceOrderId)
    Sets the commerce order ID of this commerce discount usage entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount usage entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount usage entry.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount usage entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount usage entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount usage entry.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount usage entry.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount usage entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount usage 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

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

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

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

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

      long getCommerceDiscountUsageEntryId()
      Returns the commerce discount usage entry ID of this commerce discount usage entry.
      Returns:
      the commerce discount usage entry ID of this commerce discount usage entry
    • setCommerceDiscountUsageEntryId

      void setCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId)
      Sets the commerce discount usage entry ID of this commerce discount usage entry.
      Parameters:
      commerceDiscountUsageEntryId - the commerce discount usage entry ID of this commerce discount usage entry
    • getCompanyId

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

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

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

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

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

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

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

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

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

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

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

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

      long getCommerceAccountId()
      Returns the commerce account ID of this commerce discount usage entry.
      Returns:
      the commerce account ID of this commerce discount usage entry
    • setCommerceAccountId

      void setCommerceAccountId(long commerceAccountId)
      Sets the commerce account ID of this commerce discount usage entry.
      Parameters:
      commerceAccountId - the commerce account ID of this commerce discount usage entry
    • getCommerceOrderId

      long getCommerceOrderId()
      Returns the commerce order ID of this commerce discount usage entry.
      Returns:
      the commerce order ID of this commerce discount usage entry
    • setCommerceOrderId

      void setCommerceOrderId(long commerceOrderId)
      Sets the commerce order ID of this commerce discount usage entry.
      Parameters:
      commerceOrderId - the commerce order ID of this commerce discount usage entry
    • getCommerceDiscountId

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

      void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce discount usage entry.
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce discount usage entry
    • cloneWithOriginalValues

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

      default String toXmlString()