public final class DashboardExportSpec
extends com.orchestranetworks.addon.dqid.dashboard.AbstractDashboardExportSpec
| Constructor and Description |
|---|
DashboardExportSpec(DashboardExportType exportType,
DashboardConfiguration dashboardConfiguration,
com.onwbp.adaptation.Adaptation dataset,
File targetFile,
com.orchestranetworks.service.Session session)
The export specification for a dashboard at the data set level.
|
DashboardExportSpec(DashboardExportType exportType,
DashboardConfiguration dashboardConfiguration,
com.onwbp.adaptation.AdaptationHome dataspace,
File targetFile,
com.orchestranetworks.service.Session session)
The export specification for a dashboard at the data space level.
|
DashboardExportSpec(DashboardExportType exportType,
DashboardConfiguration dashboardConfiguration,
com.onwbp.adaptation.AdaptationTable table,
File targetFile,
com.orchestranetworks.service.Session session)
The export specification for a dashboard at the table level.
|
DashboardExportSpec(DashboardExportType exportType,
DashboardConfiguration dashboardConfiguration,
com.orchestranetworks.instance.Repository repository,
File targetFile,
com.orchestranetworks.service.Session session)
The export specification for a dashboard at the repository level, or a dashboard with a dashboard context specified in
DashboardConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
DashboardConfiguration |
getDashboardConfiguration()
Returns the dashboard configuration.
|
com.onwbp.adaptation.Adaptation |
getDataset()
Returns the target data set.
|
com.onwbp.adaptation.AdaptationHome |
getDataspace()
Returns the 'Master data - Reference' data space if a context in the configuration is specified or the dashboard is at the repository level.
|
DashboardExportType |
getExportType()
Returns the export type.
|
File |
getPdfFile()
Returns the PDF file after an export.
|
com.orchestranetworks.instance.Repository |
getRepository()
Returns the current repository.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current session.
|
com.onwbp.adaptation.AdaptationTable |
getTable()
Returns the target table.
|
File |
getXmlFile()
Returns the XML file after an export.
|
void |
setXmlFile(File xmlFile)
Specifies an XML file to transform the dashboard to PDF.
|
public DashboardExportSpec(DashboardExportType exportType, DashboardConfiguration dashboardConfiguration, com.orchestranetworks.instance.Repository repository, File targetFile, com.orchestranetworks.service.Session session)
DashboardConfiguration.exportType - The output format.dashboardConfiguration - Contains the dashboard's configuration information.repository - The current repository.targetFile - The target file or directory of the export. Currently, XML and PDF formats are supported.session - The current session.IllegalArgumentException - If one of the parameters is null.DashboardExportType,
DashboardConfigurationpublic DashboardExportSpec(DashboardExportType exportType, DashboardConfiguration dashboardConfiguration, com.onwbp.adaptation.AdaptationHome dataspace, File targetFile, com.orchestranetworks.service.Session session)
If a dashboard context is specified in DashboardConfiguration, it will be used instead.
exportType - The output format.dashboardConfiguration - Contains the dashboard's configuration information.dataspace - The target data space for the dashboard.targetFile - The target file or directory of the export. Currently, XML and PDF formats are supported.session - The current session.IllegalArgumentException - If one of the parameters is null.DashboardExportType,
DashboardConfigurationpublic DashboardExportSpec(DashboardExportType exportType, DashboardConfiguration dashboardConfiguration, com.onwbp.adaptation.Adaptation dataset, File targetFile, com.orchestranetworks.service.Session session)
If a dashboard context is specified in DashboardConfiguration, it will be used instead.
exportType - The output format.dashboardConfiguration - Contains the dashboard's configuration information.dataset - The target data set for the dashboard.targetFile - The target file or directory of the export. Currently, XML and PDF formats are supported.session - The current session.IllegalArgumentException - If one of the parameters is null.DashboardExportType,
DashboardConfigurationpublic DashboardExportSpec(DashboardExportType exportType, DashboardConfiguration dashboardConfiguration, com.onwbp.adaptation.AdaptationTable table, File targetFile, com.orchestranetworks.service.Session session)
If a dashboard context is specified in DashboardConfiguration, it will be used instead.
exportType - The output format.dashboardConfiguration - Contains the dashboard's configuration information.table - The target table for the dashboard.targetFile - The target file or directory of the export. Currently, XML and PDF formats are supported.session - The current session.IllegalArgumentException - If one of the parameters is null.DashboardExportType,
DashboardConfigurationpublic DashboardExportType getExportType()
DashboardExportTypepublic DashboardConfiguration getDashboardConfiguration()
DashboardConfigurationpublic final com.orchestranetworks.service.Session getSession()
public File getXmlFile()
Otherwise, returns null.
public void setXmlFile(File xmlFile)
public File getPdfFile()
Returns null if the export type is not DashboardExportType.DASHBOARD_TO_PDF or the export is not done.
public com.orchestranetworks.instance.Repository getRepository()
public com.onwbp.adaptation.AdaptationHome getDataspace()
Otherwise, returns the target data space.
DashboardExportSpec(DashboardExportType, DashboardConfiguration, Repository, File, Session),
DashboardExportSpec(DashboardExportType, DashboardConfiguration, AdaptationHome, File, Session),
DashboardExportSpec(DashboardExportType, DashboardConfiguration, Adaptation, File, Session),
DashboardExportSpec(DashboardExportType, DashboardConfiguration, AdaptationTable, File, Session)public com.onwbp.adaptation.Adaptation getDataset()
Returns null if the context is data space or higher.
public com.onwbp.adaptation.AdaptationTable getTable()
Returns null if the context is data set or higher.