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: package org.kuali.kfs.service.impl;
17:
18: import org.kuali.core.util.spring.Cached;
19: import org.kuali.kfs.bo.HomeOrigination;
20: import org.kuali.kfs.dao.HomeOriginationDao;
21: import org.kuali.kfs.service.HomeOriginationService;
22: import org.springframework.transaction.annotation.Transactional;
23:
24: @Transactional
25: @Cached
26: public class HomeOriginationServiceImpl implements
27: HomeOriginationService {
28:
29: private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger
30: .getLogger(HomeOriginationServiceImpl.class);
31:
32: private HomeOriginationDao homeOriginationDao;
33:
34: /**
35: * Retrieves a HomeOrigination object. Currently, there is only a single, unique HomeOriginationCode record in the database.
36: */
37: public HomeOrigination getHomeOrigination() {
38: return getHomeOriginationDao().getHomeOrigination();
39: }
40:
41: /**
42: * @return Returns the homeOriginationDao.
43: */
44: public HomeOriginationDao getHomeOriginationDao() {
45: return homeOriginationDao;
46: }
47:
48: /**
49: * @param homeOriginationDao The homeOriginationDao to set.
50: */
51: public void setHomeOriginationDao(
52: HomeOriginationDao homeOriginationDao) {
53: this.homeOriginationDao = homeOriginationDao;
54: }
55:
56: }
|