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 -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(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
-
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:
populatein interfacede.hybris.platform.converters.Populator<AddressData,AddressModel> - Overrides:
populatein classde.hybris.platform.commercefacades.user.converters.populator.AddressReversePopulator- Throws:
de.hybris.platform.servicelayer.dto.converter.ConversionException
-