org.opengts.extra.war.report.entity
Class EntityReport
java.lang.Object
org.opengts.war.report.ReportData
org.opengts.extra.war.report.entity.EntityReport
- All Implemented Interfaces:
- DBRecordHandler<Entity>
public class EntityReport
- extends ReportData
- implements DBRecordHandler<Entity>
| Methods inherited from class org.opengts.war.report.ReportData |
_countEventData, _getEventData, countEventData, countEventData, expandHeaderText, getAccount, getAccountID, getAutoReportURL, getCheckinAgeColorRange, getCheckinAgeColorRangeArray, getColumnCount, getCreationAgeColorRange, getCreationAgeColorRangeArray, getDataRowTemplate, getDevice, getDeviceCount, getEventData, getEventData, getEventDataIterator, getFirstDeviceID, getGpsAgeColorRange, getGpsAgeColorRangeArray, getGraphLinkDescription, getGraphURL, 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, getReportLimit, getReportName, getReportOption, getReportRecordCount, getReportSubtitle, getReportTitle, getReportType, getRequestProperties, getRuleSelector, getSelectionLimit, getSelectionLimitType, getStatusCodes, getSupportsGraphDisplay, getTimeEnd, getTimeStart, getTimeZone, getTimeZoneString, getUser, getUserID, getValidGPSRequired, getWhereSelector, hasReportColumn, hasReportOption, isEventDataMatch, isSingleDeviceOnly, isSoapRequest, setAutoReportURL, setGraphURL, setKmlURL, setMapIconSelector, setMapURL, setPreferredFormat, setRefreshURL, setReportCallback, setReportColumns, setReportConstraints, setReportDeviceList, setReportHeaderGroups, setReportName, setReportOption, setReportRecordCount, setReportSubtitle, setReportTitle, writeReport, writeReport, writeReportStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityReport
public EntityReport(ReportEntry rptEntry,
RequestProperties reqState,
ReportDeviceList devList)
throws ReportException
- Throws:
ReportException
postInitialize
public void postInitialize()
- Description copied from class:
ReportData
- This method is called after all other ReportConstraints have been set.
The report has this opportunity to make any changes to the ReportConstraints
before the report is actually generated
- Overrides:
postInitialize in class ReportData
getStatusCode
public int getStatusCode()
getPushpinID
public java.lang.String getPushpinID()
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()
- Specified by:
getBodyDataIterator in class ReportData
getTotalsDataIterator
public DBDataIterator getTotalsDataIterator()
- Specified by:
getTotalsDataIterator in class ReportData
handleDBRecord
public int handleDBRecord(Entity rcd)
throws DBException
- Description copied from interface:
DBRecordHandler
- Callback handler for DBRecords retrieved from a database select
- Specified by:
handleDBRecord in interface DBRecordHandler<Entity>
- Parameters:
rcd - The DBRecord
- Returns:
- The implementation method should return 'DBRH_STOP' to stop
the DBRecord selection/processing loop, or 'DBRH_SKIP' to skip
the current record, or 'DBRH_SAVE' to save the current record
to be return by the select method in an array of DBRecord's.
- Throws:
DBException