All Known Implementing Classes:
BaseRunTimeConfigMockImpl, ConfPipeMockImpl, CPQBandsawMockImpl, CPQHomeTheaterPocConfigMockImpl, CPQLaptopPocConfigMockImpl, CPQScrewdriverMockImpl, DigitalCameraMockImpl, HomeTheaterMockImpl, YSapSimplePocConfigMockImpl

public interface ConfigMock
Interface for Configuration Mocks. There should be one implementation per KB.
  • Method Details

    • createDefaultConfiguration

      ConfigModel createDefaultConfiguration()
    • checkModel

      void checkModel(ConfigModel model)
    • addProductAttributes

      default void addProductAttributes(ConfigModel model, ProductModel productModel)
      Allows to add attributes from product to the configurator mock model
      Parameters:
      model -
      productModel -
    • checkInstance

      void checkInstance(ConfigModel model, InstanceModel instance)
    • checkCstic

      void checkCstic(ConfigModel model, InstanceModel instance, CsticModel cstic)
    • setConfigId

      void setConfigId(String nextConfigId)
    • isChangeabeleVariant

      @Deprecated(since="2205", forRemoval=true) default boolean isChangeabeleVariant()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 22.05: use isChangeableVariant() instead
      Tells if a mock represents a changeable variant
      Returns:
      true if and only if mock represents a variant which is changeable, i.e. does not fall back to the base product in case changes are done to its attributes
    • isChangeableVariant

      default boolean isChangeableVariant()
      Tells if a mock represents a changeable variant
      Returns:
      true if and only if mock represents a variant which is changeable, i.e. does not fall back to the base product in case changes are done to its attributes
    • setI18NService

      void setI18NService(CommonI18NService i18nService)
    • showDeltaPrices

      void showDeltaPrices(boolean showDeltaPrices)