Class MarketplaceProductCarouselsSynchronizationTranslator
java.lang.Object
de.hybris.platform.impex.jalo.translators.AbstractSpecialValueTranslator
de.hybris.platform.marketplaceservices.dataimport.batch.translator.MarketplaceProductCarouselsSynchronizationTranslator
- All Implemented Interfaces:
SpecialValueTranslator
public class MarketplaceProductCarouselsSynchronizationTranslator
extends AbstractSpecialValueTranslator
Marketplace translator for synchronize product carousel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ModelServiceprotected SessionServiceprotected VendorCMSServicevoidinit(SpecialColumnDescriptor columnDescriptor) Called once upon header creation to do some initial setup logic.voidperformImport(String carouselId, Item item) Called each time a non-empty cell value has to be imported.voidsetModelService(ModelService modelService) voidsetSessionService(SessionService sessionService) voidsetVendorCMSService(VendorCMSService vendorCMSService) Methods inherited from class de.hybris.platform.impex.jalo.translators.AbstractSpecialValueTranslator
isEmpty, performExport, validate
-
Constructor Details
-
MarketplaceProductCarouselsSynchronizationTranslator
public MarketplaceProductCarouselsSynchronizationTranslator()
-
-
Method Details
-
init
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- Throws:
HeaderValidationException- indicates that the column descriptor is not configured properly
-
performImport
Description copied from interface:SpecialValueTranslatorCalled each time a non-empty cell value has to be imported.- Specified by:
performImportin interfaceSpecialValueTranslator- Overrides:
performImportin classAbstractSpecialValueTranslator- Parameters:
carouselId- the cell value stringitem- the item to import the value for- Throws:
ImpExException- indicates an import error
-
getModelService
-
setModelService
-
getVendorCMSService
-
setVendorCMSService
-
getSessionService
-
setSessionService
-