Class DefaultCustomerNotificationPreferenceCheckStrategy
- java.lang.Object
-
- de.hybris.platform.customercouponfacades.strategies.impl.DefaultCustomerNotificationPreferenceCheckStrategy
-
- All Implemented Interfaces:
CustomerNotificationPreferenceCheckStrategy
public class DefaultCustomerNotificationPreferenceCheckStrategy extends java.lang.Object implements CustomerNotificationPreferenceCheckStrategy
Default implementation ofCustomerNotificationPreferenceCheckStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerNotificationPreferenceCheckStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleancheckCustomerNotificationPreference()Checks if the current customer subscribe any type of notificationprotected UserServicegetUserService()voidsetUserService(UserService userService)
-
-
-
Method Detail
-
checkCustomerNotificationPreference
public java.lang.Boolean checkCustomerNotificationPreference()
Description copied from interface:CustomerNotificationPreferenceCheckStrategyChecks if the current customer subscribe any type of notification- Specified by:
checkCustomerNotificationPreferencein interfaceCustomerNotificationPreferenceCheckStrategy- Returns:
- true if the customer has subscribed to at least one notification type and false otherwise
-
getUserService
protected UserService getUserService()
-
setUserService
public void setUserService(UserService userService)
-
-