|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.war.report.ReportData org.opengts.war.report.field.MotionReport
public class MotionReport
Nested Class Summary | |
---|---|
static class |
MotionReport.DeviceDetailComparator
|
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 |
Fields inherited from interface org.opengts.dbtools.DBRecordHandler |
---|
DBRH_SAVE, DBRH_SAVE_LAST, DBRH_SAVE_LAST_STOP, DBRH_SAVE_STOP, DBRH_SKIP, DBRH_STOP |
Constructor Summary | |
---|---|
MotionReport(ReportEntry rptEntry,
RequestProperties reqState,
ReportDeviceList devList)
Motion Report Constructor |
Method Summary | |
---|---|
DBDataIterator |
getBodyDataIterator()
Creates and returns an iterator for the row data displayed in the body of this report. |
protected EventData[] |
getEventData(Device device,
DBRecordHandler<EventData> rcdHandler)
Override 'getEventData' to reset selected status codes |
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. |
int |
handleDBRecord(EventData rcd)
Custom DBRecord callback handler class |
boolean |
isSingleDeviceOnly()
Returns true if this report handles only a single device at a time |
void |
postInitialize()
Post report initialization |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MotionReport(ReportEntry rptEntry, RequestProperties reqState, ReportDeviceList devList) throws ReportException
rptEntry
- The ReportEntry that generated this reportreqState
- The session RequestProperties instancedevList
- The list of devices
ReportException
Method Detail |
---|
public void postInitialize()
postInitialize
in class ReportData
public boolean isSingleDeviceOnly()
isSingleDeviceOnly
in class ReportData
protected EventData[] getEventData(Device device, DBRecordHandler<EventData> rcdHandler)
getEventData
in class ReportData
device
- The Device for which EventData records will be selectedrcdHandler
- The DBRecordHandler
public boolean getSupportsMapDisplay()
getSupportsMapDisplay
in class ReportData
public boolean getSupportsKmlDisplay()
getSupportsKmlDisplay
in class ReportData
public static ReportLayout GetReportLayout()
public ReportLayout getReportLayout()
getReportLayout
in class ReportData
public DBDataIterator getBodyDataIterator()
getBodyDataIterator
in class ReportData
public DBDataIterator getTotalsDataIterator()
getTotalsDataIterator
in class ReportData
public int handleDBRecord(EventData rcd) throws DBException
handleDBRecord
in interface DBRecordHandler<EventData>
rcd
- The EventData record
DBException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |