1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.salgroup.service;
17
18 import org.kuali.hr.time.salgroup.SalGroup;
19 import org.kuali.hr.time.salgroup.dao.SalGroupDao;
20
21 import java.sql.Date;
22
23 public class SalGroupServiceImpl implements SalGroupService {
24
25 private SalGroupDao salGroupDao;
26
27 @Override
28 public SalGroup getSalGroup(String salGroup, Date asOfDate) {
29 return salGroupDao.getSalGroup(salGroup, asOfDate);
30 }
31
32 public void setSalGroupDao(SalGroupDao salGroupDao) {
33 this.salGroupDao = salGroupDao;
34 }
35
36 @Override
37 public SalGroup getSalGroup(String hrSalGroupId) {
38 return salGroupDao.getSalGroup(hrSalGroupId);
39 }
40
41 @Override
42 public int getSalGroupCount(String salGroup) {
43 return salGroupDao.getSalGroupCount(salGroup);
44 }
45
46 }