1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kew.stats.service.impl;
18
19 import java.sql.SQLException;
20 import java.util.Date;
21
22 import org.apache.ojb.broker.accesslayer.LookupException;
23 import org.kuali.rice.kew.stats.Stats;
24 import org.kuali.rice.kew.stats.dao.StatsDAO;
25 import org.kuali.rice.kew.stats.service.StatsService;
26
27
28 public class StatsServiceImpl implements StatsService {
29
30 private StatsDAO statsDAO;
31
32 public void NumActiveItemsReport(Stats stats) throws SQLException, LookupException {
33 getStatsDAO().NumActiveItemsReport(stats);
34 }
35
36 public void DocumentsRoutedReport(Stats stats, Date begDate, Date endDate) throws SQLException, LookupException {
37 getStatsDAO().DocumentsRoutedReport(stats, begDate, endDate);
38 }
39
40 public void NumberOfDocTypesReport(Stats stats) throws SQLException, LookupException {
41 getStatsDAO().NumberOfDocTypesReport(stats);
42 }
43
44 public void NumUsersReport(Stats stats) throws SQLException, LookupException {
45 getStatsDAO().NumUsersReport(stats);
46 }
47
48 public void NumInitiatedDocsByDocTypeReport(Stats stats) throws SQLException, LookupException {
49 getStatsDAO().NumInitiatedDocsByDocTypeReport(stats);
50 }
51
52 public StatsDAO getStatsDAO() {
53 return statsDAO;
54 }
55
56 public void setStatsDAO(StatsDAO statsDAO) {
57 this.statsDAO = statsDAO;
58 }
59 }