Class CxCdsAnonymousConsentChangeEventListener
- java.lang.Object
-
- de.hybris.platform.personalizationyprofile.event.CxCdsAnonymousConsentChangeEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.context.ApplicationListener<AnonymousConsentChangeEvent>
public class CxCdsAnonymousConsentChangeEventListener extends java.lang.Object implements org.springframework.context.ApplicationListener<AnonymousConsentChangeEvent>
-
-
Constructor Summary
Constructors Constructor Description CxCdsAnonymousConsentChangeEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DefaultCxProfileIdentifierStrategygetDefaultCxProfileIdentifierStrategy()protected UserServicegetUserService()protected booleanisProfileConsentWithdrawn(AnonymousConsentChangeEvent event)voidonApplicationEvent(AnonymousConsentChangeEvent event)protected voidresetProfileIdentifier()voidsetDefaultCxProfileIdentifierStrategy(DefaultCxProfileIdentifierStrategy defaultCxProfileIdentifierStrategy)voidsetUserService(UserService userService)
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(AnonymousConsentChangeEvent event)
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<AnonymousConsentChangeEvent>
-
isProfileConsentWithdrawn
protected boolean isProfileConsentWithdrawn(AnonymousConsentChangeEvent event)
-
resetProfileIdentifier
protected void resetProfileIdentifier()
-
getDefaultCxProfileIdentifierStrategy
protected DefaultCxProfileIdentifierStrategy getDefaultCxProfileIdentifierStrategy()
-
setDefaultCxProfileIdentifierStrategy
public void setDefaultCxProfileIdentifierStrategy(DefaultCxProfileIdentifierStrategy defaultCxProfileIdentifierStrategy)
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
-