1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.impl.role;
17
18 import org.kuali.rice.kim.impl.services.KimImplServiceLocator;
19 import org.kuali.rice.krad.lookup.LookupableImpl;
20 import org.kuali.rice.krad.web.form.LookupForm;
21
22 import java.util.List;
23 import java.util.Map;
24
25
26
27
28
29
30 public class RoleLookupableImpl extends LookupableImpl {
31 private static final long serialVersionUID = -3149952849854425077L;
32
33 @Override
34 protected List<?> getSearchResults(LookupForm form, Map<String, String> searchCriteria, boolean unbounded) {
35 List<RoleBo> roles = getRoleDao().getRoles(searchCriteria);
36
37 return roles;
38 }
39
40 public RoleDao getRoleDao() {
41 return KimImplServiceLocator.getRoleDao();
42 }
43 }