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.StringdateFormatter(java.util.Date date, java.lang.String formatterType)ConfigurationServicegetConfigurationService()voidpopulate(OrderModel source, OrderWS target)Populate the target instance with values from the source instance.protected voidpopulateOrderFields(OrderModel orderModel, OrderWS orderWSJson)voidsetConfigurationService(ConfigurationService configurationService)
-
-
-
Method Detail
-
populate
public void populate(OrderModel source, OrderWS target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein 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
-
-