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 Details

    • CPQConfigurableChecker

      public CPQConfigurableChecker()
  • Method Details

    • 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)