1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package edu.sampleu.travel.service;
17
18 import edu.sampleu.travel.bo.TravelAccount;
19 import edu.sampleu.travel.dto.TravelAccountInfo;
20 import org.kuali.rice.core.api.resourceloader.GlobalResourceLoader;
21 import org.kuali.rice.kns.inquiry.KualiInquirableImpl;
22
23 import java.util.Map;
24
25
26
27
28 public class TravelAccountInfoInquiryViewHelperServiceImpl extends KualiInquirableImpl {
29
30 @Override
31 public TravelAccountInfo retrieveDataObject(Map fieldValues) {
32 TravelAccountService service = GlobalResourceLoader.getService("travelAccountService");
33
34 return service.retrieveTravelAccount((String) fieldValues.get("number"));
35 }
36 }