Class C4CQuoteBuyerOrderPlacedEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<C4CQuoteBuyerOrderPlacedEvent>
-
- de.hybris.platform.sap.c4c.quote.events.C4CQuoteBuyerOrderPlacedEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<C4CQuoteBuyerOrderPlacedEvent>
public class C4CQuoteBuyerOrderPlacedEventListener extends AbstractEventListener<C4CQuoteBuyerOrderPlacedEvent>
Event Listener forC4CQuoteBuyerOrderPlacedEventwhich updates the quote state, attaches the latest quote snapshot to the order placed and sends the quote to datahub.
-
-
Constructor Summary
Constructors Constructor Description C4CQuoteBuyerOrderPlacedEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BusinessProcessServicegetBusinessProcessService()protected CommerceQuoteServicegetCommerceQuoteService()protected ModelServicegetModelService()protected voidonEvent(C4CQuoteBuyerOrderPlacedEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetBusinessProcessService(BusinessProcessService businessProcessService)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(C4CQuoteBuyerOrderPlacedEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<C4CQuoteBuyerOrderPlacedEvent>- 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)
-
getBusinessProcessService
public BusinessProcessService getBusinessProcessService()
-
setBusinessProcessService
public void setBusinessProcessService(BusinessProcessService businessProcessService)
-
-