Class B2BUnitReversePopulator
java.lang.Object
de.hybris.platform.b2bcommercefacades.company.converters.populators.B2BUnitReversePopulator
- All Implemented Interfaces:
Populator<B2BUnitData,B2BUnitModel>
Reverse populator, to populate a
B2BUnitModel from a B2BUnitData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B2BCommerceUnitServiceprotected B2BUnitService<B2BUnitModel,UserModel> voidpopulate(B2BUnitData source, B2BUnitModel target) Populate the target instance with values from the source instance.voidsetB2bCommerceUnitService(B2BCommerceUnitService b2bUnitService) voidsetB2bUnitService(B2BUnitService<B2BUnitModel, UserModel> b2bUnitService)
-
Constructor Details
-
B2BUnitReversePopulator
public B2BUnitReversePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<B2BUnitData,B2BUnitModel> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getB2bUnitService
-
setB2bUnitService
-
getB2bCommerceUnitService
-
setB2bCommerceUnitService
-