Class CommercePriceListDiscountRelWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceListDiscountRel>
com.liferay.commerce.price.list.model.CommercePriceListDiscountRelWrapper
All Implemented Interfaces:
CommercePriceListDiscountRel, CommercePriceListDiscountRelModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePriceListDiscountRel>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceListDiscountRel>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceListDiscountRel>, 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, Serializable, Cloneable, Comparable<CommercePriceListDiscountRel>

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

This class is a wrapper for CommercePriceListDiscountRel.

See Also:
Generated:
  • Constructor Details

    • CommercePriceListDiscountRelWrapper

      public CommercePriceListDiscountRelWrapper(CommercePriceListDiscountRel commercePriceListDiscountRel)
  • Method Details

    • getModelAttributes

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

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

      public CommercePriceListDiscountRel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceListDiscountRel>
      Specified by:
      cloneWithOriginalValues in interface CommercePriceListDiscountRelModel
    • getCommerceDiscountId

      public long getCommerceDiscountId()
      Returns the commerce discount ID of this commerce price list discount rel.
      Specified by:
      getCommerceDiscountId in interface CommercePriceListDiscountRelModel
      Returns:
      the commerce discount ID of this commerce price list discount rel
    • getCommercePriceList

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

      public long getCommercePriceListDiscountRelId()
      Returns the commerce price list discount rel ID of this commerce price list discount rel.
      Specified by:
      getCommercePriceListDiscountRelId in interface CommercePriceListDiscountRelModel
      Returns:
      the commerce price list discount rel ID of this commerce price list discount rel
    • getCommercePriceListId

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

      public long getCompanyId()
      Returns the company ID of this commerce price list discount rel.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommercePriceListDiscountRelModel
      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 list discount rel
    • getCreateDate

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

      public long getCtCollectionId()
      Returns the ct collection ID of this commerce price list discount rel.
      Specified by:
      getCtCollectionId in interface CommercePriceListDiscountRelModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceListDiscountRel>
      Returns:
      the ct collection ID of this commerce price list discount rel
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this commerce price list discount rel.
      Specified by:
      getLastPublishDate in interface CommercePriceListDiscountRelModel
      Returns:
      the last publish date of this commerce price list discount rel
    • getModifiedDate

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

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

      public int getOrder()
      Returns the order of this commerce price list discount rel.
      Specified by:
      getOrder in interface CommercePriceListDiscountRelModel
      Returns:
      the order of this commerce price list discount rel
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce price list discount rel.
      Specified by:
      getPrimaryKey in interface CommercePriceListDiscountRelModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceListDiscountRel>
      Returns:
      the primary key of this commerce price list discount rel
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this commerce price list discount rel.
      Specified by:
      getUuid in interface CommercePriceListDiscountRelModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce price list discount rel
    • persist

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

      public void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce price list discount rel.
      Specified by:
      setCommerceDiscountId in interface CommercePriceListDiscountRelModel
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce price list discount rel
    • setCommercePriceListDiscountRelId

      public void setCommercePriceListDiscountRelId(long commercePriceListDiscountRelId)
      Sets the commerce price list discount rel ID of this commerce price list discount rel.
      Specified by:
      setCommercePriceListDiscountRelId in interface CommercePriceListDiscountRelModel
      Parameters:
      commercePriceListDiscountRelId - the commerce price list discount rel ID of this commerce price list discount rel
    • setCommercePriceListId

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

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce price list discount rel.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommercePriceListDiscountRelModel
      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 list discount rel
    • setCreateDate

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

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this commerce price list discount rel.
      Specified by:
      setCtCollectionId in interface CommercePriceListDiscountRelModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceListDiscountRel>
      Parameters:
      ctCollectionId - the ct collection ID of this commerce price list discount rel
    • setLastPublishDate

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

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

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

      public void setOrder(int order)
      Sets the order of this commerce price list discount rel.
      Specified by:
      setOrder in interface CommercePriceListDiscountRelModel
      Parameters:
      order - the order of this commerce price list discount rel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce price list discount rel.
      Specified by:
      setPrimaryKey in interface CommercePriceListDiscountRelModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceListDiscountRel>
      Parameters:
      primaryKey - the primary key of this commerce price list discount rel
    • setUserId

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

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

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

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

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

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

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

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

      protected CommercePriceListDiscountRelWrapper wrap(CommercePriceListDiscountRel commercePriceListDiscountRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceListDiscountRel>