public class ReportTemplateAdmin
extends org.wso2.carbon.core.AbstractAdmin
Constructor and Description |
---|
ReportTemplateAdmin() |
Modifier and Type | Method and Description |
---|---|
void |
addCompositeReport(String[] templateNames,
String compositeReportName) |
void |
addNewChartReport(ChartReportDTO chartReport) |
void |
addNewTableReport(TableReportDTO tableReport) |
void |
deleteReport(String reportname) |
DataHandler |
generateReport(String reportName,
String type) |
String[] |
getAllDatasourceNames() |
String[] |
getColumnNames(String dsName,
String tableName) |
String[] |
getTableNames(String dsName) |
TableReportDTO |
getTableReport(String jrxmlFileName) |
boolean |
isCompositeReport(String reportName) |
boolean |
isReportExists(String reportName) |
void |
updateTableReport(TableReportDTO tableReport,
String jrxmlFileName) |
String |
validateFields(String chartType,
String dsName,
String tableName,
String[] yAxis) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public void addNewTableReport(TableReportDTO tableReport) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public void addNewChartReport(ChartReportDTO chartReport) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public void updateTableReport(TableReportDTO tableReport, String jrxmlFileName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public TableReportDTO getTableReport(String jrxmlFileName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public DataHandler generateReport(String reportName, String type) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public String[] getAllDatasourceNames() throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public String[] getTableNames(String dsName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public String[] getColumnNames(String dsName, String tableName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public boolean isReportExists(String reportName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public String validateFields(String chartType, String dsName, String tableName, String[] yAxis) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public void addCompositeReport(String[] templateNames, String compositeReportName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public void deleteReport(String reportname) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public boolean isCompositeReport(String reportName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
Copyright © 2024 WSO2. All rights reserved.