Class AnalyticsPopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.populator.analytics.AnalyticsPopulator
-
- All Implemented Interfaces:
Populator<AnalyticsPopulatorInput,java.util.List<AnalyticCsticData>>
public class AnalyticsPopulator extends java.lang.Object implements Populator<AnalyticsPopulatorInput,java.util.List<AnalyticCsticData>>
Populator, which creates and fills a List ofAnalyticCsticDataData DTO based on theAnalyticsDocument
-
-
Constructor Summary
Constructors Constructor Description AnalyticsPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnalyticsCharacteristicfindAnalyticCstic(java.lang.String csticName, AnalyticsItem analyticInstance)protected AnalyticsItemfindAnalyticInstance(AnalyticsItem lastAnalyticInstance, java.lang.String instanceName, AnalyticsDocument analyticsDocument)protected UniqueUIKeyGeneratorgetUiKeyGenerator()protected booleanisValid(AnalyticCsticData analyticCsticData)voidpopulate(AnalyticsPopulatorInput source, java.util.List<AnalyticCsticData> target)Populate the target instance with values from the source instance.protected voidpopulate(AnalyticsCharacteristic source, AnalyticCsticData target)protected voidpopulate(AnalyticsPossibleValue source, AnalyticCsticValueData target)voidsetUiKeyGenerator(UniqueUIKeyGenerator uiKeyGenerator)
-
-
-
Method Detail
-
populate
public void populate(AnalyticsPopulatorInput source, java.util.List<AnalyticCsticData> target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AnalyticsPopulatorInput,java.util.List<AnalyticCsticData>>- Parameters:
source- the source objecttarget- the target to fill
-
isValid
protected boolean isValid(AnalyticCsticData analyticCsticData)
-
populate
protected void populate(AnalyticsCharacteristic source, AnalyticCsticData target)
-
populate
protected void populate(AnalyticsPossibleValue source, AnalyticCsticValueData target)
-
findAnalyticInstance
protected AnalyticsItem findAnalyticInstance(AnalyticsItem lastAnalyticInstance, java.lang.String instanceName, AnalyticsDocument analyticsDocument)
-
findAnalyticCstic
protected AnalyticsCharacteristic findAnalyticCstic(java.lang.String csticName, AnalyticsItem analyticInstance)
-
getUiKeyGenerator
protected UniqueUIKeyGenerator getUiKeyGenerator()
-
setUiKeyGenerator
public void setUiKeyGenerator(UniqueUIKeyGenerator uiKeyGenerator)
- Parameters:
uiKeyGenerator- UI-Key generator used to split/create UI-Keys
-
-