Package io.revealbi.core
Interface IDashboardExporter
- All Known Implementing Classes:
DefaultDashboardExporter
public interface IDashboardExporter
Interface exposing methods to export dashboards to different formats.
-
Method Summary
Modifier and TypeMethodDescriptionexport(ExportFormat format, String dashboardId) Exports a dashboard to a specific formatexport(ExportFormat format, String dashboardId, IRVUserContext userContext, IExportOptions options) Exports a dashboard to a specific formatexport(ExportFormat format, String dashboardId, String filePath) Exports a dashboard to a specific formatexport(ExportFormat format, String dashboardId, String filePath, IRVUserContext userContext, IExportOptions options) Exports a dashboard to a specific formatexportToCsv(String dashboardId) Exports a dashboard to CSV.exportToCsv(String dashboardId, IRVUserContext userContext, CsvExportOptions options) Exports a dashboard to CSV.exportToCsv(String dashboardId, String filePath) Exports a dashboard to CSV.exportToCsv(String dashboardId, String filePath, IRVUserContext userContext, CsvExportOptions options) Exports a dashboard to CSV.exportToExcel(String dashboardId) Exports a dashboard to Excel.exportToExcel(String dashboardId, IRVUserContext userContext, ExcelExportOptions options) Exports a dashboard to Excel.exportToExcel(String dashboardId, String filePath) Exports a dashboard to Excel.exportToExcel(String dashboardId, String filePath, IRVUserContext userContext, ExcelExportOptions options) Exports a dashboard to Excel.exportToImage(String dashboardId) Exports a dashboard to Image (png).exportToImage(String dashboardId, IRVUserContext userContext, ImageExportOptions options) Exports a dashboard to Image (png).exportToImage(String dashboardId, String filePath) Exports a dashboard to Image (png).exportToImage(String dashboardId, String filePath, IRVUserContext userContext, ImageExportOptions options) Exports a dashboard to Image (png).exportToPdf(String dashboardId) Exports a dashboard to Pdf.exportToPdf(String dashboardId, IRVUserContext userContext, PdfExportOptions options) Exports a dashboard to Pdf.exportToPdf(String dashboardId, String filePath) Exports a dashboard to Pdf.exportToPdf(String dashboardId, String filePath, IRVUserContext userContext, PdfExportOptions options) Exports a dashboard to Pdf.exportToPowerPoint(String dashboardId) Exports a dashboard to PowerPoint.exportToPowerPoint(String dashboardId, IRVUserContext userContext, PowerPointExportOptions options) Exports a dashboard to PowerPoint.exportToPowerPoint(String dashboardId, String filePath) Exports a dashboard to PowerPoint.exportToPowerPoint(String dashboardId, String filePath, IRVUserContext userContext, PowerPointExportOptions options) Exports a dashboard to PowerPoint.
-
Method Details
-
export
Exports a dashboard to a specific format- Parameters:
format-ExportFormatindicating the output formatdashboardId- Dashboard identifier- Returns:
- Stream containing the output file
-
export
Exports a dashboard to a specific format- Parameters:
format-ExportFormatindicating the output formatdashboardId- Dashboard identifierfilePath- Destination file for the exported dashboard
-
export
CompletableFuture<InputStream> export(ExportFormat format, String dashboardId, IRVUserContext userContext, IExportOptions options) Exports a dashboard to a specific format- Parameters:
format-ExportFormatindicating the output formatdashboardId- Dashboard identifieruserContext- User contextoptions-IExportOptions- Returns:
- Stream containing the output file
-
export
CompletableFuture<String> export(ExportFormat format, String dashboardId, String filePath, IRVUserContext userContext, IExportOptions options) Exports a dashboard to a specific format- Parameters:
format-ExportFormatindicating the output formatdashboardId- Dashboard identifierfilePath- Path where the resulting file will be copied.userContext- User contextoptions-IExportOptions
-
exportToPdf
Exports a dashboard to Pdf.- Parameters:
dashboardId- Dashboard identifier.
-
exportToPdf
CompletableFuture<InputStream> exportToPdf(String dashboardId, IRVUserContext userContext, PdfExportOptions options) Exports a dashboard to Pdf.- Parameters:
dashboardId- Dashboard identifier.userContext- The user context.options- Pdf export optionsPdfExportOptions.
-
exportToPdf
Exports a dashboard to Pdf.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.
-
exportToPdf
CompletableFuture<String> exportToPdf(String dashboardId, String filePath, IRVUserContext userContext, PdfExportOptions options) Exports a dashboard to Pdf.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.userContext- The user context.options- Pdf export optionsPdfExportOptions.
-
exportToExcel
Exports a dashboard to Excel.- Parameters:
dashboardId- Dashboard identifier.
-
exportToExcel
CompletableFuture<InputStream> exportToExcel(String dashboardId, IRVUserContext userContext, ExcelExportOptions options) Exports a dashboard to Excel.- Parameters:
dashboardId- Dashboard identifier.userContext- The user context.options- Excel export optionsExcelExportOptions.
-
exportToExcel
Exports a dashboard to Excel.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.
-
exportToExcel
CompletableFuture<String> exportToExcel(String dashboardId, String filePath, IRVUserContext userContext, ExcelExportOptions options) Exports a dashboard to Excel.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.userContext- The user context.options- Excel export optionsExcelExportOptions.
-
exportToPowerPoint
Exports a dashboard to PowerPoint.- Parameters:
dashboardId- Dashboard identifier.
-
exportToPowerPoint
CompletableFuture<InputStream> exportToPowerPoint(String dashboardId, IRVUserContext userContext, PowerPointExportOptions options) Exports a dashboard to PowerPoint.- Parameters:
dashboardId- Dashboard identifier.userContext- The user context.options- PowerPoint export optionsPowerPointExportOptions.
-
exportToPowerPoint
Exports a dashboard to PowerPoint.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.
-
exportToPowerPoint
CompletableFuture<String> exportToPowerPoint(String dashboardId, String filePath, IRVUserContext userContext, PowerPointExportOptions options) Exports a dashboard to PowerPoint.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.userContext- The user context.options- PowerPoint export optionsPowerPointExportOptions.
-
exportToImage
Exports a dashboard to Image (png).- Parameters:
dashboardId- Dashboard identifier.
-
exportToImage
CompletableFuture<InputStream> exportToImage(String dashboardId, IRVUserContext userContext, ImageExportOptions options) Exports a dashboard to Image (png).- Parameters:
dashboardId- Dashboard identifier.userContext- The user context.options- Image export optionsImageExportOptions.
-
exportToImage
Exports a dashboard to Image (png).- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.
-
exportToImage
CompletableFuture<String> exportToImage(String dashboardId, String filePath, IRVUserContext userContext, ImageExportOptions options) Exports a dashboard to Image (png).- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.userContext- The user context.options- Image export optionsImageExportOptions.
-
exportToCsv
Exports a dashboard to CSV.- Parameters:
dashboardId- Dashboard identifier.
-
exportToCsv
CompletableFuture<InputStream> exportToCsv(String dashboardId, IRVUserContext userContext, CsvExportOptions options) Exports a dashboard to CSV.- Parameters:
dashboardId- Dashboard identifier.userContext- The user context.options- CSV export optionsCsvExportOptions.
-
exportToCsv
Exports a dashboard to CSV.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.
-
exportToCsv
CompletableFuture<String> exportToCsv(String dashboardId, String filePath, IRVUserContext userContext, CsvExportOptions options) Exports a dashboard to CSV.- Parameters:
dashboardId- Dashboard identifier.filePath- Destination file for the exported dashboard.userContext- The user context.options- CSV export optionsCsvExportOptions.
-