Class B2ctelcoAddressReversePopulator

java.lang.Object
de.hybris.platform.commercefacades.user.converters.populator.AddressReversePopulator
de.hybris.platform.b2ctelcofacades.user.converters.populator.B2ctelcoAddressReversePopulator
All Implemented Interfaces:
de.hybris.platform.converters.Populator<AddressData,AddressModel>

public class B2ctelcoAddressReversePopulator extends de.hybris.platform.commercefacades.user.converters.populator.AddressReversePopulator
An extension to the standard AddressReversePopulator. Allows addresses with countries that have no regions (not allowed in default B2C).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populate(AddressData addressData, AddressModel addressModel)
    After populating the address data (using the superclass method), this extension checks if the region is null, and sets it as such on the AddressModel.

    Methods inherited from class de.hybris.platform.commercefacades.user.converters.populator.AddressReversePopulator

    getCommonI18NService, getFlexibleSearchService, setCommonI18NService, setFlexibleSearchService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • B2ctelcoAddressReversePopulator

      public B2ctelcoAddressReversePopulator()
  • Method Details

    • populate

      public void populate(AddressData addressData, AddressModel addressModel) throws de.hybris.platform.servicelayer.dto.converter.ConversionException
      After populating the address data (using the superclass method), this extension checks if the region is null, and sets it as such on the AddressModel.
      Specified by:
      populate in interface de.hybris.platform.converters.Populator<AddressData,AddressModel>
      Overrides:
      populate in class de.hybris.platform.commercefacades.user.converters.populator.AddressReversePopulator
      Throws:
      de.hybris.platform.servicelayer.dto.converter.ConversionException