Class ConfigurationOverviewValuePopulator
java.lang.Object
de.hybris.platform.sap.productconfig.facades.populator.ConfigurationOverviewValuePopulator
- All Implemented Interfaces:
ConfigurablePopulator<CsticValueModel,CharacteristicValue, Map>
public class ConfigurationOverviewValuePopulator
extends Object
implements ConfigurablePopulator<CsticValueModel,CharacteristicValue,Map>
Transforms an
It is typically called by the
CsticValueModel into into a list of CharacteristicValue data as required by the
configuration overview page.It is typically called by the
ConfigurationOverviewInstancePopulator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringvoidpopulate(CsticValueModel source, CharacteristicValue target, Collection<Map> options) Populate the target instance from the source instance.protected CharacteristicValueMessageprocessMessage(ProductConfigMessage productConfigMessage) protected List<CharacteristicValueMessage>processMessages(Set<ProductConfigMessage> sourceMessages) voidsetConfigPricing(ConfigPricingImpl configPricing) voidsetNameProvider(ClassificationSystemCPQAttributesProvider nameProvider) voidsetValueFormatTranslator(ValueFormatTranslator valueFormatTranslator) Set the value format translator
-
Constructor Details
-
ConfigurationOverviewValuePopulator
public ConfigurationOverviewValuePopulator()
-
-
Method Details
-
populate
Description copied from interface:ConfigurablePopulatorPopulate the target instance from the source instance. The collection of options is used to control what data is populated.- Specified by:
populatein interfaceConfigurablePopulator<CsticValueModel,CharacteristicValue, Map> - Parameters:
source- the source objecttarget- the target to filloptions- options used to control what data is populated
-
processMessages
protected List<CharacteristicValueMessage> processMessages(Set<ProductConfigMessage> sourceMessages) -
processMessage
-
getCsticPriceDescription
-
getNameProvider
- Returns:
- the hybris characteristic and value name provider
-
setNameProvider
- Parameters:
nameProvider- hybris characteristic and value name provider
-
getConfigPricing
- Returns:
- the configPricing
-
setConfigPricing
- Parameters:
configPricing- the configPricing to set
-
getValueFormatTranslator
- Returns:
- The valueformat translator
-
setValueFormatTranslator
Set the value format translator- Parameters:
valueFormatTranslator- the value format translator
-