This class is the controller and model to the jsp view.
There is an inner class for allowing the report data classes to
interact with the jsp.
Each session gets its own ReportsTool.
Testing procedures:
Test the different parameter types
Make sure the sql param is pulling data
Test a live and a non-live report
Save the results
Re-run a live report, save results
External dependencies:
worksite, users, tool,
author: andersjb
This is called to put the file names into the text box.
It updates the list of files if the user is returning from the file picker
String the names of the files being imported
When deleting a report result, delete the report result...
then if the report is not live, then delete the report as well
Parameters: reportResult - String the next page
We want to use an action to forward to the helper. We don't want
to forward to the permission helper in the jsp beause we need to
clear out the cached permissions
String unused
this function loads a live report. It generates a new result,
sets the report as having been saved (aka, it was loaded from the db)
Parameters: report - DecoratedReport String the next page