public String exportExecutionResult(
     final String executionKey, final String reportExecExportFormat)
     throws TransformerException, SAXException, IOException, ParserConfigurationException {
   final ReportExecExportFormat format = ReportExecExportFormat.valueOf(reportExecExportFormat);
   final SequenceInputStream report =
       (SequenceInputStream)
           reportService.exportExecutionResult(Long.valueOf(executionKey), format).getEntity();
   final String xmlFinalName = "export_" + executionKey + ".xml";
   switch (format) {
     case XML:
       XMLUtils.createXMLFile(report, xmlFinalName);
       break;
     case CSV:
       return format + " doesn't supported";
     case PDF:
       return format + " doesn't supported";
     case HTML:
       return format + " doesn't supported";
     case RTF:
       return format + " doesn't supported";
     default:
       return format + " doesn't supported";
   }
   return xmlFinalName;
 }
 public void delete(final String reportId) {
   reportService.delete(Long.valueOf(reportId));
 }
 public void deleteExecution(final String executionId) {
   reportService.deleteExecution(Long.valueOf(executionId));
 }
 public void execute(final String reportId) {
   reportService.execute(Long.valueOf(reportId));
 }
 public List<ReportTO> list() {
   return reportService.list();
 }
 public List<ReportExecTO> listJobs(final String jobStatusType) {
   return reportService.listJobs(JobStatusType.valueOf(jobStatusType));
 }
 public ReportTO read(final String reportId) {
   return reportService.read(Long.valueOf(reportId));
 }
 public ReportExecTO readExecution(final String executionid) {
   return reportService.readExecution(Long.valueOf(executionid));
 }