Class ConfigurationProductUtilImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.services.impl.ConfigurationProductUtilImpl
- All Implemented Interfaces:
ConfigurationProductUtil
Default implementation of
ConfigurationProductUtil-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CatalogVersionServiceprotected List<CatalogVersionModel>protected ProductDaoprotected ProductModelgetProductForActiveVersions(List<CatalogVersionModel> versions, String productCode) getProductForCurrentCatalog(String productCode) Retrieves a product for the currently active catalog versionprotected booleanisProductCatalogVersionActive(CatalogVersionModel currentCatalogVersion) voidsetCatalogVersionService(CatalogVersionService catalogVersionService) voidsetProductDao(ProductDao productDao)
-
Constructor Details
-
ConfigurationProductUtilImpl
public ConfigurationProductUtilImpl()
-
-
Method Details
-
setProductDao
- Parameters:
productDao- Accessing the product persistence
-
getProductDao
-
getProductForCurrentCatalog
Description copied from interface:ConfigurationProductUtilRetrieves a product for the currently active catalog version- Specified by:
getProductForCurrentCatalogin interfaceConfigurationProductUtil- Parameters:
productCode- product code- Returns:
- product model
-
getCurrentCatalogVersions
-
getProductForActiveVersions
protected ProductModel getProductForActiveVersions(List<CatalogVersionModel> versions, String productCode) -
getCatalogVersionService
-
setCatalogVersionService
-
isProductCatalogVersionActive
-