Class SavedCartFileUploadEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<SavedCartFileUploadEvent>
-
- de.hybris.platform.acceleratorservices.cartfileupload.events.SavedCartFileUploadEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<SavedCartFileUploadEvent>
public class SavedCartFileUploadEventListener extends AbstractEventListener<SavedCartFileUploadEvent>
-
-
Constructor Summary
Constructors Constructor Description SavedCartFileUploadEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CartModelcreateSavedCartForProcess(SavedCartFileUploadEvent event)protected BusinessProcessServicegetBusinessProcessService()protected CartFactorygetCartFactory()protected KeyGeneratorgetGuidKeyGenerator()protected MediaServicegetMediaService()protected ModelServicegetModelService()protected TimeServicegetTimeService()protected voidonEvent(SavedCartFileUploadEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetBusinessProcessService(BusinessProcessService businessProcessService)voidsetCartFactory(CartFactory cartFactory)voidsetGuidKeyGenerator(KeyGenerator guidKeyGenerator)voidsetMediaService(MediaService mediaService)voidsetModelService(ModelService modelService)voidsetTimeService(TimeService timeService)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(SavedCartFileUploadEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<SavedCartFileUploadEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
createSavedCartForProcess
protected CartModel createSavedCartForProcess(SavedCartFileUploadEvent event)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getBusinessProcessService
protected BusinessProcessService getBusinessProcessService()
-
setBusinessProcessService
public void setBusinessProcessService(BusinessProcessService businessProcessService)
-
getMediaService
protected MediaService getMediaService()
-
setMediaService
public void setMediaService(MediaService mediaService)
-
getTimeService
protected TimeService getTimeService()
-
setTimeService
public void setTimeService(TimeService timeService)
-
getGuidKeyGenerator
protected KeyGenerator getGuidKeyGenerator()
-
setGuidKeyGenerator
public void setGuidKeyGenerator(KeyGenerator guidKeyGenerator)
-
getCartFactory
protected CartFactory getCartFactory()
-
setCartFactory
public void setCartFactory(CartFactory cartFactory)
-
-