JadeReportWriterReport Class

The JadeReportWriterReport class, in conjunction with the JadeReportWriterManager class and JadeReportWriterSecurity class, provides methods that enable you to dynamically override JADE Report Writer details and programmatically run report definitions at run time.

A transient instance of the JadeReportWriterReport class is created and returned by the getReport method of the JadeReportWriterManager class. To use this class instance, call the appropriate set methods of the JadeReportWriterReport class, passing the parameters that you require (for example, call the setOutputDestination method, passing the type of file that you require for the report output). You can obtain the current values of the report options by using the appropriate get methods.

When you have finished setting up the report, call the JadeReportWriterReport class run method to run the report dynamically at run time or the runWithStatus method to run the report, display and refresh a progress dialog, and return the success of the report and the page count if the report was output to a printer or the record count if the report was extracted to a file.

For an overview of the JADE Report Writer and the relationship of the JadeReportWriterManager, JadeReportWriterReport, and JadeReportWriterSecurity classes, see "JadeReportWriterManager Class", earlier in this chapter. For details about dynamically running an existing JADE Report Writer report, see "Running an Existing Report", earlier in this chapter.

For details about the constants and methods defined in the JadeReportWriterReport class, see "JadeReportWriterReport Class Constants" and "JadeReportWriterReport Methods", in the following subsections.

Object

(None)