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