Interface BackofficeClassificationService
- All Known Implementing Classes:
DefaultBackofficeClassificationService
public interface BackofficeClassificationService
Service which provides information regarding to classifications and features
-
Method Summary
Modifier and TypeMethodDescriptiongetClassificationDescriptors(Set<ProductModel> products) Gets classification descriptors for all provided productsgetFeatureValues(ProductModel product, List<ClassificationDescriptor> classificationDescriptors) Gets features values grouped by feature descriptors which can be accessed by classification codedefault 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
-
Method Details
-
getFeatureValues
Map<String,Map<FeatureDescriptor, getFeatureValuesClassificationInfo>> (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 resultclassificationDescriptors- descriptors of the classifications which should be taken into account- Returns:
- map containing values of the features
-
getFeatureValuesFromFeatureList
default Map<String,Map<FeatureDescriptor, getFeatureValuesFromFeatureListClassificationInfo>> (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 accountfeatureList- featureList which values should be include into the result- Returns:
- map containing values of the features
-
getClassificationDescriptors
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
-