Class DefaultTranslationHelper
java.lang.Object
com.broadleafcommerce.translation.mapping.DefaultTranslationHelper
- All Implemented Interfaces:
TranslationHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <P> voidsetTranslatedValueInMap(P targetEntity, PathUtil.PathResult item, Object translatedValue) protected <P> voidsetTranslatedValueOnField(P targetEntity, Field field, Object translatedValue) <P> voidupdateField(P businessDomain, Translation translation) Updates field value with translation
-
Constructor Details
-
DefaultTranslationHelper
public DefaultTranslationHelper()
-
-
Method Details
-
updateField
Description copied from interface:TranslationHelperUpdates field value with translation- Specified by:
updateFieldin interfaceTranslationHelper- Parameters:
businessDomain- a business domain objecttranslation- a field translation that will be applied to a business domain object
-
setTranslatedValueOnField
-
setTranslatedValueInMap
protected <P> void setTranslatedValueInMap(P targetEntity, PathUtil.PathResult item, Object translatedValue)
-