Class CPQConfigurableChecker
java.lang.Object
de.hybris.platform.commerceservices.product.impl.DefaultProductConfigurableChecker
de.hybris.platform.sap.productconfig.services.impl.CPQConfigurableChecker
- All Implemented Interfaces:
ProductConfigurableChecker
Support class to check if a specific product is configurable with the CPQ configurator.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationVariantUtilbooleanCheck if the given product is CPQ changeable variant product and can be configured by the CPQ configurator.booleanisCPQConfigurableProduct(ProductModel product) Check if the given product is CPQ configurable base product and can be configured by the CPQ configurator.booleanChecks if the given product is applicable to the CPQ configurator.
This is true if the given product is CPQ Configurable product OR a CPQ changeable variant product and can be configured by the CPQ configurator.booleanCheck if the given product is CPQ a not-changeable variant productprotected booleanisUseableWithCPQConfigurator(ProductModel product) voidsetConfigurationVariantUtil(ConfigurationVariantUtil configurationVariantUtil) Methods inherited from class de.hybris.platform.commerceservices.product.impl.DefaultProductConfigurableChecker
getConfiguratorSettingsService, getFirstConfiguratorType, isProductConfigurable, setConfiguratorSettingsService
-
Constructor Details
-
CPQConfigurableChecker
public CPQConfigurableChecker()
-
-
Method Details
-
isCPQConfigurableProduct
Check if the given product is CPQ configurable base product and can be configured by the CPQ configurator.- Parameters:
product- The product to check- Returns:
- TRUE if it is a CPQ configurable base product and can be configured by the CPQ configurator , otherwise FALSE
-
isCPQChangeableVariantProduct
Check if the given product is CPQ changeable variant product and can be configured by the CPQ configurator.- Parameters:
product- The product to check- Returns:
- TRUE if it is a CPQ changeable variant product and can be configured by the CPQ configurator , otherwise FALSE
-
isCPQNotChangeableVariantProduct
Check if the given product is CPQ a not-changeable variant product- Parameters:
product- The product to check- Returns:
- TRUE if it is a CPQ not-changeable variant product otherwise FALSE
-
isCPQConfiguratorApplicableProduct
Checks if the given product is applicable to the CPQ configurator.
This is true if the given product is CPQ Configurable product OR a CPQ changeable variant product and can be configured by the CPQ configurator.- Parameters:
product- The product to check- Returns:
- TRUE if it is a wither a CPQ changeable variant product or a CPQ configurable product otherwise FALSE
-
isUseableWithCPQConfigurator
-
getConfigurationVariantUtil
-
setConfigurationVariantUtil
-