org.archiviststoolkit.report
Class ReportFactory

java.lang.Object
  extended by org.archiviststoolkit.report.ReportFactory

public final class ReportFactory
extends java.lang.Object

A singleton in which we store the reports.


Field Summary
static java.lang.String REPORT_DESTINATION_CSV
           
static java.lang.String REPORT_DESTINATION_EXCEL
           
static java.lang.String REPORT_DESTINATION_HTML
           
static java.lang.String REPORT_DESTINATION_PDF
           
static java.lang.String REPORT_DESTINATION_PREVIEW
           
static java.lang.String REPORT_DESTINATION_PRINTER
          resource bundle used for i18n of text messages.
static java.lang.String REPORT_DESTINATION_RTF
           
static java.lang.String REPORT_DESTINATION_XML
           
 
Method Summary
 boolean doesClassHaveReports(java.lang.Class clazz)
           
static ReportFactory getInstance()
          Singleton access method.
 java.util.Vector<java.lang.String> getOutputOptionList()
           
 java.util.Vector<java.lang.String> getOutputOptionListFindingAids()
           
 ReportDialog getReportDialog(java.lang.Class clazz, java.awt.Dialog owner)
           
 ReportDialog getReportDialog(java.lang.Class clazz, java.awt.Dialog owner, boolean includePrintScreen)
           
 java.util.Vector<ATReport> getReportListByClass(java.lang.Class clazz)
           
 ReportDialog getReportPrinter(java.lang.Class clazz, java.awt.Frame owner)
           
 void ParseReportDirectory()
           
 void ParseReportDirectory(boolean init)
           
 void updatePrintScreens()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPORT_DESTINATION_PRINTER

public static final java.lang.String REPORT_DESTINATION_PRINTER
resource bundle used for i18n of text messages.

See Also:
Constant Field Values

REPORT_DESTINATION_PREVIEW

public static final java.lang.String REPORT_DESTINATION_PREVIEW
See Also:
Constant Field Values

REPORT_DESTINATION_PDF

public static final java.lang.String REPORT_DESTINATION_PDF
See Also:
Constant Field Values

REPORT_DESTINATION_XML

public static final java.lang.String REPORT_DESTINATION_XML
See Also:
Constant Field Values

REPORT_DESTINATION_HTML

public static final java.lang.String REPORT_DESTINATION_HTML
See Also:
Constant Field Values

REPORT_DESTINATION_RTF

public static final java.lang.String REPORT_DESTINATION_RTF
See Also:
Constant Field Values

REPORT_DESTINATION_EXCEL

public static final java.lang.String REPORT_DESTINATION_EXCEL
See Also:
Constant Field Values

REPORT_DESTINATION_CSV

public static final java.lang.String REPORT_DESTINATION_CSV
See Also:
Constant Field Values
Method Detail

getInstance

public static ReportFactory getInstance()
Singleton access method.

Returns:
the instance of this singleton

getReportListByClass

public java.util.Vector<ATReport> getReportListByClass(java.lang.Class clazz)
                                                throws UnsupportedClassException
Throws:
UnsupportedClassException

getReportPrinter

public ReportDialog getReportPrinter(java.lang.Class clazz,
                                     java.awt.Frame owner)
                              throws UnsupportedClassException
Throws:
UnsupportedClassException

getReportDialog

public ReportDialog getReportDialog(java.lang.Class clazz,
                                    java.awt.Dialog owner)
                             throws UnsupportedClassException
Throws:
UnsupportedClassException

getReportDialog

public ReportDialog getReportDialog(java.lang.Class clazz,
                                    java.awt.Dialog owner,
                                    boolean includePrintScreen)
                             throws UnsupportedClassException
Throws:
UnsupportedClassException

getOutputOptionList

public java.util.Vector<java.lang.String> getOutputOptionList()

getOutputOptionListFindingAids

public java.util.Vector<java.lang.String> getOutputOptionListFindingAids()

ParseReportDirectory

public void ParseReportDirectory()

ParseReportDirectory

public void ParseReportDirectory(boolean init)

doesClassHaveReports

public boolean doesClassHaveReports(java.lang.Class clazz)

updatePrintScreens

public void updatePrintScreens()