Package io.revealbi.core
Class ExportOptions
java.lang.Object
io.revealbi.core.ExportOptions
- All Implemented Interfaces:
IExportOptions
- Direct Known Subclasses:
CsvExportOptions,DocumentExportOptions,ExcelExportOptions,ImageExportOptions
Contains base configuration for exporting a dashboard.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the export options.ExportOptions(IExportOptions options) Initializes a new instance of the export options from existing export options. -
Method Summary
Modifier and TypeMethodDescriptionDashboard filters applied during the export.booleanIndicates whether a summary page listing the active filters is appended to the export.Maximum age of cached data used during the export.intMax cells returned when getting dashboard datagetTheme()Theme object to indicate export used colorsintTimeout in seconds for exporting a dashboardTimezone in IANA formatbooleanUser languageList of visualizations that will be exported.voidsetFilters(ArrayList<IRVDashboardFilter> filters) Dashboard filters applied during the export.voidsetIncludeFiltersSummaryPage(boolean includeFiltersSummary) Indicates whether a summary page listing the active filters is appended to the export.voidsetMaxCacheAge(Duration maxCacheAge) Maximum age of cached data used during the export.voidsetMaxCells(int maxCells) Max cells returned when getting dashboard datavoidsetTheme(IDashboardTheme theme) Theme object to indicate export used colorsvoidsetTimeout(int seconds) Timeout in seconds for exporting a dashboardvoidsetTimeZone(String tz) Timezone in IANA formatvoidsetUseNewCharts(boolean useNewCharts) voidUser languagevoidsetVisualizations(ArrayList<VisualizationExport> visualizations) List of visualizations that will be exported.
-
Constructor Details
-
ExportOptions
public ExportOptions()Initializes a new instance of the export options. -
ExportOptions
Initializes a new instance of the export options from existing export options.- Parameters:
options- The export options to copy values from.
-
-
Method Details
-
setUseNewCharts
public void setUseNewCharts(boolean useNewCharts) - Specified by:
setUseNewChartsin interfaceIExportOptions
-
getUseNewCharts
public boolean getUseNewCharts()- Specified by:
getUseNewChartsin interfaceIExportOptions
-
getTheme
Theme object to indicate export used colors- Specified by:
getThemein interfaceIExportOptions- Returns:
- Theme object to indicate export used colors
-
setTheme
Theme object to indicate export used colors- Specified by:
setThemein interfaceIExportOptions- Parameters:
theme- Theme object to indicate export used colors
-
setTimeout
public void setTimeout(int seconds) Timeout in seconds for exporting a dashboard- Specified by:
setTimeoutin interfaceIExportOptions- Parameters:
seconds- Timeout in seconds for exporting a dashboard
-
getTimeout
public int getTimeout()Timeout in seconds for exporting a dashboard- Specified by:
getTimeoutin interfaceIExportOptions- Returns:
- Timeout in seconds for exporting a dashboard
-
setTimeZone
Timezone in IANA format- Specified by:
setTimeZonein interfaceIExportOptions- Parameters:
tz- Timezone in IANA format
-
getTimeZone
Timezone in IANA format- Specified by:
getTimeZonein interfaceIExportOptions- Returns:
- Timezone in IANA format
-
setMaxCacheAge
Maximum age of cached data used during the export.- Specified by:
setMaxCacheAgein interfaceIExportOptions- Parameters:
maxCacheAge- Maximum age of cached data used during the export.
-
getMaxCacheAge
Maximum age of cached data used during the export.- Specified by:
getMaxCacheAgein interfaceIExportOptions- Returns:
- Maximum age of cached data used during the export.
-
setMaxCells
public void setMaxCells(int maxCells) Max cells returned when getting dashboard data- Specified by:
setMaxCellsin interfaceIExportOptions- Parameters:
maxCells- Max cells returned when getting dashboard data
-
getMaxCells
public int getMaxCells()Max cells returned when getting dashboard data- Specified by:
getMaxCellsin interfaceIExportOptions- Returns:
- Max cells returned when getting dashboard data
-
setUserLanguage
User language- Specified by:
setUserLanguagein interfaceIExportOptions- Parameters:
ul- User language
-
getUserLanguage
User language- Specified by:
getUserLanguagein interfaceIExportOptions- Returns:
- User language
-
setVisualizations
List of visualizations that will be exported. If this collection is empty all visualizations are exported- Specified by:
setVisualizationsin interfaceIExportOptions- Parameters:
visualizations- List of visualizations that will be exported. If this collection is empty all visualizations are exported
-
getVisualizations
List of visualizations that will be exported. If this collection is empty all visualizations are exported- Specified by:
getVisualizationsin interfaceIExportOptions- Returns:
- List of visualizations that will be exported. If this collection is empty all visualizations are exported
-
getFilters
Dashboard filters applied during the export.- Specified by:
getFiltersin interfaceIExportOptions- Returns:
- Dashboard filters applied during the export.
-
setFilters
Dashboard filters applied during the export.- Specified by:
setFiltersin interfaceIExportOptions- Parameters:
filters- Dashboard filters applied during the export.
-
getIncludeFiltersSummaryPage
public boolean getIncludeFiltersSummaryPage()Indicates whether a summary page listing the active filters is appended to the export.- Specified by:
getIncludeFiltersSummaryPagein interfaceIExportOptions- Returns:
- Indicates whether a summary page listing the active filters is appended to the export.
-
setIncludeFiltersSummaryPage
public void setIncludeFiltersSummaryPage(boolean includeFiltersSummary) Indicates whether a summary page listing the active filters is appended to the export.- Specified by:
setIncludeFiltersSummaryPagein interfaceIExportOptions- Parameters:
includeFiltersSummary- Indicates whether a summary page listing the active filters is appended to the export.
-