Interface BackofficeVariantsService

All Superinterfaces:
VariantsService
All Known Implementing Classes:
DefaultBackofficeVariantsService

public interface BackofficeVariantsService extends VariantsService
Extends VariantsService with additional useful methods.
  • Method Details

    • getLocalizedVariantAttributeValue

      Map<Locale,Object> getLocalizedVariantAttributeValue(VariantProductModel variant, String qualifier)
      Gets values for all Locales, for given localized variant attribute.
      Parameters:
      variant - variant product from which the values will be taken
      qualifier - qualifier of the attribute to get
      Returns:
      map with values for all locales
    • setLocalizedVariantAttributeValue

      void setLocalizedVariantAttributeValue(VariantProductModel variantProductModel, String qualifier, Map<Locale,Object> localizedValues)
      Sets values for all Locales, for given localized variant attribute.
      Parameters:
      variantProductModel - variant product to set the values on
      qualifier - qualifier of the attribute to set
      localizedValues - values to set