Class AnalyticsItemPopulator
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanconsiderCsticForAnalytics(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel cstic) voidpopulate(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel source, AnalyticsItem target) protected voidpopulateCharacteristic(AnalyticsItem target, de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel cstic) protected voidpopulateCharacteristics(de.hybris.platform.sap.productconfig.runtime.interf.model.InstanceModel source, AnalyticsItem target) protected voidpopulatePossibleValues(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel source, AnalyticsCharacteristic target) protected voidpopulateValues(de.hybris.platform.sap.productconfig.runtime.interf.model.CsticModel source, AnalyticsCharacteristic target) voidsetMaxCsticsThreshold(int maxCsticsThreshold)
-
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:
populatein interfacede.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)
-