Class ApplicationReport
java.lang.Object
de.uplanet.lucy.server.monitor.log.ApplicationReport
- All Implemented Interfaces:
de.uplanet.lucy.server.monitor.log.ILogReport
public final class ApplicationReport
extends Object
implements 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.static class
Ascending order by page name.static class
Descending order by page name. -
Constructor Summary
ConstructorDescriptionApplicationReport
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid, String p_strLangId, long p_lLBound, long p_lUBound) ApplicationReport
(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid, String p_strLangId, Date p_dtFrom, Date p_dtTo) -
Method Summary
Modifier and TypeMethodDescriptionde.uplanet.lucy.server.monitor.log.ILogEntryConsumer
Get the application GUID.Get the name of the application.void
prepareResults
(ILogFilter p_filter, IOrder<? super ApplicationReport.ApplicationReportEntry> p_order) Prepare the results collection.Get an iterator over the report entries.int
size()
Get the number of report entries.
-
Constructor Details
-
ApplicationReport
public ApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid, String p_strLangId, Date p_dtFrom, Date p_dtTo) - Parameters:
p_conn
- The database connection to be used.p_strAppGuid
- The application GUID.p_strLangId
- The language identifier.p_dtFrom
- The start date of the report.p_dtTo
- The end date of the report.
-
ApplicationReport
public ApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid, String p_strLangId, long p_lLBound, long p_lUBound) - Parameters:
p_conn
- The database connection to be used.p_strAppGuid
- The application GUID.p_strLangId
- The language identifier.p_lLBound
- The start date of the report.p_lUBound
- The end date of the report.
-
-
Method Details
-
getApplicationGuid
Get the application GUID.- Returns:
- The application GUID.
-
getApplicationName
Get the name of the application.- Returns:
- The name of the application.
-
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 ApplicationReport.ApplicationReportEntry> 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.
-