Class MarketplaceProductApprovalTranslator
- java.lang.Object
-
- de.hybris.platform.impex.jalo.translators.AbstractSpecialValueTranslator
-
- de.hybris.platform.marketplaceservices.dataimport.batch.translator.MarketplaceProductApprovalTranslator
-
- All Implemented Interfaces:
SpecialValueTranslator
public class MarketplaceProductApprovalTranslator extends AbstractSpecialValueTranslator
Marketplace translator for approving the product.
-
-
Constructor Summary
Constructors Constructor Description MarketplaceProductApprovalTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoApproveProductStrategygetAutoApproveProductStrategy()protected ModelServicegetModelService()voidinit(SpecialColumnDescriptor columnDescriptor)Called once upon header creation to do some initial setup logic.voidperformImport(java.lang.String code, Item processedItem)Called each time a non-empty cell value has to be imported.voidsetAutoApproveProductStrategy(AutoApproveProductStrategy autoApproveProductStrategy)voidsetModelService(ModelService modelService)-
Methods inherited from class de.hybris.platform.impex.jalo.translators.AbstractSpecialValueTranslator
isEmpty, performExport, validate
-
-
-
-
Method Detail
-
init
public void init(SpecialColumnDescriptor columnDescriptor)
Description copied from interface:SpecialValueTranslatorCalled once upon header creation to do some initial setup logic.- Specified by:
initin interfaceSpecialValueTranslator- Overrides:
initin classAbstractSpecialValueTranslator- Parameters:
columnDescriptor- the newly created column descriptor
-
performImport
public void performImport(java.lang.String code, Item processedItem)Description copied from interface:SpecialValueTranslatorCalled each time a non-empty cell value has to be imported.- Specified by:
performImportin interfaceSpecialValueTranslator- Overrides:
performImportin classAbstractSpecialValueTranslator- Parameters:
code- the cell value stringprocessedItem- the item to import the value for
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getAutoApproveProductStrategy
public AutoApproveProductStrategy getAutoApproveProductStrategy()
-
setAutoApproveProductStrategy
public void setAutoApproveProductStrategy(AutoApproveProductStrategy autoApproveProductStrategy)
-
-