public class ReportTemplateClient extends Object
Constructor and Description |
---|
ReportTemplateClient(org.apache.axis2.context.ConfigurationContext configCtx,
String backendServerURL,
String cookie) |
Modifier and Type | Method and Description |
---|---|
void |
addNewCompositeReport(String[] reports,
String compositeRepName) |
void |
addNewReport(org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.ChartReportDTO report) |
void |
addNewReport(org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.TableReportDTO report) |
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.TableReportDTO |
createTableDataInformation(String reportName,
String dsName,
String tableName,
String fieldsStr,
String primaryField) |
DataHandler |
generateReport(String reportName,
String format) |
String[] |
getAlignments() |
String[] |
getAllTemplateFiles() |
String[] |
getAvailableFontNames() |
String[] |
getDatasourceNames() |
String[] |
getFieldNames(String dsName,
String tableName) |
String[] |
getReportTypes() |
String[] |
getTableNames(String dsName) |
boolean |
isReportTemplate(String reportName) |
String |
isValidNumberAxis(String chartType,
String dsname,
String tablename,
String[] fields) |
public String[] getDatasourceNames() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public String[] getTableNames(String dsName) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public String[] getFieldNames(String dsName, String tableName) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.TableReportDTO createTableDataInformation(String reportName, String dsName, String tableName, String fieldsStr, String primaryField)
public String[] getAvailableFontNames()
public String[] getAlignments()
public void addNewReport(org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.TableReportDTO report) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
public void addNewReport(org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.ChartReportDTO report) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
public String[] getReportTypes()
public DataHandler generateReport(String reportName, String format) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
public String isValidNumberAxis(String chartType, String dsname, String tablename, String[] fields) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
public void addNewCompositeReport(String[] reports, String compositeRepName) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
public String[] getAllTemplateFiles() throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
public boolean isReportTemplate(String reportName) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
Copyright © 2020 WSO2. All rights reserved.