Class B2BCostCenterReversePopulator
- java.lang.Object
-
- de.hybris.platform.b2bcommercefacades.company.converters.populators.B2BCostCenterReversePopulator
-
- All Implemented Interfaces:
Populator<B2BCostCenterData,B2BCostCenterModel>
public class B2BCostCenterReversePopulator extends java.lang.Object implements Populator<B2BCostCenterData,B2BCostCenterModel>
PopulatesB2BCostCenterDatawithB2BCostCenterModel.
-
-
Constructor Summary
Constructors Constructor Description B2BCostCenterReversePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected B2BUnitService<B2BUnitModel,B2BCustomerModel>getB2bUnitService()protected CommonI18NServicegetCommonI18NService()voidpopulate(B2BCostCenterData source, B2BCostCenterModel target)Populate the target instance with values from the source instance.voidsetB2bUnitService(B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)voidsetCommonI18NService(CommonI18NService commonI18NService)
-
-
-
Method Detail
-
populate
public void populate(B2BCostCenterData source, B2BCostCenterModel target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<B2BCostCenterData,B2BCostCenterModel>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getB2bUnitService
protected B2BUnitService<B2BUnitModel,B2BCustomerModel> getB2bUnitService()
-
setB2bUnitService
public void setB2bUnitService(B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
-