public class DefaultConfiguratorSettingsService extends java.lang.Object implements ConfiguratorSettingsService
ConfiguratorSettingsService.| Constructor and Description |
|---|
DefaultConfiguratorSettingsService() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractConfiguratorSettingModel> |
getConfiguratorSettingsForProduct(ProductModel product)
Returns configurator settings to be applied to given product.
|
protected ConfiguratorSettingsResolutionStrategy |
getConfiguratorSettingsResolutionStrategy() |
void |
setConfiguratorSettingsResolutionStrategy(ConfiguratorSettingsResolutionStrategy configuratorSettingsResolutionStrategy) |
public java.util.List<AbstractConfiguratorSettingModel> getConfiguratorSettingsForProduct(ProductModel product)
ConfiguratorSettingsServiceSettings are collected from all categories assigned to the product including the whole hierarchy. When two categories have equal Id, only one which is closer to the product is taken. The method keeps setting item order from root to leaf categories.
getConfiguratorSettingsForProduct in interface ConfiguratorSettingsServiceproduct - product to get settings forConfiguratorSettingsResolutionStrategy,
ConfigurationCategoryModel,
CategoryServiceprotected ConfiguratorSettingsResolutionStrategy getConfiguratorSettingsResolutionStrategy()
public void setConfiguratorSettingsResolutionStrategy(ConfiguratorSettingsResolutionStrategy configuratorSettingsResolutionStrategy)
Copyright © 2018 SAP SE. All Rights Reserved.