Uses of Class
com.broadleafcommerce.datafeed.service.collector.domain.Translation
Package
Description
-
Uses of Translation in com.broadleafcommerce.datafeed.service.collector.domain.product
Modifier and TypeMethodDescriptionCollectedProduct.getTranslations()
List ofTranslations
associated with this Product.Modifier and TypeMethodDescriptionvoid
CollectedProduct.setTranslations
(List<Translation> translations) List ofTranslations
associated with this Product. -
Uses of Translation in com.broadleafcommerce.datafeed.service.publisher.file.transformer
Modifier and TypeMethodDescriptionCollectedProductConversionUtil.getBrandDisplayValue
(CollectedProduct source, List<Translation> translations, Locale locale) Gets the translated display value for the product's brand.CollectedProductConversionUtil.getFieldTranslation
(com.fasterxml.jackson.databind.node.ObjectNode sourceElement, com.fasterxml.jackson.databind.node.ObjectNode variantSource, List<Translation> translations, String fieldName, String variantFieldName, Locale locale) Get a translation for the requested field.CollectedProductConversionUtil.getOptionTranslation
(com.fasterxml.jackson.databind.node.ObjectNode productSource, com.fasterxml.jackson.databind.node.ObjectNode variantSource, List<Translation> translations, String attributeChoiceType, Locale locale) TODO migrate callers away from this method and towardsCollectedProductConversionUtil.getTranslatedAttributeChoiceValueLabel(ObjectNode, String, String, String, List, Locale)
for more comprehensive defaulting logic.CollectedProductConversionUtil.getTranslatedAttributeChoiceValueLabel
(com.fasterxml.jackson.databind.node.ObjectNode attributeChoice, String valueToMatch, String parentOptionId, String parentProductId, List<Translation> translations, Locale locale) Given an attribute choice, finds the translated label corresponding to a particular allowed value.CollectedProductConversionUtil.safeGetTranslatedProductAttributeLabel
(com.fasterxml.jackson.databind.node.ObjectNode productSource, String attributeName, List<Translation> translations, Locale locale) Retrieve a translated attribute value from the product based on the attribute name.