Package com.hybris.yprofile.listeners
Class ConsentWithdrawnEventListener
- java.lang.Object
-
- de.hybris.platform.servicelayer.event.impl.AbstractEventListener<T>
-
- de.hybris.platform.commerceservices.event.AbstractSiteEventListener<ConsentWithdrawnEvent>
-
- com.hybris.yprofile.listeners.ConsentWithdrawnEventListener
-
- All Implemented Interfaces:
java.util.EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener<ConsentWithdrawnEvent>
public class ConsentWithdrawnEventListener extends AbstractSiteEventListener<ConsentWithdrawnEvent>
Event listener for Consent Withdrawn Event.
-
-
Constructor Summary
Constructors Constructor Description ConsentWithdrawnEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsentServicegetConsentService()protected booleanisProfileConsentWithdrawn(ConsentWithdrawnEvent event)protected voidonSiteEvent(ConsentWithdrawnEvent event)voidsetConsentService(ConsentService consentService)protected booleanshouldHandleEvent(ConsentWithdrawnEvent event)-
Methods inherited from class de.hybris.platform.commerceservices.event.AbstractSiteEventListener
onEvent
-
Methods inherited from class de.hybris.platform.servicelayer.event.impl.AbstractEventListener
afterPropertiesSet, onApplicationEvent, setApplicationContext, setClusterService, setTenantService
-
-
-
-
Method Detail
-
onSiteEvent
protected void onSiteEvent(ConsentWithdrawnEvent event)
- Specified by:
onSiteEventin classAbstractSiteEventListener<ConsentWithdrawnEvent>
-
shouldHandleEvent
protected boolean shouldHandleEvent(ConsentWithdrawnEvent event)
- Specified by:
shouldHandleEventin classAbstractSiteEventListener<ConsentWithdrawnEvent>
-
isProfileConsentWithdrawn
protected boolean isProfileConsentWithdrawn(ConsentWithdrawnEvent event)
-
getConsentService
public ConsentService getConsentService()
-
setConsentService
public void setConsentService(ConsentService consentService)
-
-