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 Constructor Description MarketplaceProductCarouselsSynchronizationTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ModelServicegetModelService()protected SessionServicegetSessionService()protected VendorCMSServicegetVendorCMSService()voidinit(SpecialColumnDescriptor columnDescriptor)Called once upon header creation to do some initial setup logic.voidperformImport(java.lang.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
-
-
-
-
Method Detail
-
init
public void init(SpecialColumnDescriptor columnDescriptor) throws HeaderValidationException
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
public void performImport(java.lang.String carouselId, Item item) throws ImpExExceptionDescription 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
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getVendorCMSService
protected VendorCMSService getVendorCMSService()
-
setVendorCMSService
public void setVendorCMSService(VendorCMSService vendorCMSService)
-
getSessionService
protected SessionService getSessionService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-