Class DefaultCustomerNotificationPreferenceCheckStrategy
java.lang.Object
de.hybris.platform.customercouponfacades.strategies.impl.DefaultCustomerNotificationPreferenceCheckStrategy
- All Implemented Interfaces:
CustomerNotificationPreferenceCheckStrategy
public class DefaultCustomerNotificationPreferenceCheckStrategy
extends Object
implements CustomerNotificationPreferenceCheckStrategy
Default implementation of
CustomerNotificationPreferenceCheckStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks if the current customer subscribe any type of notificationprotected UserServicevoidsetUserService(UserService userService)
-
Constructor Details
-
DefaultCustomerNotificationPreferenceCheckStrategy
public DefaultCustomerNotificationPreferenceCheckStrategy()
-
-
Method Details
-
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
-
setUserService
-