Class CxAnonymousConsentChangeEventListener
- java.lang.Object
-
- de.hybris.platform.personalizationservices.events.consent.CxBaseConsentEventListener
-
- de.hybris.platform.personalizationservices.events.consent.CxAnonymousConsentChangeEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.context.ApplicationListener<AnonymousConsentChangeEvent>
public class CxAnonymousConsentChangeEventListener extends CxBaseConsentEventListener implements org.springframework.context.ApplicationListener<AnonymousConsentChangeEvent>
-
-
Constructor Summary
Constructors Constructor Description CxAnonymousConsentChangeEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CxActionResultServicegetCxActionResultService()protected CxCatalogServicegetCxCatalogService()protected ModelServicegetModelService()protected SessionServicegetSessionService()protected UserServicegetUserService()voidonApplicationEvent(AnonymousConsentChangeEvent event)protected voidpopulateSession(AnonymousConsentChangeEvent event)protected voidremoveCxResultsForAnonymousUser()voidsetCxActionResultService(CxActionResultService cxActionResultService)voidsetCxCatalogService(CxCatalogService cxCatalogService)voidsetModelService(ModelService modelService)voidsetSessionService(SessionService sessionService)voidsetUserService(UserService userService)-
Methods inherited from class de.hybris.platform.personalizationservices.events.consent.CxBaseConsentEventListener
actionExist, getActions, getConsumers, getCxConfigurationService, getCxConsentService, getCxRecalculationService, isConsentTemplateValid, setConsumers, setCxConfigurationService, setCxConsentService, setCxRecalculationService
-
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(AnonymousConsentChangeEvent event)
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<AnonymousConsentChangeEvent>
-
populateSession
protected void populateSession(AnonymousConsentChangeEvent event)
-
removeCxResultsForAnonymousUser
protected void removeCxResultsForAnonymousUser()
-
setUserService
public void setUserService(UserService userService)
-
getUserService
protected UserService getUserService()
-
setSessionService
public void setSessionService(SessionService sessionService)
-
getSessionService
protected SessionService getSessionService()
-
getCxActionResultService
protected CxActionResultService getCxActionResultService()
-
setCxActionResultService
public void setCxActionResultService(CxActionResultService cxActionResultService)
-
getCxCatalogService
protected CxCatalogService getCxCatalogService()
-
setCxCatalogService
public void setCxCatalogService(CxCatalogService cxCatalogService)
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
-