Class NotificationPreferencePopulator
- java.lang.Object
-
- de.hybris.platform.notificationfacades.populators.NotificationPreferencePopulator
-
- All Implemented Interfaces:
Populator<CustomerModel,NotificationPreferenceData>
@Deprecated public class NotificationPreferencePopulator extends java.lang.Object implements Populator<CustomerModel,NotificationPreferenceData>
Deprecated.since 6.7, useNotificationPreferencesPopulatordue to the customerModel updatePopulator to populate notification preference data
-
-
Constructor Summary
Constructors Constructor Description NotificationPreferencePopulator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SmsNotificationChannelStrategygetSmsNotificationChannelStrategy()Deprecated.voidpopulate(CustomerModel source, NotificationPreferenceData target)Deprecated.Populate notification preference data into target.CustomerModel contains UID which is the email address SmsNotificationChannelStrategy will provide the phone numbervoidsetSmsNotificationChannelStrategy(SmsNotificationChannelStrategy smsNotificationChannelStrategy)Deprecated.
-
-
-
Method Detail
-
getSmsNotificationChannelStrategy
public SmsNotificationChannelStrategy getSmsNotificationChannelStrategy()
Deprecated.
-
setSmsNotificationChannelStrategy
public void setSmsNotificationChannelStrategy(SmsNotificationChannelStrategy smsNotificationChannelStrategy)
Deprecated.
-
populate
public void populate(CustomerModel source, NotificationPreferenceData target)
Deprecated.Populate notification preference data into target.CustomerModel contains UID which is the email address SmsNotificationChannelStrategy will provide the phone number- Specified by:
populatein interfacePopulator<CustomerModel,NotificationPreferenceData>- Parameters:
source- The UID in CustomerModel will be used to fill emailAddress in targettarget- The target will contain the populated notification preference data about whether email and sms are enabled and what their detail informations are
-
-