org.opengts.war.report.event
Class EventDetailReport

java.lang.Object
  extended by org.opengts.war.report.ReportData
      extended by org.opengts.war.report.event.EventDetailReport
Direct Known Subclasses:
EngineThermoReport, EventThermoReport

public class EventDetailReport
extends ReportData


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
EventDetailReport(ReportEntry rptEntry, RequestProperties reqState, ReportDeviceList devList)
          Event Detail Report Constructor
 
Method Summary
 DBDataIterator getBodyDataIterator()
          Creates and returns an iterator for the row data displayed in the body of this report.
 ReportLayout getReportLayout()
          Gets the bound ReportLayout singleton instance for this report
static ReportLayout GetReportLayout()
          Gets the bound ReportLayout singleton instance for this report
 boolean getSupportsKmlDisplay()
          Returns true if this report supports displaying KML
 boolean getSupportsMapDisplay()
          Returns true if this report supports displaying a map
 DBDataIterator getTotalsDataIterator()
          Creates and returns an iterator for the row data displayed in the total rows of this report.
 boolean isSingleDeviceOnly()
          Returns true if this report handles only a single device at a time
 
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, getGraphWindowSize, 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, getSupportsGraphDisplay, getTimeEnd, getTimeStart, getTimeZone, getTimeZoneString, getUser, getUserID, getValidGPSRequired, getWhereSelector, hasReportColumn, hasReportJob, hasReportOption, isEventDataMatch, isSoapRequest, postInitialize, setAutoReportURL, setGraphImageURL, setKmlURL, setMapIconSelector, setMapURL, setPreferredFormat, setRefreshURL, setReportCallback, setReportColumns, setReportConstraints, setReportDeviceList, setReportHeaderGroups, setReportJob, setReportName, setReportOption, setReportRecordCount, setReportSubtitle, setReportTitle, showMapRouteLine, writeHtmlBody, writeJavaScript, writeReport, writeReport, writeReportStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventDetailReport

public EventDetailReport(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

isSingleDeviceOnly

public boolean isSingleDeviceOnly()
Returns true if this report handles only a single device at a time

Overrides:
isSingleDeviceOnly in class ReportData
Returns:
True If this report handles only a single device at a time

getSupportsMapDisplay

public boolean getSupportsMapDisplay()
Returns true if this report supports displaying a map

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

getSupportsKmlDisplay

public boolean getSupportsKmlDisplay()
Returns true if this report supports displaying KML

Overrides:
getSupportsKmlDisplay in class ReportData
Returns:
True if this report supports displaying KML, false otherwise

GetReportLayout

public static ReportLayout GetReportLayout()
Gets the bound ReportLayout singleton instance for this report

Returns:
The bound ReportLayout

getReportLayout

public ReportLayout getReportLayout()
Gets the bound ReportLayout singleton instance for this report

Specified by:
getReportLayout in class ReportData
Returns:
The bound ReportLayout

getBodyDataIterator

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

Specified by:
getBodyDataIterator in class ReportData
Returns:
The body row data iterator

getTotalsDataIterator

public DBDataIterator getTotalsDataIterator()
Creates and returns an iterator for the row data displayed in the total rows of this report.

Specified by:
getTotalsDataIterator in class ReportData
Returns:
The total row data iterator