umich.cac.queryengine
Class ExcelUserReport

java.lang.Object
  extended byumich.cac.queryengine.ExcelUserReport

public final class ExcelUserReport
extends java.lang.Object

Generates a basic Excel report document detailing collected user data. Uss jakarta POI library to create excel file. It requires the latest 2.X POI series to get the forumla support for summing and averaging.

Version:
$Header: /cvsroot/pbsaccounting/pbsaccounting/darkslide/doc/javadoc/umich/cac/queryengine/ExcelUserReport.html,v 1.1 2003/12/18 17:16:08 rodmach Exp $
Author:
rmach@umich.edu

Constructor Summary
ExcelUserReport(java.util.Map userDataMap, java.lang.String fileName, java.lang.String title)
          Constructor for the ExcelUserReport object
 
Method Summary
 boolean generateReport()
          Generate a report, creating the PDF to the file specified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelUserReport

public ExcelUserReport(java.util.Map userDataMap,
                       java.lang.String fileName,
                       java.lang.String title)
Constructor for the ExcelUserReport object

Parameters:
userDataMap - Key is username, Value is UserData
fileName - Name of the output file to write to
title - The title for the report
Method Detail

generateReport

public boolean generateReport()
Generate a report, creating the PDF to the file specified

Returns:
true if report was generated, false if there was a problem or no results