Class AnalyticsPopulator
java.lang.Object
de.hybris.platform.sap.productconfig.facades.populator.analytics.AnalyticsPopulator
- All Implemented Interfaces:
Populator<AnalyticsPopulatorInput,List<AnalyticCsticData>>
public class AnalyticsPopulator
extends Object
implements Populator<AnalyticsPopulatorInput,List<AnalyticCsticData>>
Populator, which creates and fills a List of
AnalyticCsticData Data DTO based on the AnalyticsDocument-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AnalyticsCharacteristicfindAnalyticCstic(String csticName, AnalyticsItem analyticInstance) protected AnalyticsItemfindAnalyticInstance(AnalyticsItem lastAnalyticInstance, String instanceName, AnalyticsDocument analyticsDocument) protected UniqueUIKeyGeneratorprotected booleanisValid(AnalyticCsticData analyticCsticData) voidpopulate(AnalyticsPopulatorInput source, 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)
-
Constructor Details
-
AnalyticsPopulator
public AnalyticsPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AnalyticsPopulatorInput,List<AnalyticCsticData>> - Parameters:
source- the source objecttarget- the target to fill
-
isValid
-
populate
-
populate
-
findAnalyticInstance
protected AnalyticsItem findAnalyticInstance(AnalyticsItem lastAnalyticInstance, String instanceName, AnalyticsDocument analyticsDocument) -
findAnalyticCstic
protected AnalyticsCharacteristic findAnalyticCstic(String csticName, AnalyticsItem analyticInstance) -
getUiKeyGenerator
-
setUiKeyGenerator
- Parameters:
uiKeyGenerator- UI-Key generator used to split/create UI-Keys
-