use of org.apache.ranger.view.VXPortalUserList in project ranger by apache.
the class UserServiceBase method searchUsers.
/**
* @param searchCriteria
* @return
*/
public VXPortalUserList searchUsers(SearchCriteria searchCriteria) {
VXPortalUserList returnList = new VXPortalUserList();
List<VXPortalUser> userList = new ArrayList<VXPortalUser>();
List<T> resultList = searchResources(searchCriteria, searchFields, sortFields, returnList);
// Iterate over the result list and create the return list
for (T gjUser : resultList) {
VXPortalUser vUser = populateViewBean(gjUser);
userList.add(vUser);
}
returnList.setVXPortalUsers(userList);
return returnList;
}
Aggregations