private List<ClientVersionSummaryBean> queryMatchingClientVersions(DeveloperBean developer) {
        List<ClientVersionSummaryBean> clientVersionSummaryBeans = new ArrayList<>();
        Set<DeveloperMappingBean> developerMappingBeans = developer.getClients();

        for (DeveloperMappingBean bean : developerMappingBeans) {
            List<ClientVersionSummaryBean> allClientVersionsList =
                tryAction(() -> query.getClientVersions(bean.getOrganizationId(), bean.getClientId()));
            clientVersionSummaryBeans.addAll(allClientVersionsList);
        }
        return clientVersionSummaryBeans;
    }
Queries all matching client versions to the corresponding developer

@param developer the developer
@return a list of ClientVersionSummaryBeans
manager/api/rest-impl/src/main/java/io/apiman/manager/api/rest/impl/DeveloperResourceImpl.java