Interface BackofficeClassificationService

  • All Known Implementing Classes:
    DefaultBackofficeClassificationService

    public interface BackofficeClassificationService
    Service which provides information regarding to classifications and features
    • Method Detail

      • getFeatureValues

        java.util.Map<java.lang.String,​java.util.Map<FeatureDescriptor,​ClassificationInfo>> getFeatureValues​(ProductModel product,
                                                                                                                         java.util.List<ClassificationDescriptor> classificationDescriptors)
        Gets features values grouped by feature descriptors which can be accessed by classification code
        Parameters:
        product - products which values should be include into the result
        classificationDescriptors - descriptors of the classifications which should be taken into account
        Returns:
        map containing values of the features
      • getClassificationDescriptors

        java.util.List<ClassificationDescriptor> getClassificationDescriptors​(java.util.Set<ProductModel> products)
        Gets classification descriptors for all provided products
        Parameters:
        products - products which classifications should be returned
        Returns:
        list of the classification descriptors for all provided products