Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.dghda.kent.reports
Class SimpleSQLReport  view SimpleSQLReport download SimpleSQLReport.java

java.lang.Object
  extended bycom.dghda.module.BaseModule
      extended bycom.dghda.kent.BaseKentModule
          extended bycom.dghda.kent.reports.FixedTemplateReport
              extended bycom.dghda.kent.reports.BaseJDBCReport
                  extended bycom.dghda.kent.reports.SimpleSQLReport
All Implemented Interfaces:
com.dghda.kent.KentModule, com.dghda.module.Module, com.dghda.kent.Report

public class SimpleSQLReport
extends BaseJDBCReport

A class which makes one or more queries using JDBC, and loads its configuration from an XML file.


Nested Class Summary
private static class SimpleSQLReport.ColumnMappingData
           
private static class SimpleSQLReport.ConnectionData
           
private static class SimpleSQLReport.QueryData
           
private static class SimpleSQLReport.XMLHandler
           
 
Nested classes inherited from class com.dghda.module.Module
com.dghda.module.Module.ModuleVersion
 
Field Summary
 
Fields inherited from class com.dghda.kent.reports.BaseJDBCReport
 
Fields inherited from class com.dghda.kent.reports.FixedTemplateReport
 
Fields inherited from class com.dghda.kent.BaseKentModule
 
Fields inherited from class com.dghda.module.BaseModule
 
Fields inherited from interface com.dghda.kent.KentModule
ACTION_ID, AUTHENTICATED_USER, FORMAT_ID, REPORT_ID
 
Constructor Summary
SimpleSQLReport(java.lang.String id, java.lang.String shortName, java.lang.String description, com.dghda.module.Module.ModuleVersion version, com.dghda.kent.ReportEngine engine, java.io.InputStream input)
          Creates a new report object loaded by the given report engine.
 
Method Summary
static SimpleSQLReport loadReport(com.dghda.kent.ReportEngine engine, org.xml.sax.InputSource source)
          Creates a new report for the given engine by loading it from the given input source.
 
Methods inherited from class com.dghda.kent.reports.BaseJDBCReport
addQuery, createReportData, getConfigurationOptions, getReportData
 
Methods inherited from class com.dghda.kent.reports.FixedTemplateReport
getReportTemplate, load
 
Methods inherited from class com.dghda.kent.BaseKentModule
getReportEngine
 
Methods inherited from class com.dghda.module.BaseModule
getDescription, getID, getName, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dghda.kent.Report
getReportTemplate
 
Methods inherited from interface com.dghda.module.Module
getDescription, getID, getName, getVersion
 

Constructor Detail

SimpleSQLReport

public SimpleSQLReport(java.lang.String id,
                       java.lang.String shortName,
                       java.lang.String description,
                       com.dghda.module.Module.ModuleVersion version,
                       com.dghda.kent.ReportEngine engine,
                       java.io.InputStream input)
                throws java.io.IOException
Creates a new report object loaded by the given report engine.

Method Detail

loadReport

public static SimpleSQLReport loadReport(com.dghda.kent.ReportEngine engine,
                                         org.xml.sax.InputSource source)
                                  throws java.io.IOException,
                                         org.xml.sax.SAXException,
                                         javax.xml.parsers.ParserConfigurationException
Creates a new report for the given engine by loading it from the given input source.