Class SECOrderWSPopulator
- java.lang.Object
-
- com.sap.hybris.sec.eventpublisher.populator.SECOrderWSPopulator
-
- All Implemented Interfaces:
Populator<OrderModel,OrderWS>
public class SECOrderWSPopulator extends java.lang.Object implements Populator<OrderModel,OrderWS>
-
-
Constructor Summary
Constructors Constructor Description SECOrderWSPopulator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.lang.String
dateFormatter(java.util.Date date, java.lang.String formatterType)
ConfigurationService
getConfigurationService()
void
populate(OrderModel source, OrderWS target)
Populate the target instance with values from the source instance.protected void
populateOrderFields(OrderModel orderModel, OrderWS orderWSJson)
void
setConfigurationService(ConfigurationService configurationService)
-
-
-
Method Detail
-
populate
public void populate(OrderModel source, OrderWS target) throws ConversionException
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in interfacePopulator<OrderModel,OrderWS>
- Parameters:
source
- the source objecttarget
- the target to fill- Throws:
ConversionException
- if an error occurs
-
populateOrderFields
protected void populateOrderFields(OrderModel orderModel, OrderWS orderWSJson)
-
dateFormatter
protected static java.lang.String dateFormatter(java.util.Date date, java.lang.String formatterType)
-
getConfigurationService
public ConfigurationService getConfigurationService()
- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
- Parameters:
configurationService
- the configurationService to set
-
-