Class QuoteBuyerOrderPlacedEventListener
java.lang.Object
de.hybris.platform.servicelayer.event.impl.AbstractEventListener<QuoteBuyerOrderPlacedEvent>
de.hybris.platform.yacceleratorcore.event.QuoteBuyerOrderPlacedEventListener
- All Implemented Interfaces:
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 for
QuoteBuyerOrderPlacedEvent which updates the quote state and attaches the latest quote
snapshot to the order placed.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommerceQuoteServiceprotected ModelServiceprotected voidThis 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
-
Constructor Details
-
QuoteBuyerOrderPlacedEventListener
public QuoteBuyerOrderPlacedEventListener()
-
-
Method Details
-
onEvent
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
-
setModelService
-
getCommerceQuoteService
-
setCommerceQuoteService
-