Class BaseStorePopulator
java.lang.Object
de.hybris.platform.commercefacades.basestores.converters.populator.BaseStorePopulator
- All Implemented Interfaces:
Populator<BaseStoreModel,BaseStoreData>
Populates
BaseStoreData from BaseStoreModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<CountryModel,CountryData> protected Converter<CurrencyModel,CurrencyData> protected Converter<DeliveryModeModel,DeliveryModeData> protected Converter<LanguageModel,LanguageData> protected Converter<PointOfServiceModel,PointOfServiceData> voidpopulate(BaseStoreModel source, BaseStoreData target) Populate the target instance with values from the source instance.voidsetCountryConverter(Converter<CountryModel, CountryData> countryConverter) voidsetCurrencyConverter(Converter<CurrencyModel, CurrencyData> currencyConverter) voidsetDeliveryModeConverter(Converter<DeliveryModeModel, DeliveryModeData> deliveryModeConverter) voidsetLanguageConverter(Converter<LanguageModel, LanguageData> languageConverter) voidsetPointOfServiceConverter(Converter<PointOfServiceModel, PointOfServiceData> pointOfServiceConverter)
-
Constructor Details
-
BaseStorePopulator
public BaseStorePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<BaseStoreModel,BaseStoreData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getCurrencyConverter
-
setCurrencyConverter
-
getPointOfServiceConverter
-
setPointOfServiceConverter
public void setPointOfServiceConverter(Converter<PointOfServiceModel, PointOfServiceData> pointOfServiceConverter) -
getLanguageConverter
-
setLanguageConverter
-
getDeliveryModeConverter
-
setDeliveryModeConverter
public void setDeliveryModeConverter(Converter<DeliveryModeModel, DeliveryModeData> deliveryModeConverter) -
getCountryConverter
-
setCountryConverter
-