Class CartVoucherValidationErrorConverter
java.lang.Object
de.hybris.platform.converters.impl.AbstractConverter<CartVoucherValidationData,ErrorWsDTO>
de.hybris.platform.ycommercewebservices.errors.converters.CartVoucherValidationErrorConverter
- All Implemented Interfaces:
Populator<CartVoucherValidationData,,ErrorWsDTO> Converter<CartVoucherValidationData,,ErrorWsDTO> org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean,org.springframework.core.convert.converter.Converter<CartVoucherValidationData,ErrorWsDTO>
public class CartVoucherValidationErrorConverter
extends AbstractConverter<CartVoucherValidationData,ErrorWsDTO>
Converts
CartVoucherValidationData to a ErrorWsDTO.-
Constructor Summary
ConstructorsConstructorDescriptionCartVoucherValidationErrorConverter(I18NService i18NService, org.springframework.context.MessageSource messageSource) -
Method Summary
Modifier and TypeMethodDescriptionprotected I18NServiceprotected org.springframework.context.MessageSourcevoidpopulate(CartVoucherValidationData cartVoucherValidationData, ErrorWsDTO errorWsDTO) Override this method to populate the target from the sourceMethods inherited from class de.hybris.platform.converters.impl.AbstractConverter
afterPropertiesSet, convert, convert, createFromClass, createTarget, getMyBeanName, setBeanName, setTargetClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLoggerMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
CartVoucherValidationErrorConverter
public CartVoucherValidationErrorConverter(I18NService i18NService, org.springframework.context.MessageSource messageSource)
-
-
Method Details
-
getI18NService
-
getMessageSource
protected org.springframework.context.MessageSource getMessageSource() -
populate
Description copied from class:AbstractConverterOverride this method to populate the target from the source- Specified by:
populatein interfacePopulator<CartVoucherValidationData,ErrorWsDTO> - Specified by:
populatein classAbstractConverter<CartVoucherValidationData,ErrorWsDTO> - Parameters:
cartVoucherValidationData- the source instanceerrorWsDTO- the target instance to fill- See Also:
-