Class ConfigurationProductUtilImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.interf.services.impl.ConfigurationProductUtilImpl
-
- All Implemented Interfaces:
ConfigurationProductUtil
public class ConfigurationProductUtilImpl extends java.lang.Object implements ConfigurationProductUtil
Default implementation ofConfigurationProductUtil
-
-
Constructor Summary
Constructors Constructor Description ConfigurationProductUtilImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CatalogVersionService
getCatalogVersionService()
protected CatalogVersionModel
getCurrentCatalogVersion()
ProductModel
getProductForCurrentCatalog(java.lang.String productCode)
Retrieves a product for the currently active catalog versionprotected ProductService
getProductService()
protected boolean
isProductCatalogActive(CatalogVersionModel currentCatalogVersion)
void
setCatalogVersionService(CatalogVersionService catalogVersionService)
void
setProductService(ProductService productService)
-
-
-
Method Detail
-
getProductForCurrentCatalog
public ProductModel getProductForCurrentCatalog(java.lang.String productCode)
Description copied from interface:ConfigurationProductUtil
Retrieves a product for the currently active catalog version- Specified by:
getProductForCurrentCatalog
in interfaceConfigurationProductUtil
- Parameters:
productCode
- product code- Returns:
- product model
-
getCurrentCatalogVersion
protected CatalogVersionModel getCurrentCatalogVersion()
-
getProductService
protected ProductService getProductService()
-
setProductService
public void setProductService(ProductService productService)
-
getCatalogVersionService
protected CatalogVersionService getCatalogVersionService()
-
setCatalogVersionService
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
-
isProductCatalogActive
protected boolean isProductCatalogActive(CatalogVersionModel currentCatalogVersion)
-
-