Class SECCustomerPopulator
- java.lang.Object
-
- com.sap.hybris.sec.eventpublisher.populator.SECCustomerPopulator
-
- All Implemented Interfaces:
Populator<CustomerModel,Customer>
public class SECCustomerPopulator extends java.lang.Object implements Populator<CustomerModel,Customer>
-
-
Constructor Summary
Constructors Constructor Description SECCustomerPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationServicegetConfigurationService()CustomerNameStrategygetCustomerNameStrategy()voidpopulate(CustomerModel source, Customer target)Populate the target instance with values from the source instance.protected voidpopulateCustomerFields(CustomerModel source, Customer customerData)voidsetConfigurationService(ConfigurationService configurationService)voidsetCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
-
-
-
Method Detail
-
populate
public void populate(CustomerModel source, Customer target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<CustomerModel,Customer>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
populateCustomerFields
protected void populateCustomerFields(CustomerModel source, Customer customerData)
-
getCustomerNameStrategy
public CustomerNameStrategy getCustomerNameStrategy()
- Returns:
- the customerNameStrategy
-
setCustomerNameStrategy
public void setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
- Parameters:
customerNameStrategy- the customerNameStrategy to set
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService- the configurationService to set
-
-