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 Object
implements OrderInfoContextDtoFactory<OrderInfoContextDto>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInitializes this dto with values form the order to be used by velocity or anyother rendering engine.protected List<OrderInfoContextDto.OrderEntryInfoContextDto>createOrderInfoEntries(OrderModel order) protected B2BCurrencyConversionServiceprotected B2BOrderServiceprotected CommonI18NServiceprotected ConfigurationServicevoidInitialize all the class fields of type String to an empty string.voidsetB2bCurrencyConversionService(B2BCurrencyConversionService b2bCurrencyConversionService) voidsetB2BOrderService(B2BOrderService b2bOrderService) voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetConfigurationService(ConfigurationService configurationService)
-
Constructor Details
-
DefaultOrderInfoContextDtoFactory
public DefaultOrderInfoContextDtoFactory()
-
-
Method Details
-
createOrderInfoEntries
protected List<OrderInfoContextDto.OrderEntryInfoContextDto> createOrderInfoEntries(OrderModel order) -
createOrderInfoContextDto
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
Initialize all the class fields of type String to an empty string.- Parameters:
ctx- the new all string attributes to empty
-
getCommonI18NService
-
setCommonI18NService
-
getConfigurationService
-
setConfigurationService
-
getB2bCurrencyConversionService
-
setB2bCurrencyConversionService
public void setB2bCurrencyConversionService(B2BCurrencyConversionService b2bCurrencyConversionService) -
getB2BOrderService
-
setB2BOrderService
-