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>
ConvertsCartVoucherValidationDatato aErrorWsDTO.
-
-
Constructor Summary
Constructors Constructor Description CartVoucherValidationErrorConverter(I18NService i18NService, org.springframework.context.MessageSource messageSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected I18NServicegetI18NService()protected org.springframework.context.MessageSourcegetMessageSource()voidpopulate(CartVoucherValidationData cartVoucherValidationData, ErrorWsDTO errorWsDTO)Override this method to populate the target from the source-
Methods inherited from class de.hybris.platform.converters.impl.AbstractConverter
afterPropertiesSet, convert, convert, createFromClass, createTarget, getMyBeanName, setBeanName, setTargetClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.servicelayer.dto.converter.Converter
convertAll, convertAllIgnoreExceptions, getLogger
-
-
-
-
Constructor Detail
-
CartVoucherValidationErrorConverter
public CartVoucherValidationErrorConverter(I18NService i18NService, org.springframework.context.MessageSource messageSource)
-
-
Method Detail
-
getI18NService
protected I18NService getI18NService()
-
getMessageSource
protected org.springframework.context.MessageSource getMessageSource()
-
populate
public void populate(CartVoucherValidationData cartVoucherValidationData, ErrorWsDTO errorWsDTO)
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:
AbstractConverter.setTargetClass(Class)
-
-