Class PromotionPriceRowsTranslator.PriceRowTranslator
java.lang.Object
de.hybris.platform.impex.jalo.translators.AbstractValueTranslator
de.hybris.platform.impex.jalo.translators.SingleValueTranslator
de.hybris.platform.promotions.util.impex.PromotionPriceRowsTranslator.PriceRowTranslator
- Enclosing class:
- PromotionPriceRowsTranslator
protected static class PromotionPriceRowsTranslator.PriceRowTranslator
extends SingleValueTranslator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectconvertToJalo(String valueExpr, Item forItem) Converts a non-null and non-empty string into a jalo attribute value.protected StringconvertToString(Object object) Converts a non-null jalo attribute value into its string representation.voidinit(StandardColumnDescriptor standardColumnDescriptor) Called once per header creation to allow configuring this translator using column modifiers etc.Methods inherited from class de.hybris.platform.impex.jalo.translators.SingleValueTranslator
exportValue, getEmptyValue, importValue, isEmptyMethods inherited from class de.hybris.platform.impex.jalo.translators.AbstractValueTranslator
clearStatus, createTranslator, createTranslator, createTranslator, debug, error, getColumnDescriptor, getFlexibleSearch, info, isDebugEnabled, isInfoEnabled, setEmpty, setError, validate, warn, wasEmpty, wasUnresolved
-
Constructor Details
-
PriceRowTranslator
protected PriceRowTranslator()
-
-
Method Details
-
init
Description copied from class:AbstractValueTranslatorCalled once per header creation to allow configuring this translator using column modifiers etc.- Overrides:
initin classAbstractValueTranslator- Parameters:
standardColumnDescriptor- descriptor where the value to translate belongs to
-
convertToJalo
Description copied from class:SingleValueTranslatorConverts a non-null and non-empty string into a jalo attribute value.- Specified by:
convertToJaloin classSingleValueTranslator- Parameters:
valueExpr- string to translateforItem- item instance the translated value will be set to as attribute- Returns:
- Object translated value
-
convertToString
Description copied from class:SingleValueTranslatorConverts a non-null jalo attribute value into its string representation.- Specified by:
convertToStringin classSingleValueTranslator- Parameters:
object- value to translate- Returns:
- translated value
-