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 Object implements Populator<CustomerModel,NotificationPreferenceData>
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.7, use NotificationPreferencesPopulator due to the customerModel update
Populator to populate notification preference data
  • Constructor Details

    • NotificationPreferencePopulator

      public NotificationPreferencePopulator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • 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:
      populate in interface Populator<CustomerModel,NotificationPreferenceData>
      Parameters:
      source - The UID in CustomerModel will be used to fill emailAddress in target
      target - The target will contain the populated notification preference data about whether email and sms are enabled and what their detail informations are