Package de.hybris.platform.b2b.mail.impl
Class DefaultOrderInfoContextDtoFactory
- java.lang.Object
-
- de.hybris.platform.b2b.mail.impl.DefaultOrderInfoContextDtoFactory
-
- All Implemented Interfaces:
OrderInfoContextDtoFactory<OrderInfoContextDto>
public class DefaultOrderInfoContextDtoFactory extends java.lang.Object implements OrderInfoContextDtoFactory<OrderInfoContextDto>
-
-
Constructor Summary
Constructors Constructor Description DefaultOrderInfoContextDtoFactory()
-
Method Summary
-
-
-
Method Detail
-
createOrderInfoEntries
protected java.util.List<OrderInfoContextDto.OrderEntryInfoContextDto> createOrderInfoEntries(OrderModel order)
-
createOrderInfoContextDto
public OrderInfoContextDto createOrderInfoContextDto(OrderModel order)
Initializes this dto with values form the order to be used by velocity or anyother rendering engine. The default implementation- Specified by:
createOrderInfoContextDtoin interfaceOrderInfoContextDtoFactory<OrderInfoContextDto>- Parameters:
order- A hybris Order model- Returns:
- An initialized Context
-
setAllStringAttributesToEmpty
public void setAllStringAttributesToEmpty(java.lang.Object ctx)
Initialize all the class fields of type String to an empty string.- Parameters:
ctx- the new all string attributes to empty
-
getCommonI18NService
protected CommonI18NService getCommonI18NService()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getB2bCurrencyConversionService
protected B2BCurrencyConversionService getB2bCurrencyConversionService()
-
setB2bCurrencyConversionService
public void setB2bCurrencyConversionService(B2BCurrencyConversionService b2bCurrencyConversionService)
-
getB2BOrderService
protected B2BOrderService getB2BOrderService()
-
setB2BOrderService
public void setB2BOrderService(B2BOrderService b2bOrderService)
-
-