org.opengts.war.report
Class ReportCallback

java.lang.Object
  extended by org.opengts.war.report.ReportCallback

public class ReportCallback
extends java.lang.Object


Constructor Summary
ReportCallback()
           
ReportCallback(ReportData report)
           
 
Method Summary
 java.lang.String[] getHeaderColumnDescriptions()
           
 java.util.List<java.lang.Object[]> getReportBodyRows()
           
 ReportColumn[] getReportColumns()
           
 java.lang.String getReportSubtitle()
           
 java.lang.String getReportTitle()
           
 java.util.List<java.lang.Object[]> getReportTotalRows()
           
 boolean hasHeaderColumnDescriptions()
           
 boolean hasReportBodyRows()
           
 boolean hasReportTotalRows()
           
 int reportBody(OutputProvider out, int level, DBDataIterator data)
           
 void reportEnd(OutputProvider out, int level)
           
 void reportHeader(OutputProvider out, int level, java.lang.Object[] headerCol)
           
 void reportStart(OutputProvider out, int level)
           
 int reportTotals(OutputProvider out, int level, DBDataIterator data)
           
 void setReport(ReportData report)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportCallback

public ReportCallback()

ReportCallback

public ReportCallback(ReportData report)
               throws ReportException
Throws:
ReportException
Method Detail

setReport

public void setReport(ReportData report)
               throws ReportException
Throws:
ReportException

getReportColumns

public ReportColumn[] getReportColumns()
                                throws ReportException
Throws:
ReportException

reportStart

public void reportStart(OutputProvider out,
                        int level)
                 throws ReportException
Throws:
ReportException

getReportTitle

public java.lang.String getReportTitle()

getReportSubtitle

public java.lang.String getReportSubtitle()

reportHeader

public void reportHeader(OutputProvider out,
                         int level,
                         java.lang.Object[] headerCol)
                  throws ReportException
Throws:
ReportException

hasHeaderColumnDescriptions

public boolean hasHeaderColumnDescriptions()

getHeaderColumnDescriptions

public java.lang.String[] getHeaderColumnDescriptions()

reportBody

public int reportBody(OutputProvider out,
                      int level,
                      DBDataIterator data)
               throws ReportException
Throws:
ReportException

hasReportBodyRows

public boolean hasReportBodyRows()

getReportBodyRows

public java.util.List<java.lang.Object[]> getReportBodyRows()

reportTotals

public int reportTotals(OutputProvider out,
                        int level,
                        DBDataIterator data)
                 throws ReportException
Throws:
ReportException

hasReportTotalRows

public boolean hasReportTotalRows()

getReportTotalRows

public java.util.List<java.lang.Object[]> getReportTotalRows()

reportEnd

public void reportEnd(OutputProvider out,
                      int level)
               throws ReportException
Throws:
ReportException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object