Interface CompatibilityService

All Known Implementing Classes:
DefaultCompatibilityService

public interface CompatibilityService
Service which returns products based on feature compatibility and vendor compatibility.
  • Method Details

    • getFeatureCompatibleProducts

      @Nonnull List<ProductModel> getFeatureCompatibleProducts(String code, ClassAttributeAssignmentModel classAttributeAssignment)
      Return list of compatible products based on featureCompatiblity classification feature.
      Parameters:
      code - product Code
      classAttributeAssignment - classification attribute of the classification class for the target item
      Returns:
      list of matching products
    • getProductsForVendorCompatibility

      @Nonnull List<ProductModel> 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.
      Parameters:
      productCode - code of product for which compatible products should be returned
      Returns:
      list of matching products
      Since:
      6.6