Class ProductCsticAndValueParameterProviderMockImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.mock.provider.impl.ProductCsticAndValueParameterProviderMockImpl
- All Implemented Interfaces:
ProductCsticAndValueParameterProvider
public class ProductCsticAndValueParameterProviderMockImpl
extends Object
implements ProductCsticAndValueParameterProvider
Class to provide based on the product code, all relevant Cstic/CsticValue pairs, for the backoffice rule editor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigModelgetConfigModel(String productCode) protected CsticParameterWithValuesgetCsticParameters(CsticModel cstic) protected List<ValueParameter>getValuesForCstic(List<CsticValueModel> csticValues) retrieveProductCsticsAndValuesParameters(String productCode) Retrieves characteristic language independent and language dependent names as well as characteristic values from knowledgebase.voidsetConfigMockFactory(ConfigMockFactory configMockFactory)
-
Constructor Details
-
ProductCsticAndValueParameterProviderMockImpl
public ProductCsticAndValueParameterProviderMockImpl()
-
-
Method Details
-
retrieveProductCsticsAndValuesParameters
public Map<String,CsticParameterWithValues> retrieveProductCsticsAndValuesParameters(String productCode) Description copied from interface:ProductCsticAndValueParameterProviderRetrieves characteristic language independent and language dependent names as well as characteristic values from knowledgebase.- Specified by:
retrieveProductCsticsAndValuesParametersin interfaceProductCsticAndValueParameterProvider- Parameters:
productCode- product code for which the data is retrieved- Returns:
- Map with characteristic language independent name as a key and CsticParameterWithValues as a value
-
getCsticParameters
-
getValuesForCstic
-
getConfigModel
-
getConfigMockFactory
- Returns:
- the configMockFactory
-
setConfigMockFactory
- Parameters:
configMockFactory- the runTimeConfigMockFactory to set
-