Interface ProductConfigRuleUtil
- All Known Implementing Classes:
ProductConfigRuleUtilImpl
public interface ProductConfigRuleUtil
ProductConfigRuleUtil provided characteristics of a configurable product as a flat list or map.
-
Method Summary
Modifier and TypeMethodDescriptiongetCsticMap(ConfigModel source) Retrieves characteristics of configurable product as a map.getCstics(ConfigModel source) Retrieves flat characteristic list of configurable product.getCsticsForCsticName(ConfigModel source, String csticName) Retrieves characteristic list of configurable product for characteristics with given name .
-
Method Details
-
getCstics
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
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
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 modelcsticName- characteristic name- Returns:
- characteristic list of configurable product
-