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.ObjectCons;
19: import org.kuali.module.chart.dao.ObjectConsDao;
20: import org.kuali.module.chart.service.ObjectConsService;
21: import org.springframework.transaction.annotation.Transactional;
22:
23: /**
24: * This service implementation is the default implementation of the BalanceTyp service that is delivered with Kuali.
25: */
26: @Transactional
27: public class ObjectConsServiceImpl implements ObjectConsService {
28: private ObjectConsDao objectConsDao;
29:
30: /**
31: * @see org.kuali.module.chart.service.ObjectConsService#getByPrimaryId(java.lang.String, java.lang.String)
32: */
33: public ObjectCons getByPrimaryId(String chartOfAccountsCode,
34: String objectConsCode) {
35: return objectConsDao.getByPrimaryId(chartOfAccountsCode,
36: objectConsCode);
37: }
38:
39: /**
40: * @return Returns the objectLevelDao.
41: */
42: public ObjectConsDao getObjectConsDao() {
43: return objectConsDao;
44: }
45:
46: /**
47: * @param objectLevelDao The objectLevelDao to set.
48: */
49: public void setObjectConsDao(ObjectConsDao objectConsDao) {
50: this.objectConsDao = objectConsDao;
51: }
52: }
|