Interface CompatibilityService
- All Known Implementing Classes:
DefaultCompatibilityService
public interface CompatibilityService
Service which returns products based on feature compatibility and vendor compatibility.
-
Method Summary
Modifier and TypeMethodDescriptiongetFeatureCompatibleProducts(String code, ClassAttributeAssignmentModel classAttributeAssignment) Return list of compatible products based on featureCompatiblity classification feature.getProductsForVendorCompatibility(String productCode) Returns a list of products which are considered compatible when the name of the manufacturer is the same as the vendor of the product.
-
Method Details
-
getFeatureCompatibleProducts
@Nonnull List<ProductModel> getFeatureCompatibleProducts(String code, ClassAttributeAssignmentModel classAttributeAssignment) Return list of compatible products based on featureCompatiblity classification feature.- Parameters:
code- product CodeclassAttributeAssignment- classification attribute of the classification class for the target item- Returns:
- list of matching products
-
getProductsForVendorCompatibility
Returns a list of products which are considered compatible when the name of the manufacturer is the same as the vendor of the product.- Parameters:
productCode- code of product for which compatible products should be returned- Returns:
- list of matching products
- Since:
- 6.6
-