use of org.apache.ranger.view.VXUserPermission in project ranger by apache.
the class XUserPermissionServiceBase method searchXUserPermission.
/**
* @param searchCriteria
* @return
*/
public VXUserPermissionList searchXUserPermission(SearchCriteria searchCriteria) {
VXUserPermissionList returnList = new VXUserPermissionList();
List<VXUserPermission> vXUserPermissions = new ArrayList<VXUserPermission>();
List<T> resultList = searchResources(searchCriteria, searchFields, sortFields, returnList);
// Iterate over the result list and create the return list
for (T gjXUser : resultList) {
VXUserPermission vXUserPermission = populateViewBean(gjXUser);
vXUserPermissions.add(vXUserPermission);
}
returnList.setvXModuleDef(vXUserPermissions);
return returnList;
}
Aggregations