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