Interface ProductConfigRuleUtil
-
- All Known Implementing Classes:
ProductConfigRuleUtilImpl
public interface ProductConfigRuleUtilProductConfigRuleUtil provided characteristics of a configurable product as a flat list or map.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,CsticModel>getCsticMap(ConfigModel source)Retrieves characteristics of configurable product as a map.java.util.List<CsticModel>getCstics(ConfigModel source)Retrieves flat characteristic list of configurable product.java.util.List<CsticModel>getCsticsForCsticName(ConfigModel source, java.lang.String csticName)Retrieves characteristic list of configurable product for characteristics with given name .
-
-
-
Method Detail
-
getCstics
java.util.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
java.util.Map<java.lang.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
java.util.List<CsticModel> getCsticsForCsticName(ConfigModel source, java.lang.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 modelcsticName- characteristic name- Returns:
- characteristic list of configurable product
-
-