Interface BackofficeClassificationService

All Known Implementing Classes:
DefaultBackofficeClassificationService

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

    • getFeatureValues

      Map<String,Map<FeatureDescriptor,ClassificationInfo>> getFeatureValues(ProductModel product, 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
    • getFeatureValuesFromFeatureList

      default Map<String,Map<FeatureDescriptor,ClassificationInfo>> getFeatureValuesFromFeatureList(List<ClassificationDescriptor> classificationDescriptors, FeatureList featureList)
      Gets features values grouped by feature descriptors which can be accessed by classification code
      Parameters:
      classificationDescriptors - descriptors of the classifications which should be taken into account
      featureList - featureList which values should be include into the result
      Returns:
      map containing values of the features
    • getClassificationDescriptors

      List<ClassificationDescriptor> getClassificationDescriptors(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