Class GlobalReport
java.lang.Object
de.uplanet.lucy.server.monitor.log.GlobalReport
- All Implemented Interfaces:
de.uplanet.lucy.server.monitor.log.ILogReport
-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
A single report entry.static class
Ascending order by hits.static class
Descending order by hits. -
Constructor Summary
ConstructorDescriptionGlobalReport
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLang, long p_lLBound, long p_lUBound) Contructor.GlobalReport
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, Date p_dtFrom, Date p_dtTo) Contructor. -
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.server.monitor.log.ILogEntryConsumer
void
prepareResults
(ILogFilter p_filter, IOrder<? super GlobalReport.GlobalReportEntry> p_order) Prepare the results collection.Get an iterator over the report entries.int
size()
Get the number of report entries.
-
Constructor Details
-
GlobalReport
public GlobalReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLangId, Date p_dtFrom, Date p_dtTo) Contructor.- Parameters:
p_conn
- The database connection to be used.p_strLangId
- The language identifier.p_dtFrom
- The start date of the report.p_dtTo
- The end date of the report.
-
GlobalReport
public GlobalReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strLang, long p_lLBound, long p_lUBound) Contructor.- Parameters:
p_conn
- The database connection to be used.p_strLang
- The language identifier.p_lLBound
- The start date of the report.p_lUBound
- The end date of the report.
-
-
Method Details
-
asLogEntryConsumer
public de.uplanet.lucy.server.monitor.log.ILogEntryConsumer asLogEntryConsumer()- Returns:
- The object's
ILogEntryConsumer
interface.
-
prepareResults
public void prepareResults(ILogFilter p_filter, IOrder<? super GlobalReport.GlobalReportEntry> p_order) Prepare the results collection.- Parameters:
p_filter
- A filter to apply, ornull
.p_order
- The sort order (must not benull
).
-
size
public int size()Get the number of report entries.- Returns:
- The number of report entries.
-
resultsIterator
Get an iterator over the report entries.- Returns:
- The iterator.
-