Class AssistedServiceCartRecalculator
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<SessionEvent>
-
- de.hybris.platform.assistedservicefacades.event.AssistedServiceCartRecalculator
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<SessionEvent>
public class AssistedServiceCartRecalculator extends AbstractEventListener<SessionEvent>
Assisted service event listener forSessionEventevent. Recalculates cart because there can be specific promotions that are only applicable if the ASM emulation is active.
-
-
Constructor Summary
Constructors Constructor Description AssistedServiceCartRecalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CartServicegetCartService()protected CommerceCartServicegetCommerceCartService()protected voidonEvent(SessionEvent event)This method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.voidsetCartService(CartService cartService)voidsetCommerceCartService(CommerceCartService commerceCartService)-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onEvent
protected void onEvent(SessionEvent event)
Description copied from class:AbstractEventListenerThis method is called byApplicationListener.onApplicationEvent(ApplicationEvent)and processes the given event.- Specified by:
onEventin classAbstractEventListener<SessionEvent>- Parameters:
event- the event to be processed- See Also:
ApplicationListener.onApplicationEvent(ApplicationEvent)
-
getCommerceCartService
protected CommerceCartService getCommerceCartService()
-
setCommerceCartService
public void setCommerceCartService(CommerceCartService commerceCartService)
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
-