Dynamically Configuring JADE Reports at Run Time

The JadeReportWriterManager class and the JadeReportWriterReport class provide methods that enable JADE developers to dynamically override JADE Report Writer details at run time.

The JadeReportWriterManager class provides methods that enable you to run the JADE Report Writer applications, set the security class, add user names, and apply other management functions. In addition, this class provides methods that enable you run a named report, override printer options, override report options, specify parameters, set the profile, and so on. The methods and their descriptions defined in these classes are listed in tables in the following subsections.

For full details, see Chapter 1 of the JADE Encyclopaedia of Classes. See also "Setting Security for Your JADE Reports", earlier in this chapter.

Both primitive and object parameters can optionally have a different value printed when the ignore flag is set for the parameter. (For details, see "Using the Parameters Sheet", in Chapter 4.) To do this, reimplement the Application class jadeReportWriterParamLiteral method to return the required literal (for example, "<All>").

Parameters with their ignore flag set are reported as this value in the report body. If the method returns null (""), which is the default behavior, the parameter value is still reported. In either case, parameters used in scripts continue to use the parameter value rather than the method value.