pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.util.retailer.exports
Class CSVRetailerExporter

java.lang.Object
  extended by org.torweg.pulse.component.util.retailer.exports.AbstractRetailerExporter
      extended by org.torweg.pulse.component.util.retailer.exports.CSVRetailerExporter

public class CSVRetailerExporter
extends AbstractRetailerExporter

A CSV-export for Retailers.

Version:
$Revision: 2025 $
Author:
Daniel Dietz

Constructor Summary
CSVRetailerExporter()
           
 
Method Summary
 java.lang.Object createExportDownload(ServiceRequest request, java.util.List<Retailer> retailers, java.lang.String fileName, int retailStoreFilterSize, int webShopFilterSize)
          Creates the CSV-export to a file named fileName for the given list of Retailers and adds a DownloadEvent to the given ServiceRequest.
 
Methods inherited from class org.torweg.pulse.component.util.retailer.exports.AbstractRetailerExporter
convertBitSetToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVRetailerExporter

public CSVRetailerExporter()
Method Detail

createExportDownload

public final java.lang.Object createExportDownload(ServiceRequest request,
                                                   java.util.List<Retailer> retailers,
                                                   java.lang.String fileName,
                                                   int retailStoreFilterSize,
                                                   int webShopFilterSize)
Creates the CSV-export to a file named fileName for the given list of Retailers and adds a DownloadEvent to the given ServiceRequest.

Specified by:
createExportDownload in class AbstractRetailerExporter
Parameters:
request - the current ServiceRequest
retailers - the Retailers to be exported
fileName - the fileName for the download
retailStoreFilterSize - the size of Retailer.retailStoreFilter
webShopFilterSize - the size of Retailer.webShopFilter
Returns:
null, is supposed to add a DownloadEvent to the request
See Also:
#createExportDownload(org.torweg.pulse.service.request.ServiceRequest, java.util.List, java.lang.String)