1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common_test_tester.support;
17
18 import org.springframework.transaction.annotation.Transactional;
19
20 @Deprecated
21 @Transactional
22 public class MyBusinessClassImpl implements MyBusinessClass{
23 private MyDao myDao;
24 private OtherDao otherDao;
25
26 public int doBusinessThing(){
27 myDao.createValue(new Value("lalala"));
28 otherDao.foo();
29 if(myDao.findValueFromValue("Value Number One")!=null){
30 return 1;
31 }
32 return 0;
33 }
34
35
36
37
38 public MyDao getMyDao() {
39 return myDao;
40 }
41
42
43
44 public void setMyDao(MyDao myDao) {
45 this.myDao = myDao;
46 }
47
48
49
50 public OtherDao getOtherDao() {
51 return otherDao;
52 }
53
54
55
56 public void setOtherDao(OtherDao otherDao) {
57 this.otherDao = otherDao;
58 }
59 }