Class CommercePriceEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceEntry>
com.liferay.commerce.price.list.model.CommercePriceEntryWrapper
All Implemented Interfaces:
CommercePriceEntry, CommercePriceEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<CommercePriceEntry>

public class CommercePriceEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceEntry> implements CommercePriceEntry, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceEntry>

This class is a wrapper for CommercePriceEntry.

See Also:
Generated:
  • Constructor Details

    • CommercePriceEntryWrapper

      public CommercePriceEntryWrapper(CommercePriceEntry commercePriceEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
    • cloneWithOriginalValues

      public CommercePriceEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
      Specified by:
      cloneWithOriginalValues in interface CommercePriceEntryModel
    • getBulkPricing

      public boolean getBulkPricing()
      Returns the bulk pricing of this commerce price entry.
      Specified by:
      getBulkPricing in interface CommercePriceEntryModel
      Returns:
      the bulk pricing of this commerce price entry
    • getCommercePriceEntryId

      public long getCommercePriceEntryId()
      Returns the commerce price entry ID of this commerce price entry.
      Specified by:
      getCommercePriceEntryId in interface CommercePriceEntryModel
      Returns:
      the commerce price entry ID of this commerce price entry
    • getCommercePriceList

      public CommercePriceList getCommercePriceList() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceList in interface CommercePriceEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListId

      public long getCommercePriceListId()
      Returns the commerce price list ID of this commerce price entry.
      Specified by:
      getCommercePriceListId in interface CommercePriceEntryModel
      Returns:
      the commerce price list ID of this commerce price entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce price entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommercePriceEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce price entry
    • getCPInstanceUuid

      public String getCPInstanceUuid()
      Returns the cp instance uuid of this commerce price entry.
      Specified by:
      getCPInstanceUuid in interface CommercePriceEntryModel
      Returns:
      the cp instance uuid of this commerce price entry
    • getCProductId

      public long getCProductId()
      Returns the c product ID of this commerce price entry.
      Specified by:
      getCProductId in interface CommercePriceEntryModel
      Returns:
      the c product ID of this commerce price entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce price entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommercePriceEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce price entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this commerce price entry.
      Specified by:
      getCtCollectionId in interface CommercePriceEntryModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceEntry>
      Returns:
      the ct collection ID of this commerce price entry
    • getDiscountDiscovery

      public boolean getDiscountDiscovery()
      Returns the discount discovery of this commerce price entry.
      Specified by:
      getDiscountDiscovery in interface CommercePriceEntryModel
      Returns:
      the discount discovery of this commerce price entry
    • getDiscountLevel1

      public BigDecimal getDiscountLevel1()
      Returns the discount level1 of this commerce price entry.
      Specified by:
      getDiscountLevel1 in interface CommercePriceEntryModel
      Returns:
      the discount level1 of this commerce price entry
    • getDiscountLevel2

      public BigDecimal getDiscountLevel2()
      Returns the discount level2 of this commerce price entry.
      Specified by:
      getDiscountLevel2 in interface CommercePriceEntryModel
      Returns:
      the discount level2 of this commerce price entry
    • getDiscountLevel3

      public BigDecimal getDiscountLevel3()
      Returns the discount level3 of this commerce price entry.
      Specified by:
      getDiscountLevel3 in interface CommercePriceEntryModel
      Returns:
      the discount level3 of this commerce price entry
    • getDiscountLevel4

      public BigDecimal getDiscountLevel4()
      Returns the discount level4 of this commerce price entry.
      Specified by:
      getDiscountLevel4 in interface CommercePriceEntryModel
      Returns:
      the discount level4 of this commerce price entry
    • getDisplayDate

      public Date getDisplayDate()
      Returns the display date of this commerce price entry.
      Specified by:
      getDisplayDate in interface CommercePriceEntryModel
      Returns:
      the display date of this commerce price entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this commerce price entry.
      Specified by:
      getExpirationDate in interface CommercePriceEntryModel
      Returns:
      the expiration date of this commerce price entry
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce price entry.
      Specified by:
      getExternalReferenceCode in interface CommercePriceEntryModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce price entry
    • getHasTierPrice

      public boolean getHasTierPrice()
      Returns the has tier price of this commerce price entry.
      Specified by:
      getHasTierPrice in interface CommercePriceEntryModel
      Returns:
      the has tier price of this commerce price entry
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this commerce price entry.
      Specified by:
      getLastPublishDate in interface CommercePriceEntryModel
      Returns:
      the last publish date of this commerce price entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce price entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommercePriceEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce price entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce price entry.
      Specified by:
      getMvccVersion in interface CommercePriceEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce price entry
    • getPrice

      public BigDecimal getPrice()
      Returns the price of this commerce price entry.
      Specified by:
      getPrice in interface CommercePriceEntryModel
      Returns:
      the price of this commerce price entry
    • getPriceCommerceMoney

      public com.liferay.commerce.currency.model.CommerceMoney getPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPriceCommerceMoney in interface CommercePriceEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPriceOnApplication

      public boolean getPriceOnApplication()
      Returns the price on application of this commerce price entry.
      Specified by:
      getPriceOnApplication in interface CommercePriceEntryModel
      Returns:
      the price on application of this commerce price entry
    • getPricingQuantity

      public BigDecimal getPricingQuantity()
      Returns the pricing quantity of this commerce price entry.
      Specified by:
      getPricingQuantity in interface CommercePriceEntryModel
      Returns:
      the pricing quantity of this commerce price entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce price entry.
      Specified by:
      getPrimaryKey in interface CommercePriceEntryModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceEntry>
      Returns:
      the primary key of this commerce price entry
    • getPromoPrice

      public BigDecimal getPromoPrice()
      Returns the promo price of this commerce price entry.
      Specified by:
      getPromoPrice in interface CommercePriceEntryModel
      Returns:
      the promo price of this commerce price entry
    • getPromoPriceCommerceMoney

      public com.liferay.commerce.currency.model.CommerceMoney getPromoPriceCommerceMoney(long commerceCurrencyId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getPromoPriceCommerceMoney in interface CommercePriceEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getQuantity

      public BigDecimal getQuantity()
      Returns the quantity of this commerce price entry.
      Specified by:
      getQuantity in interface CommercePriceEntryModel
      Returns:
      the quantity of this commerce price entry
    • getStatus

      public int getStatus()
      Returns the status of this commerce price entry.
      Specified by:
      getStatus in interface CommercePriceEntryModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this commerce price entry
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this commerce price entry.
      Specified by:
      getStatusByUserId in interface CommercePriceEntryModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this commerce price entry
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this commerce price entry.
      Specified by:
      getStatusByUserName in interface CommercePriceEntryModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this commerce price entry
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this commerce price entry.
      Specified by:
      getStatusByUserUuid in interface CommercePriceEntryModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this commerce price entry
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this commerce price entry.
      Specified by:
      getStatusDate in interface CommercePriceEntryModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this commerce price entry
    • getUnitOfMeasureKey

      public String getUnitOfMeasureKey()
      Returns the unit of measure key of this commerce price entry.
      Specified by:
      getUnitOfMeasureKey in interface CommercePriceEntryModel
      Returns:
      the unit of measure key of this commerce price entry
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce price entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommercePriceEntryModel
      Returns:
      the user ID of this commerce price entry
    • getUserName

      public String getUserName()
      Returns the user name of this commerce price entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommercePriceEntryModel
      Returns:
      the user name of this commerce price entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce price entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommercePriceEntryModel
      Returns:
      the user uuid of this commerce price entry
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce price entry.
      Specified by:
      getUuid in interface CommercePriceEntryModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce price entry
    • isApproved

      public boolean isApproved()
      Returns true if this commerce price entry is approved.
      Specified by:
      isApproved in interface CommercePriceEntryModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is approved; false otherwise
    • isBulkPricing

      public boolean isBulkPricing()
      Returns true if this commerce price entry is bulk pricing.
      Specified by:
      isBulkPricing in interface CommercePriceEntryModel
      Returns:
      true if this commerce price entry is bulk pricing; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this commerce price entry is denied.
      Specified by:
      isDenied in interface CommercePriceEntryModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is denied; false otherwise
    • isDiscountDiscovery

      public boolean isDiscountDiscovery()
      Returns true if this commerce price entry is discount discovery.
      Specified by:
      isDiscountDiscovery in interface CommercePriceEntryModel
      Returns:
      true if this commerce price entry is discount discovery; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this commerce price entry is a draft.
      Specified by:
      isDraft in interface CommercePriceEntryModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this commerce price entry is expired.
      Specified by:
      isExpired in interface CommercePriceEntryModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is expired; false otherwise
    • isHasTierPrice

      public boolean isHasTierPrice()
      Returns true if this commerce price entry is has tier price.
      Specified by:
      isHasTierPrice in interface CommercePriceEntryModel
      Returns:
      true if this commerce price entry is has tier price; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this commerce price entry is inactive.
      Specified by:
      isInactive in interface CommercePriceEntryModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this commerce price entry is incomplete.
      Specified by:
      isIncomplete in interface CommercePriceEntryModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is incomplete; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this commerce price entry is pending.
      Specified by:
      isPending in interface CommercePriceEntryModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is pending; false otherwise
    • isPriceOnApplication

      public boolean isPriceOnApplication()
      Returns true if this commerce price entry is price on application.
      Specified by:
      isPriceOnApplication in interface CommercePriceEntryModel
      Returns:
      true if this commerce price entry is price on application; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this commerce price entry is scheduled.
      Specified by:
      isScheduled in interface CommercePriceEntryModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this commerce price entry is scheduled; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setBulkPricing

      public void setBulkPricing(boolean bulkPricing)
      Sets whether this commerce price entry is bulk pricing.
      Specified by:
      setBulkPricing in interface CommercePriceEntryModel
      Parameters:
      bulkPricing - the bulk pricing of this commerce price entry
    • setCommercePriceEntryId

      public void setCommercePriceEntryId(long commercePriceEntryId)
      Sets the commerce price entry ID of this commerce price entry.
      Specified by:
      setCommercePriceEntryId in interface CommercePriceEntryModel
      Parameters:
      commercePriceEntryId - the commerce price entry ID of this commerce price entry
    • setCommercePriceListId

      public void setCommercePriceListId(long commercePriceListId)
      Sets the commerce price list ID of this commerce price entry.
      Specified by:
      setCommercePriceListId in interface CommercePriceEntryModel
      Parameters:
      commercePriceListId - the commerce price list ID of this commerce price entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce price entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommercePriceEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce price entry
    • setCPInstanceUuid

      public void setCPInstanceUuid(String CPInstanceUuid)
      Sets the cp instance uuid of this commerce price entry.
      Specified by:
      setCPInstanceUuid in interface CommercePriceEntryModel
      Parameters:
      CPInstanceUuid - the cp instance uuid of this commerce price entry
    • setCProductId

      public void setCProductId(long CProductId)
      Sets the c product ID of this commerce price entry.
      Specified by:
      setCProductId in interface CommercePriceEntryModel
      Parameters:
      CProductId - the c product ID of this commerce price entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce price entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommercePriceEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce price entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this commerce price entry.
      Specified by:
      setCtCollectionId in interface CommercePriceEntryModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceEntry>
      Parameters:
      ctCollectionId - the ct collection ID of this commerce price entry
    • setDiscountDiscovery

      public void setDiscountDiscovery(boolean discountDiscovery)
      Sets whether this commerce price entry is discount discovery.
      Specified by:
      setDiscountDiscovery in interface CommercePriceEntryModel
      Parameters:
      discountDiscovery - the discount discovery of this commerce price entry
    • setDiscountLevel1

      public void setDiscountLevel1(BigDecimal discountLevel1)
      Sets the discount level1 of this commerce price entry.
      Specified by:
      setDiscountLevel1 in interface CommercePriceEntryModel
      Parameters:
      discountLevel1 - the discount level1 of this commerce price entry
    • setDiscountLevel2

      public void setDiscountLevel2(BigDecimal discountLevel2)
      Sets the discount level2 of this commerce price entry.
      Specified by:
      setDiscountLevel2 in interface CommercePriceEntryModel
      Parameters:
      discountLevel2 - the discount level2 of this commerce price entry
    • setDiscountLevel3

      public void setDiscountLevel3(BigDecimal discountLevel3)
      Sets the discount level3 of this commerce price entry.
      Specified by:
      setDiscountLevel3 in interface CommercePriceEntryModel
      Parameters:
      discountLevel3 - the discount level3 of this commerce price entry
    • setDiscountLevel4

      public void setDiscountLevel4(BigDecimal discountLevel4)
      Sets the discount level4 of this commerce price entry.
      Specified by:
      setDiscountLevel4 in interface CommercePriceEntryModel
      Parameters:
      discountLevel4 - the discount level4 of this commerce price entry
    • setDisplayDate

      public void setDisplayDate(Date displayDate)
      Sets the display date of this commerce price entry.
      Specified by:
      setDisplayDate in interface CommercePriceEntryModel
      Parameters:
      displayDate - the display date of this commerce price entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this commerce price entry.
      Specified by:
      setExpirationDate in interface CommercePriceEntryModel
      Parameters:
      expirationDate - the expiration date of this commerce price entry
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce price entry.
      Specified by:
      setExternalReferenceCode in interface CommercePriceEntryModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce price entry
    • setHasTierPrice

      public void setHasTierPrice(boolean hasTierPrice)
      Sets whether this commerce price entry is has tier price.
      Specified by:
      setHasTierPrice in interface CommercePriceEntryModel
      Parameters:
      hasTierPrice - the has tier price of this commerce price entry
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this commerce price entry.
      Specified by:
      setLastPublishDate in interface CommercePriceEntryModel
      Parameters:
      lastPublishDate - the last publish date of this commerce price entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce price entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommercePriceEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce price entry
    • setMvccVersion

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

      public void setPrice(BigDecimal price)
      Sets the price of this commerce price entry.
      Specified by:
      setPrice in interface CommercePriceEntryModel
      Parameters:
      price - the price of this commerce price entry
    • setPriceOnApplication

      public void setPriceOnApplication(boolean priceOnApplication)
      Sets whether this commerce price entry is price on application.
      Specified by:
      setPriceOnApplication in interface CommercePriceEntryModel
      Parameters:
      priceOnApplication - the price on application of this commerce price entry
    • setPricingQuantity

      public void setPricingQuantity(BigDecimal pricingQuantity)
      Sets the pricing quantity of this commerce price entry.
      Specified by:
      setPricingQuantity in interface CommercePriceEntryModel
      Parameters:
      pricingQuantity - the pricing quantity of this commerce price entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce price entry.
      Specified by:
      setPrimaryKey in interface CommercePriceEntryModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceEntry>
      Parameters:
      primaryKey - the primary key of this commerce price entry
    • setPromoPrice

      public void setPromoPrice(BigDecimal promoPrice)
      Sets the promo price of this commerce price entry.
      Specified by:
      setPromoPrice in interface CommercePriceEntryModel
      Parameters:
      promoPrice - the promo price of this commerce price entry
    • setQuantity

      public void setQuantity(BigDecimal quantity)
      Sets the quantity of this commerce price entry.
      Specified by:
      setQuantity in interface CommercePriceEntryModel
      Parameters:
      quantity - the quantity of this commerce price entry
    • setStatus

      public void setStatus(int status)
      Sets the status of this commerce price entry.
      Specified by:
      setStatus in interface CommercePriceEntryModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this commerce price entry
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this commerce price entry.
      Specified by:
      setStatusByUserId in interface CommercePriceEntryModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this commerce price entry
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this commerce price entry.
      Specified by:
      setStatusByUserName in interface CommercePriceEntryModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this commerce price entry
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this commerce price entry.
      Specified by:
      setStatusByUserUuid in interface CommercePriceEntryModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this commerce price entry
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this commerce price entry.
      Specified by:
      setStatusDate in interface CommercePriceEntryModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this commerce price entry
    • setUnitOfMeasureKey

      public void setUnitOfMeasureKey(String unitOfMeasureKey)
      Sets the unit of measure key of this commerce price entry.
      Specified by:
      setUnitOfMeasureKey in interface CommercePriceEntryModel
      Parameters:
      unitOfMeasureKey - the unit of measure key of this commerce price entry
    • setUserId

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

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

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

      public void setUuid(String uuid)
      Sets the uuid of this commerce price entry.
      Specified by:
      setUuid in interface CommercePriceEntryModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce price entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommercePriceEntryModel
    • getAttributeGetterFunctions

      public Map<String,Function<CommercePriceEntry,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<CommercePriceEntry,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceEntry>
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommercePriceEntryWrapper wrap(CommercePriceEntry commercePriceEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceEntry>