1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.workarea.web;
17
18 import java.util.Map;
19
20 import org.kuali.hr.time.service.base.TkServiceLocator;
21 import org.kuali.hr.time.workarea.WorkArea;
22 import org.kuali.rice.kns.inquiry.KualiInquirableImpl;
23 import org.kuali.rice.krad.bo.BusinessObject;
24
25 public class WorkAreaInquirableImpl extends KualiInquirableImpl {
26
27 @Override
28 public BusinessObject getBusinessObject(Map fieldValues) {
29 WorkArea workArea = (WorkArea) super.getBusinessObject(fieldValues);
30
31 TkServiceLocator.getWorkAreaService().populateWorkAreaRoles(workArea);
32
33 return workArea;
34 }
35 }