1
2
3
4 package org.kuali.mobility.grades.service;
5
6 import java.util.Date;
7 import java.util.List;
8
9 import org.kuali.mobility.grades.dao.GradesDao;
10 import org.kuali.mobility.grades.entity.ModuleResults;
11 import org.springframework.beans.factory.annotation.Autowired;
12 import org.springframework.stereotype.Service;
13
14
15
16
17
18
19 @Service("gradesService")
20 public class GradesServiceImpl implements GradesService {
21
22
23
24
25 @Autowired
26 private GradesDao gradesDao;
27
28
29
30
31 @Override
32 public void setDao(GradesDao dao) {
33 this.gradesDao = dao;
34 }
35
36
37
38
39 @Override
40 public GradesDao getDao() {
41 return this.gradesDao;
42 }
43
44
45
46
47 @Override
48 public List<ModuleResults> getResults(Date startDate, Date endDate, String username, String locale) {
49 return this.gradesDao.getResults(startDate, endDate, username, locale);
50 }
51
52 }