Class ConfigurationCartRestorationPopulator
java.lang.Object
de.hybris.platform.sap.productconfig.facades.populator.ConfigurationCartRestorationPopulator
- All Implemented Interfaces:
Populator<CommerceCartRestoration,CartRestorationData>
public class ConfigurationCartRestorationPopulator
extends Object
implements Populator<CommerceCartRestoration,CartRestorationData>
Takes care of refreshing the inline configuration
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationCartRestorationPopulator(ConfigurationAbstractOrderIntegrationStrategy configurationAbstractOrderIntegrationStrategy, CPQConfigurableChecker cpqConfigurableChecker, ConfigurationOrderEntryProductInfoModelPopulator configInfoPopulator, ProductConfigurationOrderIntegrationService configurationPricingOrderIntegrationService, ModelService modelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddConfigAttributesToCartEntry(ConfigModel configModel, AbstractOrderEntryModel entry) protected CPQConfigurableCheckerprotected ModelServiceprotected booleanisConfigurableProduct(ProductModel product) protected booleanisUpdateRequired(String status, ProductModel product) voidpopulate(CommerceCartRestoration source, CartRestorationData target) Populate the target instance with values from the source instance.
-
Constructor Details
-
ConfigurationCartRestorationPopulator
public ConfigurationCartRestorationPopulator(ConfigurationAbstractOrderIntegrationStrategy configurationAbstractOrderIntegrationStrategy, CPQConfigurableChecker cpqConfigurableChecker, ConfigurationOrderEntryProductInfoModelPopulator configInfoPopulator, ProductConfigurationOrderIntegrationService configurationPricingOrderIntegrationService, ModelService modelService)
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CommerceCartRestoration,CartRestorationData> - Parameters:
source- the source objecttarget- the target to fill
-
isUpdateRequired
-
addConfigAttributesToCartEntry
protected void addConfigAttributesToCartEntry(ConfigModel configModel, AbstractOrderEntryModel entry) -
isConfigurableProduct
-
getConfigurationAbstractOrderIntegrationStrategy
protected ConfigurationAbstractOrderIntegrationStrategy getConfigurationAbstractOrderIntegrationStrategy() -
getCpqConfigurableChecker
-
getConfigInfoPopulator
-
getConfigurationPricingOrderIntegrationService
protected ProductConfigurationOrderIntegrationService getConfigurationPricingOrderIntegrationService() -
getModelService
-