Class NotificationPreferencePopulator
- java.lang.Object
-
- de.hybris.platform.notificationfacades.populators.NotificationPreferencePopulator
-
- All Implemented Interfaces:
Populator<CustomerModel,NotificationPreferenceData>
@Deprecated(since="6.7", forRemoval=true) public class NotificationPreferencePopulator extends java.lang.Object implements Populator<CustomerModel,NotificationPreferenceData>Deprecated, for removal: This API element is subject to removal in a future version.since 6.7, useNotificationPreferencesPopulatordue to the customerModel updatePopulator to populate notification preference data
-
-
Constructor Summary
Constructors Constructor Description NotificationPreferencePopulator()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SmsNotificationChannelStrategygetSmsNotificationChannelStrategy()Deprecated, for removal: This API element is subject to removal in a future version.voidpopulate(CustomerModel source, NotificationPreferenceData target)Deprecated, for removal: This API element is subject to removal in a future version.Populate notification preference data into target.CustomerModel contains UID which is the email address SmsNotificationChannelStrategy will provide the phone numbervoidsetSmsNotificationChannelStrategy(SmsNotificationChannelStrategy smsNotificationChannelStrategy)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getSmsNotificationChannelStrategy
public SmsNotificationChannelStrategy getSmsNotificationChannelStrategy()
Deprecated, for removal: This API element is subject to removal in a future version.
-
setSmsNotificationChannelStrategy
public void setSmsNotificationChannelStrategy(SmsNotificationChannelStrategy smsNotificationChannelStrategy)
Deprecated, for removal: This API element is subject to removal in a future version.
-
populate
public void populate(CustomerModel source, NotificationPreferenceData target)
Deprecated, for removal: This API element is subject to removal in a future version.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
-
-