Class CustomerRowConverter

java.lang.Object
com.broadleafcommerce.common.dataexport.service.specification.AbstractExportRowConverter<Customer>
com.broadleafcommerce.customer.dataexport.converter.CustomerRowConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<Customer,Map<String,String>>

public class CustomerRowConverter extends com.broadleafcommerce.common.dataexport.service.specification.AbstractExportRowConverter<Customer>
Converts a Customer to a Map row representation.
Author:
Vitalii Voronkov (vvoronkov)
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomerRowConverter(com.broadleafcommerce.common.dataexport.service.specification.ExportSpecification specification, com.fasterxml.jackson.databind.ObjectMapper baseMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(Customer source)
     
    protected com.fasterxml.jackson.databind.module.SimpleModule
    getSpecificationExportModule(com.broadleafcommerce.common.dataexport.service.specification.ExportSpecification specification)
     

    Methods inherited from class com.broadleafcommerce.common.dataexport.service.specification.AbstractExportRowConverter

    configureMapper, convertAndNormalize, convertAndNormalize, getHeaders, getMapper, getSpecification, normalizeExportDataRow

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.core.convert.converter.Converter

    andThen
  • Constructor Details

    • CustomerRowConverter

      public CustomerRowConverter(com.broadleafcommerce.common.dataexport.service.specification.ExportSpecification specification, com.fasterxml.jackson.databind.ObjectMapper baseMapper)
  • Method Details

    • convert

      public Map<String,String> convert(Customer source)
    • getSpecificationExportModule

      protected com.fasterxml.jackson.databind.module.SimpleModule getSpecificationExportModule(com.broadleafcommerce.common.dataexport.service.specification.ExportSpecification specification)
      Overrides:
      getSpecificationExportModule in class com.broadleafcommerce.common.dataexport.service.specification.AbstractExportRowConverter<Customer>