Class DeltaPricePopulator
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.facades.populator.DeltaPricePopulator
-
- All Implemented Interfaces:
Populator<PriceValueUpdateModel,PriceValueUpdateData>
public class DeltaPricePopulator extends java.lang.Object implements Populator<PriceValueUpdateModel,PriceValueUpdateData>
Populates a price summary
-
-
Constructor Summary
Constructors Constructor Description DeltaPricePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringbuildCsticKey(CsticQualifier csticQualifier)protected java.util.Map<java.lang.String,PriceDataPair>fillPrices(java.util.Map<java.lang.String,PriceModel> priceModels)protected ConfigPricinggetConfigPricing()protected UniqueUIKeyGeneratorgetUiKeyGenerator()voidpopulate(PriceValueUpdateModel source, PriceValueUpdateData target)Populate the target instance with values from the source instance.voidsetConfigPricing(ConfigPricing configPricing)voidsetUiKeyGenerator(UniqueUIKeyGenerator uiKeyGenerator)
-
-
-
Method Detail
-
populate
public void populate(PriceValueUpdateModel source, PriceValueUpdateData target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<PriceValueUpdateModel,PriceValueUpdateData>- Parameters:
source- the source objecttarget- the target to fill
-
fillPrices
protected java.util.Map<java.lang.String,PriceDataPair> fillPrices(java.util.Map<java.lang.String,PriceModel> priceModels)
-
buildCsticKey
protected java.lang.String buildCsticKey(CsticQualifier csticQualifier)
- Parameters:
csticQualifier-- Returns:
- cstic key as string in format instanceId-instanceName.groupName.csticName
-
getUiKeyGenerator
protected UniqueUIKeyGenerator getUiKeyGenerator()
-
setUiKeyGenerator
public void setUiKeyGenerator(UniqueUIKeyGenerator uiKeyGenerator)
- Parameters:
uiKeyGenerator- the uiKeyGenerator to set
-
getConfigPricing
protected ConfigPricing getConfigPricing()
-
setConfigPricing
public void setConfigPricing(ConfigPricing configPricing)
- Parameters:
configPricing- the configPricing to set
-
-