01: /*
02: * Copyright 2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: /*
17: * Created on Sep 8, 2004
18: *
19: * To change the template for this generated file go to
20: * Window>Preferences>Java>Code Generation>Code and Comments
21: */
22: package org.kuali.module.pdp.service.impl;
23:
24: import java.util.List;
25:
26: import org.kuali.module.pdp.bo.DisbursementNumberRange;
27: import org.kuali.module.pdp.dao.DisbursementNumberRangeDao;
28: import org.kuali.module.pdp.service.DisbursementNumberRangeService;
29: import org.springframework.transaction.annotation.Transactional;
30:
31: /**
32: * @author delyea
33: */
34: @Transactional
35: public class DisbursementNumberRangeServiceImpl implements
36: DisbursementNumberRangeService {
37: private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger
38: .getLogger(DisbursementNumberRangeServiceImpl.class);
39:
40: private DisbursementNumberRangeDao disbursementNumberRangeDao;
41:
42: public void setDisbursementNumberRangeDao(
43: DisbursementNumberRangeDao d) {
44: disbursementNumberRangeDao = d;
45: }
46:
47: public List getAll() {
48: return disbursementNumberRangeDao.getAll();
49: }
50:
51: public DisbursementNumberRange get(Integer id) {
52: return disbursementNumberRangeDao.get(id);
53: }
54:
55: public void save(DisbursementNumberRange dnr) {
56: disbursementNumberRangeDao.save(dnr);
57: }
58:
59: }
|