es.prodevelop.pui9.export.IDataExporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of es.prodevelop.pui9.services Show documentation
Show all versions of es.prodevelop.pui9.services Show documentation
Support for business layer (BO)
package es.prodevelop.pui9.export;
import es.prodevelop.pui9.file.FileDownload;
import es.prodevelop.pui9.search.ExportRequest;
import es.prodevelop.pui9.search.ExportType;
/**
* This interface is intended to be implemented by all the data exporters
*
* @author Marc Gil - [email protected]
*/
public interface IDataExporter {
/**
* Get the export type of this data exporter
*
* @return The export type of this data exporter
*/
ExportType getExportType();
/**
* Generate the file using the configuration provided in the given request
*
* @param req The request of the export
* @return The generated file represented by a {@link FileDownload}
*/
FileDownload export(ExportRequest req);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy