Class DefaultProductConfigurableChecker
java.lang.Object
de.hybris.platform.commerceservices.product.impl.DefaultProductConfigurableChecker
- All Implemented Interfaces:
ProductConfigurableChecker
- Direct Known Subclasses:
CPQConfigurableChecker
Default implementation of
ProductConfigurableChecker-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfiguratorSettingsServicegetFirstConfiguratorType(ProductModel product) Returns first configurator type attached to the productbooleanisProductConfigurable(ProductModel product) Checks if specified product is an instance of configurable product (i.e.voidsetConfiguratorSettingsService(ConfiguratorSettingsService configuratorSettingsService)
-
Constructor Details
-
DefaultProductConfigurableChecker
public DefaultProductConfigurableChecker()
-
-
Method Details
-
isProductConfigurable
Description copied from interface:ProductConfigurableCheckerChecks if specified product is an instance of configurable product (i.e. has configuration settings assigned).- Specified by:
isProductConfigurablein interfaceProductConfigurableChecker- Parameters:
product- product instance to check- Returns:
- true if specified product is configurable, false otherwise
-
getFirstConfiguratorType
Description copied from interface:ProductConfigurableCheckerReturns first configurator type attached to the product- Specified by:
getFirstConfiguratorTypein interfaceProductConfigurableChecker- Parameters:
product- Product model- Returns:
- Configurator type. Null in case no configurator is assigned
-
getConfiguratorSettingsService
-
setConfiguratorSettingsService
-