org.opengts.extra.war.report.event
Class EngineThermoReport

java.lang.Object
  extended by org.opengts.war.report.ReportData
      extended by org.opengts.war.report.event.EventDetailReport
          extended by org.opengts.extra.war.report.event.EngineThermoReport

public class EngineThermoReport
extends EventDetailReport


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opengts.war.report.ReportData
ReportData.ArrayDataIterator, ReportData.ListDataIterator
 
Field Summary
 
Fields inherited from class org.opengts.war.report.ReportData
CheckinAgeColorRangeDefault, CreationAgeColorRangeDefault, FORMAT_GRAPH, FORMAT_KML, FORMAT_MAP, FORMAT_PDF, GpsAgeColorRangeDefault, LoginAgeColorRangeDefault
 
Constructor Summary
EngineThermoReport(ReportEntry rptEntry, RequestProperties reqState, ReportDeviceList devList)
          Event Detail Report Constructor
 
Method Summary
 void _writeJavaScript(java.io.PrintWriter pw, RequestProperties reqState)
          Writes the Graph JavaScript to the HTTP stream
 DBDataIterator getBodyDataIterator()
          Creates and returns an iterator for the row data displayed in the body of this report.
 MapDimension getGraphWindowSize()
          Graph window size
 boolean getSupportsGraphDisplay()
          Returns true if this report supports displaying a graph
 void postInitialize()
          Post report initialization
 void writeHtmlBody(java.io.PrintWriter pw, RequestProperties reqState)
          Writes the HTML body
 void writeJavaScript(java.io.PrintWriter pw, RequestProperties reqState)
          Writes the required JavaScript
 
Methods inherited from class org.opengts.war.report.event.EventDetailReport
getReportLayout, GetReportLayout, getSupportsKmlDisplay, getSupportsMapDisplay, getTotalsDataIterator, isSingleDeviceOnly
 
Methods inherited from class org.opengts.war.report.ReportData
_countEventData, _getEventData, _getEventData, countEventData, countEventData, expandHeaderText, getAccount, getAccountID, getAutoReportURL, getCheckinAgeColorRange, getCheckinAgeColorRangeArray, getColumnCount, getCreationAgeColorRange, getCreationAgeColorRangeArray, getDataRowTemplate, getDevice, getDeviceCount, getEventData, getEventData, getEventData, getEventDataCount, getEventDataIterator, getEventMatchCount, getFirstDeviceID, getGpsAgeColorRange, getGpsAgeColorRangeArray, getGraphImageURL, getGraphLinkDescription, getKmlLinkDescription, getKmlURL, getLocale, getLoginAgeColorRange, getLoginAgeColorRangeArray, getMapIconSelector, getMapLinkDescription, getMapURL, getMapWindowSize, getMaximumEventDataCount, getOrderAscending, getPreferredFormat, getPrivateLabel, getProperties, getRefreshURL, getReportCallback, getReportColumns, getReportConstraints, getReportDataFieldsEnabled, getReportDeviceList, getReportEntry, getReportFactory, getReportHeaderGroup, getReportHeaderGroups, getReportIsPartial, getReportJob, getReportLimit, getReportName, getReportOption, getReportRecordCount, getReportSubtitle, getReportTitle, getReportType, getRequestProperties, getRuleSelector, getSelectionLimit, getSelectionLimitType, getStatusCodes, getTimeEnd, getTimeStart, getTimeZone, getTimeZoneString, getUser, getUserID, getValidGPSRequired, getWhereSelector, hasReportColumn, hasReportJob, hasReportOption, isEventDataMatch, isSoapRequest, setAutoReportURL, setGraphImageURL, setKmlURL, setMapIconSelector, setMapURL, setPreferredFormat, setRefreshURL, setReportCallback, setReportColumns, setReportConstraints, setReportDeviceList, setReportHeaderGroups, setReportJob, setReportName, setReportOption, setReportRecordCount, setReportSubtitle, setReportTitle, showMapRouteLine, writeReport, writeReport, writeReportStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineThermoReport

public EngineThermoReport(ReportEntry rptEntry,
                          RequestProperties reqState,
                          ReportDeviceList devList)
                   throws ReportException
Event Detail Report Constructor

Parameters:
rptEntry - The ReportEntry that generated this report
reqState - The session RequestProperties instance
devList - The list of devices
Throws:
ReportException
Method Detail

postInitialize

public void postInitialize()
Post report initialization

Overrides:
postInitialize in class ReportData

getBodyDataIterator

public DBDataIterator getBodyDataIterator()
Creates and returns an iterator for the row data displayed in the body of this report.

Overrides:
getBodyDataIterator in class EventDetailReport
Returns:
The body row data iterator

getSupportsGraphDisplay

public boolean getSupportsGraphDisplay()
Returns true if this report supports displaying a graph

Overrides:
getSupportsGraphDisplay in class ReportData
Returns:
True if this report supports displaying a graph, false otherwise

getGraphWindowSize

public MapDimension getGraphWindowSize()
Graph window size

Overrides:
getGraphWindowSize in class ReportData

writeJavaScript

public void writeJavaScript(java.io.PrintWriter pw,
                            RequestProperties reqState)
Writes the required JavaScript

Overrides:
writeJavaScript in class ReportData

writeHtmlBody

public void writeHtmlBody(java.io.PrintWriter pw,
                          RequestProperties reqState)
Writes the HTML body

Overrides:
writeHtmlBody in class ReportData

_writeJavaScript

public void _writeJavaScript(java.io.PrintWriter pw,
                             RequestProperties reqState)
                      throws java.lang.Exception
Writes the Graph JavaScript to the HTTP stream

Throws:
java.lang.Exception