use of org.ovirt.engine.core.common.queries.GetStoragePoolsByClusterServiceParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getDataCenterByClusterServiceList.
public void getDataCenterByClusterServiceList(AsyncQuery<List<StoragePool>> aQuery, boolean supportsVirtService, boolean supportsGlusterService) {
aQuery.converterCallback = new SortListByNameConverter<>();
final GetStoragePoolsByClusterServiceParameters parameters = new GetStoragePoolsByClusterServiceParameters();
parameters.setSupportsVirtService(supportsVirtService);
parameters.setSupportsGlusterService(supportsGlusterService);
Frontend.getInstance().runQuery(QueryType.GetStoragePoolsByClusterService, parameters, aQuery);
}
Aggregations