Class CompleteProductExampleImportResolver

java.lang.Object
com.broadleafcommerce.dataimport.service.AbstractExampleImportResolver
com.broadleafcommerce.dataimport.service.CompleteProductExampleImportResolver
All Implemented Interfaces:
ExampleImportResolver

public class CompleteProductExampleImportResolver extends AbstractExampleImportResolver implements ExampleImportResolver
Returns an example import file resource matching CompleteProductImportSpecification.
Author:
Kelly Tisdell (ktisdell)
See Also:
  • Constructor Details

    • CompleteProductExampleImportResolver

      public CompleteProductExampleImportResolver()
  • Method Details

    • resolveExample

      public org.springframework.core.io.Resource resolveExample(String type, String fileType)
      Description copied from interface: ExampleImportResolver
      Resolve an import file used as an example for the end user to download
      Specified by:
      resolveExample in interface ExampleImportResolver
      Parameters:
      type - usually from DefaultImportType like PRODUCT is being requested
      fileType - file type that the import is requested for
      Returns:
      a resource to the example file