de.uplanet.lucy.server.monitor.log.userreport
Class UserReport

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

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

This class scans the logfiles for user specific statistics.

Version:
$Revision: 70366 $

Constructor Summary
UserReport(de.uplanet.jdbc.JdbcConnection p_conn, java.lang.String p_strLanguage, long p_lLBound, long p_lUBound, long p_lTimeOut, long p_lInactivity)
          Constructor
 
Method Summary
 de.uplanet.lucy.server.monitor.log.ILogEntryConsumer asLogEntryConsumer()
           
 ApplicationInfo getAppInfo(java.lang.String p_strAppGuid)
           
 float getAverageCallPercentage()
           
 float getAverageTimePercentage()
           
 PageInfo getPageInfo(PageVisit p_pageVisit)
           
 de.uplanet.lucy.server.monitor.log.userreport.UserAppStatistics getStatMatrix()
           
 float getUserCallPercentage(java.lang.String p_strUserID)
           
 float getUserTimePercentage(java.lang.String p_strUserID)
           
 de.uplanet.lucy.server.monitor.log.userreport.Visitor getVisitor(java.lang.String p_strUserID)
           
 java.util.List<de.uplanet.lucy.server.monitor.log.userreport.Visitor> getVisitors()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserReport

public UserReport(de.uplanet.jdbc.JdbcConnection p_conn,
                  java.lang.String p_strLanguage,
                  long p_lLBound,
                  long p_lUBound,
                  long p_lTimeOut,
                  long p_lInactivity)
Constructor

Parameters:
p_conn - Connection to the database.
p_strLanguage - ID of the current language.
p_lLBound - Start date of the report.
p_lUBound - End date of the report.
p_lTimeOut - Session timeout.
p_lInactivity - Time till inactivity.
Method Detail

getVisitor

public de.uplanet.lucy.server.monitor.log.userreport.Visitor getVisitor(java.lang.String p_strUserID)
Parameters:
p_strUserID - ID of the requested visitor.
Returns:
The visitor.

getStatMatrix

public de.uplanet.lucy.server.monitor.log.userreport.UserAppStatistics getStatMatrix()
Returns:
The statistic matrix.

getUserCallPercentage

public float getUserCallPercentage(java.lang.String p_strUserID)
Parameters:
p_strUserID - User GUID
Returns:
User calls / total calls -ratio

getUserTimePercentage

public float getUserTimePercentage(java.lang.String p_strUserID)
Parameters:
p_strUserID - User GUID
Returns:
User time / total time -ratio

getAverageCallPercentage

public float getAverageCallPercentage()
Returns:
Percentage of the average page calls.

getAverageTimePercentage

public float getAverageTimePercentage()
Returns:
Percentage of the average connection time.

getVisitors

public java.util.List<de.uplanet.lucy.server.monitor.log.userreport.Visitor> getVisitors()
Returns:
The list of visitors

getAppInfo

public ApplicationInfo getAppInfo(java.lang.String p_strAppGuid)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getPageInfo

public PageInfo getPageInfo(PageVisit p_pageVisit)
                     throws java.sql.SQLException
Throws:
java.sql.SQLException

asLogEntryConsumer

public de.uplanet.lucy.server.monitor.log.ILogEntryConsumer asLogEntryConsumer()
Returns:
The object's ILogEntryConsumer interface.


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