org.sakaiproject.sitestats.impl
Class ServerWideReportManagerImpl

java.lang.Object
  extended by org.sakaiproject.sitestats.impl.ServerWideReportManagerImpl
All Implemented Interfaces:
ServerWideReportManager

public class ServerWideReportManagerImpl
extends Object
implements ServerWideReportManager

Author:
u4330369

Constructor Summary
ServerWideReportManagerImpl()
           
 
Method Summary
 void destroy()
           
 byte[] generateReportChart(String reportType, int width, int height)
           
 List<ServerWideStatsRecord> getDailyTotalLogins()
           
 List<ServerWideStatsRecord> getDailyUniqueLogins()
           
 List<ServerWideStatsRecord> getHourlyUsagePattern()
           
 List<ServerWideStatsRecord> getMonthlyTotalLogins()
           
 List<ServerWideStatsRecord> getMonthlyUniqueLogins()
           
 List<ServerWideStatsRecord> getNewUserStats(String period)
           
 List<ServerWideStatsRecord> getSiteCreatedDeletedStats(String period)
           
 List<ServerWideStatsRecord> getToolCount()
           
 List<ServerWideStatsRecord> getTop20Activities()
           
 List<ServerWideStatsRecord> getWeeklyRegularUsers()
           
 List<ServerWideStatsRecord> getWeeklyTotalLogins()
           
 List<ServerWideStatsRecord> getWeeklyUniqueLogins()
           
 void init()
           
static Color parseColor(String color)
           
 void setSqlService(org.sakaiproject.db.api.SqlService service)
          Dependency: SqlService.
 void setStatsManager(StatsManager statsManager)
           
 void setUsageSessionService(org.sakaiproject.event.api.UsageSessionService usageSessionService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerWideReportManagerImpl

public ServerWideReportManagerImpl()
Method Detail

setStatsManager

public void setStatsManager(StatsManager statsManager)

setSqlService

public void setSqlService(org.sakaiproject.db.api.SqlService service)
Dependency: SqlService.

Parameters:
service - The SqlService.

setUsageSessionService

public void setUsageSessionService(org.sakaiproject.event.api.UsageSessionService usageSessionService)

init

public void init()

destroy

public void destroy()

getMonthlyTotalLogins

public List<ServerWideStatsRecord> getMonthlyTotalLogins()
Specified by:
getMonthlyTotalLogins in interface ServerWideReportManager

getMonthlyUniqueLogins

public List<ServerWideStatsRecord> getMonthlyUniqueLogins()
Specified by:
getMonthlyUniqueLogins in interface ServerWideReportManager

getWeeklyTotalLogins

public List<ServerWideStatsRecord> getWeeklyTotalLogins()
Specified by:
getWeeklyTotalLogins in interface ServerWideReportManager

getWeeklyUniqueLogins

public List<ServerWideStatsRecord> getWeeklyUniqueLogins()
Specified by:
getWeeklyUniqueLogins in interface ServerWideReportManager

getDailyTotalLogins

public List<ServerWideStatsRecord> getDailyTotalLogins()
Specified by:
getDailyTotalLogins in interface ServerWideReportManager

getDailyUniqueLogins

public List<ServerWideStatsRecord> getDailyUniqueLogins()
Specified by:
getDailyUniqueLogins in interface ServerWideReportManager

getSiteCreatedDeletedStats

public List<ServerWideStatsRecord> getSiteCreatedDeletedStats(String period)
Specified by:
getSiteCreatedDeletedStats in interface ServerWideReportManager

getNewUserStats

public List<ServerWideStatsRecord> getNewUserStats(String period)
Specified by:
getNewUserStats in interface ServerWideReportManager

getTop20Activities

public List<ServerWideStatsRecord> getTop20Activities()
Specified by:
getTop20Activities in interface ServerWideReportManager

getWeeklyRegularUsers

public List<ServerWideStatsRecord> getWeeklyRegularUsers()
Specified by:
getWeeklyRegularUsers in interface ServerWideReportManager

getHourlyUsagePattern

public List<ServerWideStatsRecord> getHourlyUsagePattern()
Specified by:
getHourlyUsagePattern in interface ServerWideReportManager

getToolCount

public List<ServerWideStatsRecord> getToolCount()
Specified by:
getToolCount in interface ServerWideReportManager

generateReportChart

public byte[] generateReportChart(String reportType,
                                  int width,
                                  int height)
Specified by:
generateReportChart in interface ServerWideReportManager

parseColor

public static Color parseColor(String color)


Copyright © 2006-2012 Universidade Fernando Pessoa. All Rights Reserved.