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

Quick Search    Search Deep

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

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

public class DummyReport
extends com.dghda.kent.BaseKentModule
implements com.dghda.kent.Report


Nested Class Summary
 
Nested classes inherited from class com.dghda.module.Module
com.dghda.module.Module.ModuleVersion
 
Field Summary
private static java.lang.String DATA_SRC_1
           
private static java.lang.String DATA_SRC_2
           
static java.lang.String ID
           
static java.lang.String INPUT_1
           
static java.lang.String INPUT_2
           
static java.lang.String INPUT_3
           
private  com.dghda.kent.ReportTemplate m_Template
           
static java.lang.String[] OPTIONS
           
static java.lang.String SELECT
           
 
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
DummyReport(com.dghda.kent.ReportEngine engine)
           
 
Method Summary
 java.lang.String getConfigurationOptions(java.util.Properties config)
          Return an XML document describing the configuration options for the module.
 java.lang.String getReportData(java.util.Properties config)
          Runs the report with the given configuration options.
 java.lang.String getReportTemplate(java.util.Properties config)
          Returns the report template with the given configuration options.
 
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.module.Module
getDescription, getID, getName, getVersion
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

INPUT_1

public static final java.lang.String INPUT_1
See Also:
Constant Field Values

INPUT_2

public static final java.lang.String INPUT_2
See Also:
Constant Field Values

INPUT_3

public static final java.lang.String INPUT_3
See Also:
Constant Field Values

SELECT

public static final java.lang.String SELECT
See Also:
Constant Field Values

OPTIONS

public static final java.lang.String[] OPTIONS

DATA_SRC_1

private static final java.lang.String DATA_SRC_1
See Also:
Constant Field Values

DATA_SRC_2

private static final java.lang.String DATA_SRC_2
See Also:
Constant Field Values

m_Template

private com.dghda.kent.ReportTemplate m_Template
Constructor Detail

DummyReport

public DummyReport(com.dghda.kent.ReportEngine engine)
Method Detail

getConfigurationOptions

public java.lang.String getConfigurationOptions(java.util.Properties config)
Description copied from interface: com.dghda.kent.KentModule
Return an XML document describing the configuration options for the module. Configuration options themselves may change depending on the current configuration. The XML should conform to the DTD contained in the file dtd/kentconfig.dtd.

Specified by:
getConfigurationOptions in interface com.dghda.kent.KentModule

getReportData

public java.lang.String getReportData(java.util.Properties config)
Description copied from interface: com.dghda.kent.Report
Runs the report with the given configuration options. The XML returned will be processed in accordance with the report's template.

Specified by:
getReportData in interface com.dghda.kent.Report

getReportTemplate

public java.lang.String getReportTemplate(java.util.Properties config)
Description copied from interface: com.dghda.kent.Report
Returns the report template with the given configuration options.

Specified by:
getReportTemplate in interface com.dghda.kent.Report