public class ReportingResourcesSupplier
extends org.wso2.carbon.core.AbstractAdmin
Constructor and Description |
---|
ReportingResourcesSupplier() |
Modifier and Type | Method and Description |
---|---|
void |
deleteReportTemplate(String templateName) |
List<String> |
getAllReports() |
String |
getJRXMLFileContent(String componentName,
String reportTemplate) |
ReportParameters[] |
getReportParam(String reportName) |
String |
getReportResources(String componentName,
String reportTemplate) |
boolean |
updateReport(String fileName,
String fileContent) |
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
public String getReportResources(String componentName, String reportTemplate) throws org.wso2.carbon.reporting.api.ReportingException
componentName
- name of the report request componentreportTemplate
- requested report templateorg.wso2.carbon.reporting.api.ReportingException
- , if eaied to get report templatepublic String getJRXMLFileContent(String componentName, String reportTemplate) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public List<String> getAllReports() throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public void deleteReportTemplate(String templateName) throws org.wso2.carbon.reporting.api.ReportingException
org.wso2.carbon.reporting.api.ReportingException
public boolean updateReport(String fileName, String fileContent) throws org.wso2.carbon.reporting.api.ReportingException, net.sf.jasperreports.engine.JRException
org.wso2.carbon.reporting.api.ReportingException
net.sf.jasperreports.engine.JRException
public ReportParameters[] getReportParam(String reportName) throws org.wso2.carbon.reporting.api.ReportingException, XMLStreamException
org.wso2.carbon.reporting.api.ReportingException
XMLStreamException
Copyright © 2019 WSO2. All rights reserved.