Class SECReturnRequestPopulator
- java.lang.Object
-
- com.sap.hybris.sec.eventpublisher.populator.SECReturnRequestPopulator
-
- All Implemented Interfaces:
Populator<ReturnRequestModel,ReturnRequest>
public class SECReturnRequestPopulator extends java.lang.Object implements Populator<ReturnRequestModel,ReturnRequest>
-
-
Constructor Summary
Constructors Constructor Description SECReturnRequestPopulator()
-
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)
protected java.util.List<ReturnStatus>
getCancellableReturnStatusList()
ConfigurationService
getConfigurationService()
CustomerNameStrategy
getCustomerNameStrategy()
void
populate(ReturnRequestModel source, ReturnRequest target)
Populate the target instance with values from the source instance.protected void
populateIndexOrder(OrderModel orderModel, java.util.Map<java.lang.String,java.lang.String> indexOrderData, CustomerModel customerModel)
protected void
populateReturnRequestFields(ReturnRequestModel returnRequestModel, ReturnRequest returnRequest)
void
setCancellableReturnStatusList(java.util.List<ReturnStatus> cancellableReturnStatusList)
void
setConfigurationService(ConfigurationService configurationService)
void
setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
-
-
-
Method Detail
-
populate
public void populate(ReturnRequestModel source, ReturnRequest target) throws ConversionException
Description copied from interface:Populator
Populate the target instance with values from the source instance.- Specified by:
populate
in interfacePopulator<ReturnRequestModel,ReturnRequest>
- Parameters:
source
- the source objecttarget
- the target to fill- Throws:
ConversionException
- if an error occurs
-
populateReturnRequestFields
protected void populateReturnRequestFields(ReturnRequestModel returnRequestModel, ReturnRequest returnRequest)
-
populateIndexOrder
protected void populateIndexOrder(OrderModel orderModel, java.util.Map<java.lang.String,java.lang.String> indexOrderData, CustomerModel customerModel)
-
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
-
getCustomerNameStrategy
public CustomerNameStrategy getCustomerNameStrategy()
- Returns:
- the customerNameStrategy
-
setCustomerNameStrategy
public void setCustomerNameStrategy(CustomerNameStrategy customerNameStrategy)
- Parameters:
customerNameStrategy
- the customerNameStrategy to set
-
getCancellableReturnStatusList
protected java.util.List<ReturnStatus> getCancellableReturnStatusList()
-
setCancellableReturnStatusList
public void setCancellableReturnStatusList(java.util.List<ReturnStatus> cancellableReturnStatusList)
-
-