Class CPQConfigurableChecker
- java.lang.Object
-
- de.hybris.platform.commerceservices.product.impl.DefaultProductConfigurableChecker
-
- de.hybris.platform.sap.productconfig.services.impl.CPQConfigurableChecker
-
- All Implemented Interfaces:
ProductConfigurableChecker
public class CPQConfigurableChecker extends DefaultProductConfigurableChecker
Support class to check if a specific product is configurable with the CPQ configurator.
-
-
Constructor Summary
Constructors Constructor Description CPQConfigurableChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationVariantUtil
getConfigurationVariantUtil()
boolean
isCPQChangeableVariantProduct(ProductModel product)
Check if the given product is CPQ changeable variant product and can be configured by the CPQ configurator.boolean
isCPQConfigurableProduct(ProductModel product)
Check if the given product is CPQ configurable base product and can be configured by the CPQ configurator.boolean
isCPQConfiguratorApplicableProduct(ProductModel product)
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.boolean
isCPQNotChangeableVariantProduct(ProductModel product)
Check if the given product is CPQ a not-changeable variant productprotected boolean
isUseableWithCPQConfigurator(ProductModel product)
void
setConfigurationVariantUtil(ConfigurationVariantUtil configurationVariantUtil)
-
Methods inherited from class de.hybris.platform.commerceservices.product.impl.DefaultProductConfigurableChecker
getConfiguratorSettingsService, getFirstConfiguratorType, isProductConfigurable, setConfiguratorSettingsService
-
-
-
-
Method Detail
-
isCPQConfigurableProduct
public boolean isCPQConfigurableProduct(@Nonnull ProductModel product)
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
public boolean isCPQChangeableVariantProduct(@Nonnull ProductModel product)
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
public boolean isCPQNotChangeableVariantProduct(@Nonnull ProductModel product)
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
public boolean isCPQConfiguratorApplicableProduct(@Nonnull ProductModel product)
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
protected boolean isUseableWithCPQConfigurator(ProductModel product)
-
getConfigurationVariantUtil
protected ConfigurationVariantUtil getConfigurationVariantUtil()
-
setConfigurationVariantUtil
public void setConfigurationVariantUtil(ConfigurationVariantUtil configurationVariantUtil)
-
-