Class ProductCsticAndValueParameterProviderCPSImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.cps.impl.ProductCsticAndValueParameterProviderCPSImpl
- All Implemented Interfaces:
de.hybris.platform.sap.productconfig.runtime.interf.ProductCsticAndValueParameterProvider
public class ProductCsticAndValueParameterProviderCPSImpl
extends Object
implements de.hybris.platform.sap.productconfig.runtime.interf.ProductCsticAndValueParameterProvider
Provider to deliver the list of cstics, with all possible values, needed for the backoffice rule editor. This
implementation is based on the CPS configuration engine.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckCPQConfigurable(String productCode) protected de.hybris.platform.site.BaseSiteServiceprotected Map<String,CPSMasterDataCharacteristicContainer> getCharacteristcs(String kbId) protected CharonKbDeterminationFacadeprotected ConfigurationMasterDataServiceprotected de.hybris.platform.product.ConfiguratorSettingsServiceprotected CPSBaseSiteProviderprotected CsticParameterWithValuesprotected de.hybris.platform.product.daos.ProductDaoprotected List<ValueParameter>getValuesForCstic(Map<String, CPSMasterDataPossibleValue> csticValues) protected booleanisCPQConfigurableProduct(ProductModel product) protected booleanisCPQConfigurator(AbstractConfiguratorSettingModel configService) retrieveProductCsticsAndValuesParameters(String productCode) voidsetBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) Set the baseSiteServicevoidsetCharonKbDeterminationFacade(CharonKbDeterminationFacade charonKbDeterminationFacade) Set the kb determination facadevoidsetConfigMasterDataService(ConfigurationMasterDataService configurationMasterDataService) Set the conifg master data servicevoidsetConfiguratorSettingsService(de.hybris.platform.product.ConfiguratorSettingsService configuratorSettingsService) voidsetCpsBaseSiteProvider(CPSBaseSiteProvider cpsBaseSiteProvider) Set the basesite provider for CPS rulesvoidsetProductDao(de.hybris.platform.product.daos.ProductDao productDao)
-
Constructor Details
-
ProductCsticAndValueParameterProviderCPSImpl
public ProductCsticAndValueParameterProviderCPSImpl()
-
-
Method Details
-
retrieveProductCsticsAndValuesParameters
public Map<String,CsticParameterWithValues> retrieveProductCsticsAndValuesParameters(String productCode) - Specified by:
retrieveProductCsticsAndValuesParametersin interfacede.hybris.platform.sap.productconfig.runtime.interf.ProductCsticAndValueParameterProvider
-
getCsticParameters
-
getValuesForCstic
protected List<ValueParameter> getValuesForCstic(Map<String, CPSMasterDataPossibleValue> csticValues) -
getCharacteristcs
-
setConfigMasterDataService
public void setConfigMasterDataService(ConfigurationMasterDataService configurationMasterDataService) Set the conifg master data service- Parameters:
configurationMasterDataService- An instance of the master data service
-
getConfigurationMasterDataService
-
setCharonKbDeterminationFacade
Set the kb determination facade- Parameters:
charonKbDeterminationFacade- An instance of the determination facade
-
getCharonKbDeterminationFacade
-
setBaseSiteService
public void setBaseSiteService(de.hybris.platform.site.BaseSiteService baseSiteService) Set the baseSiteService- Parameters:
baseSiteService- Instance of the base site service
-
getBaseSiteService
protected de.hybris.platform.site.BaseSiteService getBaseSiteService() -
getCpsBaseSiteProvider
-
setCpsBaseSiteProvider
Set the basesite provider for CPS rules- Parameters:
cpsBaseSiteProvider- BaseSite assigned to the CPS rules
-
getProductDao
protected de.hybris.platform.product.daos.ProductDao getProductDao() -
setProductDao
public void setProductDao(de.hybris.platform.product.daos.ProductDao productDao) - Parameters:
productDao- product DAO
-
getConfiguratorSettingsService
protected de.hybris.platform.product.ConfiguratorSettingsService getConfiguratorSettingsService() -
setConfiguratorSettingsService
public void setConfiguratorSettingsService(de.hybris.platform.product.ConfiguratorSettingsService configuratorSettingsService) - Parameters:
configuratorSettingsService- configurator settings service
-
checkCPQConfigurable
-
isCPQConfigurableProduct
-
isCPQConfigurator
-