Class ReportTemplateClient
- java.lang.Object
-
- org.wso2.carbon.reporting.template.ui.client.ReportTemplateClient
-
public class ReportTemplateClient extends Object
-
-
Constructor Summary
Constructors Constructor Description ReportTemplateClient(org.apache.axis2.context.ConfigurationContext configCtx, String backendServerURL, String cookie)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getDatasourceNames
public String[] getDatasourceNames() throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
getTableNames
public String[] getTableNames(String dsName) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
getFieldNames
public String[] getFieldNames(String dsName, String tableName) throws org.apache.axis2.AxisFault
- Throws:
org.apache.axis2.AxisFault
-
createTableDataInformation
public org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.TableReportDTO createTableDataInformation(String reportName, String dsName, String tableName, String fieldsStr, String primaryField)
-
getAvailableFontNames
public String[] getAvailableFontNames()
-
getAlignments
public String[] getAlignments()
-
addNewReport
public void addNewReport(org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.TableReportDTO report) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
-
addNewReport
public void addNewReport(org.wso2.carbon.reporting.template.stub.ReportTemplateAdminStub.ChartReportDTO report) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
-
getReportTypes
public String[] getReportTypes()
-
generateReport
public DataHandler generateReport(String reportName, String format) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
-
isValidNumberAxis
public String isValidNumberAxis(String chartType, String dsname, String tablename, String[] fields) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
-
addNewCompositeReport
public void addNewCompositeReport(String[] reports, String compositeRepName) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
-
getAllTemplateFiles
public String[] getAllTemplateFiles() throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
-
isReportTemplate
public boolean isReportTemplate(String reportName) throws org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException, RemoteException
- Throws:
org.wso2.carbon.reporting.template.stub.ReportTemplateAdminReportingExceptionException
RemoteException
-
-