01: /*
02: * Copyright 2005-2006 The Kuali Foundation.
03: *
04: *
05: * Licensed under the Educational Community License, Version 1.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.opensource.org/licenses/ecl1.php
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package edu.iu.uis.eden.stats;
18:
19: import java.sql.SQLException;
20: import java.util.Date;
21:
22: import org.apache.ojb.broker.accesslayer.LookupException;
23:
24: /**
25: * A service for obtaining various pieces of statistics information about the
26: * KEW application.
27: *
28: * @author temay
29: */
30: public interface StatsService {
31:
32: public void ActionsTakenPerUnitOfTimeReport(Stats stats,
33: Date begDate, Date endDate, String unitOfTimeConst)
34: throws SQLException, LookupException;
35:
36: public void NumActiveItemsReport(Stats stats) throws SQLException,
37: LookupException;
38:
39: public void DocumentsRoutedReport(Stats stats, Date begDate,
40: Date endDate) throws SQLException, LookupException;
41:
42: public void NumberOfDocTypesReport(Stats stats)
43: throws SQLException, LookupException;
44:
45: public void NumUsersReport(Stats stats) throws SQLException,
46: LookupException;
47:
48: public void NumInitiatedDocsByDocTypeReport(Stats stats)
49: throws SQLException, LookupException;
50:
51: }
|