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