Interface ProductConfigRuleUtil

All Known Implementing Classes:
ProductConfigRuleUtilImpl

public interface ProductConfigRuleUtil
ProductConfigRuleUtil provided characteristics of a configurable product as a flat list or map.
  • Method Details

    • getCstics

      List<CsticModel> getCstics(ConfigModel source)
      Retrieves flat characteristic list of configurable product. In case of multilevel product sub-instance cstics are considered as well. If a cstic is available in more than one (sub-)instance, only its first occurrence is used.
      Parameters:
      source - configuration model
      Returns:
      characteristic list of configurable product
    • getCsticMap

      Map<String,CsticModel> getCsticMap(ConfigModel source)
      Retrieves characteristics of configurable product as a map. In case of multilevel product sub-instance cstics are considered as well. If a cstic is available in more than one (sub-)instance, only its first occurrence is used.
      Parameters:
      source - configuration model
      Returns:
      characteristics of configurable product as a map
    • getCsticsForCsticName

      List<CsticModel> getCsticsForCsticName(ConfigModel source, String csticName)
      Retrieves characteristic list of configurable product for characteristics with given name . In case of multilevel product sub-instance cstics are considered as well. If a cstic is available in more than one (sub-)instance, all occurrences are retrieved.
      Parameters:
      source - configuration model
      csticName - characteristic name
      Returns:
      characteristic list of configurable product