public SearchResultsBean<RoleBean> findRoles(SearchCriteriaBean criteria) {
        SearchCriteriaUtil.validateSearchCriteria(criteria);
        return tryAction(() -> query.findRoles(criteria));
    }
Search with permissions and visibility-related constraints.

@see SearchCriteriaUtil

@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/SearchService.java