1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.earncodesec.service;
17
18 import org.kuali.hr.earncodesec.EarnCodeSecurity;
19 import org.kuali.hr.earncodesec.dao.EarnCodeSecurityDao;
20
21 import java.sql.Date;
22 import java.util.List;
23
24 public class EarnCodeSecurityServiceImpl implements EarnCodeSecurityService {
25
26 private EarnCodeSecurityDao earnCodeSecurityDao;
27
28 public void setEarnCodeSecurityDao(EarnCodeSecurityDao earnCodeSecurityDao) {
29 this.earnCodeSecurityDao = earnCodeSecurityDao;
30 }
31
32 @Override
33 public List<EarnCodeSecurity> getEarnCodeSecurities(String department, String hrSalGroup, String location, java.util.Date asOfDate) {
34 return earnCodeSecurityDao.getEarnCodeSecurities(department, hrSalGroup, location, asOfDate);
35 }
36
37 @Override
38 public EarnCodeSecurity getEarnCodeSecurity(String hrEarnCodeSecId) {
39 return earnCodeSecurityDao.getEarnCodeSecurity(hrEarnCodeSecId);
40 }
41
42 @Override
43 public List<EarnCodeSecurity> searchEarnCodeSecurities(String dept,
44 String salGroup, String earnCode, String location, Date fromEffdt,
45 Date toEffdt, String active, String showHistory) {
46 return earnCodeSecurityDao.searchEarnCodeSecurities(dept, salGroup, earnCode, location, fromEffdt,
47 toEffdt, active, showHistory);
48 }
49 @Override
50 public int getEarnCodeSecurityCount(String dept, String salGroup, String earnCode, String employee, String approver, String location,
51 String active, Date effdt,String hrDeptEarnCodeId) {
52 return earnCodeSecurityDao.getEarnCodeSecurityCount(dept, salGroup, earnCode, employee, approver, location,
53 active, effdt, hrDeptEarnCodeId);
54 }
55 @Override
56 public int getNewerEarnCodeSecurityCount(String earnCode, java.util.Date effdt) {
57 return earnCodeSecurityDao.getNewerEarnCodeSecurityCount(earnCode, effdt);
58 }
59 }