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.springframework.cache.annotation.Cacheable;
20
21 import java.util.Date;
22 import java.util.List;
23
24 public interface EarnCodeSecurityService {
25
26
27
28
29 @Cacheable(value= EarnCodeSecurity.CACHE_NAME,
30 key="'department=' + #p0" +
31 "+ '|' + 'hrSalGroup=' + #p1" +
32 "+ '|' + 'location=' + #p2" +
33 "+ '|' + 'asOfDate=' + #p3")
34 public List<EarnCodeSecurity> getEarnCodeSecurities(String department, String hrSalGroup, String location, Date asOfDate);
35
36
37
38
39
40
41 @Cacheable(value= EarnCodeSecurity.CACHE_NAME, key="'hrEarnCodeSecId=' + #p0")
42 public EarnCodeSecurity getEarnCodeSecurity(String hrEarnCodeSecId);
43
44 public List<EarnCodeSecurity> searchEarnCodeSecurities(String dept, String salGroup, String earnCode, String location,
45 java.sql.Date fromEffdt, java.sql.Date toEffdt, String active, String showHistory);
46
47
48
49
50
51
52 public int getEarnCodeSecurityCount(String dept, String salGroup, String earnCode, String employee, String approver, String location,
53 String active, java.sql.Date effdt, String hrDeptEarnCodeId);
54
55
56
57
58
59
60
61 public int getNewerEarnCodeSecurityCount(String earnCode, Date effdt);
62 }