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 CartModel
createSavedCartForProcess(SavedCartFileUploadEvent event)
protected BusinessProcessService
getBusinessProcessService()
protected CartFactory
getCartFactory()
protected KeyGenerator
getGuidKeyGenerator()
protected MediaService
getMediaService()
protected ModelService
getModelService()
protected TimeService
getTimeService()
protected void
onEvent(SavedCartFileUploadEvent event)
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.void
setBusinessProcessService(BusinessProcessService businessProcessService)
void
setCartFactory(CartFactory cartFactory)
void
setGuidKeyGenerator(KeyGenerator guidKeyGenerator)
void
setMediaService(MediaService mediaService)
void
setModelService(ModelService modelService)
void
setTimeService(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:AbstractEventListener
This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)
and processes the given event.- Specified by:
onEvent
in 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)
-
-