1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.module.purap.document.service.impl;
17
18 import org.kuali.ole.module.purap.businessobject.NegativePaymentRequestApprovalLimit;
19 import org.kuali.ole.module.purap.document.dataaccess.NegativePaymentRequestApprovalLimitDao;
20 import org.kuali.ole.module.purap.document.service.NegativePaymentRequestApprovalLimitService;
21 import org.kuali.ole.sys.service.NonTransactional;
22 import org.kuali.rice.core.api.util.type.KualiDecimal;
23
24 import java.util.Collection;
25
26 @NonTransactional
27 public class NegativePaymentRequestApprovalLimitServiceImpl implements NegativePaymentRequestApprovalLimitService {
28
29 private NegativePaymentRequestApprovalLimitDao dao;
30
31 public void setNegativePaymentRequestApprovalLimitDao(NegativePaymentRequestApprovalLimitDao dao) {
32 this.dao = dao;
33 }
34
35
36
37
38 public Collection<NegativePaymentRequestApprovalLimit> findByChart(String chartCode) {
39 return dao.findByChart(chartCode);
40 }
41
42
43
44
45
46 public Collection<NegativePaymentRequestApprovalLimit> findByChartAndAccount(String chartCode, String accountNumber) {
47 return dao.findByChartAndAccount(chartCode, accountNumber);
48 }
49
50
51
52
53
54 public Collection<NegativePaymentRequestApprovalLimit> findByChartAndOrganization(String chartCode, String organizationCode) {
55 return dao.findByChartAndOrganization(chartCode, organizationCode);
56 }
57
58
59
60
61 public Collection<NegativePaymentRequestApprovalLimit> findAboveLimit(KualiDecimal limit) {
62 return dao.findAboveLimit(limit);
63 }
64
65
66
67
68 public Collection<NegativePaymentRequestApprovalLimit> findBelowLimit(KualiDecimal limit) {
69 return dao.findBelowLimit(limit);
70 }
71
72 }