Class DefaultExportDownloadService

java.lang.Object
com.broadleafcommerce.common.dataexport.service.DefaultExportDownloadService
All Implemented Interfaces:
ExportDownloadService

public class DefaultExportDownloadService extends Object implements ExportDownloadService
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

  • Method Details

    • getExportFile

      public Optional<org.springframework.core.io.Resource> getExportFile(String exportId)
      Description copied from interface: ExportDownloadService
      Returns the export file resource for the given export.
      Specified by:
      getExportFile in interface ExportDownloadService
      Parameters:
      exportId - the ID of the export whose file should be retrieved
      Returns:
      the export file resource, or empty if nothing was found for the given export