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 ConfigurationService
getConfigurationService()
CustomerNameStrategy
getCustomerNameStrategy()
void
populate(CustomerModel source, Customer target)
Populate the target instance with values from the source instance.protected void
populateCustomerFields(CustomerModel source, Customer customerData)
void
setConfigurationService(ConfigurationService configurationService)
void
setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
-
-
-
Method Detail
-
populate
public void populate(CustomerModel source, Customer target) throws ConversionException
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in 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
-
-