Class CPQProductBasicPopulator<SOURCE extends ProductModel,TARGET extends ProductData>

java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
de.hybris.platform.sap.productconfig.facades.populator.CPQProductBasicPopulator<SOURCE,TARGET>
Type Parameters:
SOURCE - product model
TARGET - product DTO
All Implemented Interfaces:
Populator<SOURCE,TARGET>

public class CPQProductBasicPopulator<SOURCE extends ProductModel,TARGET extends ProductData> extends AbstractProductPopulator<SOURCE,TARGET>
For CPQ, variant base products are purchasable (if approved). This is the only attribute that is touched here.
  • Constructor Details

    • CPQProductBasicPopulator

      public CPQProductBasicPopulator()
  • Method Details

    • populate

      public void populate(SOURCE productModel, TARGET productData)
      Description copied from interface: Populator
      Populate the target instance with values from the source instance.
      Parameters:
      productModel - the source object
      productData - the target to fill
    • populatePurchasable

      protected void populatePurchasable(SOURCE productModel, TARGET productData)
    • isCPQBaseProduct

      protected boolean isCPQBaseProduct(ProductModel productModel)
    • getConfigurationVariantUtil

      protected ConfigurationVariantUtil getConfigurationVariantUtil()
    • setConfigurationVariantUtil

      public void setConfigurationVariantUtil(ConfigurationVariantUtil configurationVariantUtil)
      Parameters:
      configurationVariantUtil -
    • isApproved

      protected boolean isApproved(SOURCE productModel)