Class QuoteBuyerOrderPlacedEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<QuoteBuyerOrderPlacedEvent>
-
- de.hybris.platform.yacceleratorcore.event.QuoteBuyerOrderPlacedEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<QuoteBuyerOrderPlacedEvent>
public class QuoteBuyerOrderPlacedEventListener extends AbstractEventListener<QuoteBuyerOrderPlacedEvent>
Event Listener forQuoteBuyerOrderPlacedEventwhich updates the quote state and attaches the latest quote snapshot to the order placed.
-
-
Constructor Summary
Constructors Constructor Description QuoteBuyerOrderPlacedEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommerceQuoteServicegetCommerceQuoteService()protected ModelServicegetModelService()protected voidonEvent(QuoteBuyerOrderPlacedEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetCommerceQuoteService(CommerceQuoteService commerceQuoteService)voidsetModelService(ModelService modelService)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(QuoteBuyerOrderPlacedEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<QuoteBuyerOrderPlacedEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getCommerceQuoteService
protected CommerceQuoteService getCommerceQuoteService()
-
setCommerceQuoteService
public void setCommerceQuoteService(CommerceQuoteService commerceQuoteService)
-
-