01: /*
02: * Copyright 2006-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: package org.kuali.module.chart.service.impl;
17:
18: import org.kuali.module.chart.bo.A21SubAccount;
19: import org.kuali.module.chart.dao.A21SubAccountDao;
20: import org.kuali.module.chart.service.A21SubAccountService;
21: import org.springframework.transaction.annotation.Transactional;
22:
23: /**
24: *
25: * This class is the default implementation of the A21SubAccountService
26: */
27: @Transactional
28: public class A21SubAccountServiceImpl implements A21SubAccountService {
29:
30: private A21SubAccountDao a21SubAccountDao;
31:
32: public A21SubAccountServiceImpl() {
33: super ();
34: }
35:
36: /**
37: *
38: * @see org.kuali.module.chart.service.A21SubAccountService#getByPrimaryKey(java.lang.String, java.lang.String, java.lang.String)
39: */
40: public A21SubAccount getByPrimaryKey(String chartOfAccountsCode,
41: String accountNumber, String subAccountNumber) {
42: return a21SubAccountDao.getByPrimaryKey(chartOfAccountsCode,
43: accountNumber, subAccountNumber);
44: }
45:
46: /**
47: * @param subAccountDao The a21SubAccountDao to set.
48: */
49: public void setA21SubAccountDao(A21SubAccountDao subAccountDao) {
50: a21SubAccountDao = subAccountDao;
51: }
52:
53: }
|