Package wt.query.template
Class LegacyModeConverter
java.lang.Object
wt.query.template.LegacyModeConverter
The class supports a utility for converting ReportTemplate to set the
legacyMode attribute of each instance's QML.
Supported API: true
Extendable: false
The first argument is a search value and may be 'true', 'false', or 'null'. If a ReportTemplate's legacyMode attribute matches this value, then it will be modified. The value is optional and the default is null.
The second argument is the new value to set and may be 'true', 'false', or 'null'. If a ReportTemplate is modified, then this value will be used to set the legacyMode attribute. The value is optional and the default is true.
The last two arguments are begin and end dates and are used to filter the ReportTemplate objects that are processed. If specified, then only ReportTemplates with a modify date between these begin and end date values will be processed. Thes values are optional.
Example Usage:
java wt.query.template.LegacyModeConverter null true java wt.query.template.LegacyModeConverter true false 1/1/12 5/22/12
Supported API: true
Extendable: false
-
Method Summary