de.uplanet.lucy.server.monitor.log
Class ApplicationReport

java.lang.Object
  extended by de.uplanet.lucy.server.monitor.log.ApplicationReport
All Implemented Interfaces:
de.uplanet.lucy.server.monitor.log.ILogReport

public class ApplicationReport
extends java.lang.Object
implements de.uplanet.lucy.server.monitor.log.ILogReport

Version:
$Revision: 61894 $

Nested Class Summary
 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
ApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strAppGuid, java.lang.String p_strLangId, java.util.Date p_dtFrom, java.util.Date p_dtTo)
           
ApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strAppGuid, java.lang.String p_strLangId, long p_lLBound, long p_lUBound)
           
 
Method Summary
 de.uplanet.lucy.server.monitor.log.ILogEntryConsumer asLogEntryConsumer()
           
 java.lang.String getApplicationGuid()
          Get the application GUID.
 java.lang.String getApplicationName()
          Get the name of the application.
 void prepareResults(ILogFilter p_filter, IOrder<? super ApplicationReport.ApplicationReportEntry> p_order)
          Prepare the results collection.
 java.util.Iterator<ApplicationReport.ApplicationReportEntry> resultsIterator()
          Get an iterator over the report entries.
 int size()
          Get the number of report entries.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationReport

public ApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn,
                         java.lang.String p_strAppGuid,
                         java.lang.String p_strLangId,
                         java.util.Date p_dtFrom,
                         java.util.Date p_dtTo)
                  throws java.sql.SQLException
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.
Throws:
java.sql.SQLException - If an error occurred.

ApplicationReport

public ApplicationReport(de.uplanet.jdbc.JdbcConnection p_conn,
                         java.lang.String p_strAppGuid,
                         java.lang.String p_strLangId,
                         long p_lLBound,
                         long p_lUBound)
                  throws java.sql.SQLException
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.
Throws:
java.sql.SQLException - If an error occurred.
Method Detail

getApplicationGuid

public java.lang.String getApplicationGuid()
Get the application GUID.

Returns:
The application GUID.

getApplicationName

public java.lang.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, or null.
p_order - The sort order (must not be null).

size

public int size()
Get the number of report entries.

Returns:
The number of report entries.

resultsIterator

public java.util.Iterator<ApplicationReport.ApplicationReportEntry> resultsIterator()
Get an iterator over the report entries.

Returns:
The iterator.


Last updated: 2011-01-27
Copyright 2000-2010 United Planet. All Rights Reserved.