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
Nested Classes Modifier and Type Class Description class
ApplicationReport.ApplicationReportEntry
A single report entry.static class
ApplicationReport.OrderByHitsAsc
Ascending order by hits.static class
ApplicationReport.OrderByHitsDesc
Descending order by hits.static class
ApplicationReport.OrderByPageNameAsc
Ascending order by page name.static class
ApplicationReport.OrderByPageNameDesc
Descending order by page name.
-
Constructor Summary
Constructors Constructor Description ApplicationReport(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.uplanet.lucy.server.monitor.log.ILogEntryConsumer
asLogEntryConsumer()
String
getApplicationGuid()
Get the application GUID.String
getApplicationName()
Get the name of the application.void
prepareResults(ILogFilter p_filter, IOrder<? super ApplicationReport.ApplicationReportEntry> p_order)
Prepare the results collection.Iterator<ApplicationReport.ApplicationReportEntry>
resultsIterator()
Get an iterator over the report entries.int
size()
Get the number of report entries.
-
-
-
Constructor Detail
-
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 Detail
-
getApplicationGuid
public String getApplicationGuid()
Get the application GUID.- Returns:
- The application GUID.
-
getApplicationName
public String 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
public Iterator<ApplicationReport.ApplicationReportEntry> resultsIterator()
Get an iterator over the report entries.- Returns:
- The iterator.
-
-