java.lang.Object
de.hybris.platform.sap.productconfig.runtime.pci.populator.impl.AnalyticsItemPopulator
All Implemented Interfaces:
de.hybris.platform.converters.Populator<de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel,AnalyticsItem>

public class AnalyticsItemPopulator extends Object implements de.hybris.platform.converters.Populator<de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel,AnalyticsItem>
Responsible for specifying the attributes of an AnalyticsItem according to the InstanceModel. It ignores data like consistency, completeness, quantity and units and only transports the assigned and possible values (which are relevant for the calculation of popularity of values)
  • Constructor Details

    • AnalyticsItemPopulator

      public AnalyticsItemPopulator(int maxCsticsThreshold)
      Parameters:
      maxCsticsThreshold -
  • Method Details

    • populate

      public void populate(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel source, AnalyticsItem target)
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel,AnalyticsItem>
    • populateCharacteristics

      protected void populateCharacteristics(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel source, AnalyticsItem target)
    • populateCharacteristic

      protected void populateCharacteristic(AnalyticsItem target, de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel cstic)
    • considerCsticForAnalytics

      protected boolean considerCsticForAnalytics(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel cstic)
    • populatePossibleValues

      protected void populatePossibleValues(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel source, AnalyticsCharacteristic target)
    • populateValues

      protected void populateValues(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel source, AnalyticsCharacteristic target)
    • setMaxCsticsThreshold

      public void setMaxCsticsThreshold(int maxCsticsThreshold)