use of org.ovirt.engine.core.common.queries.GetDataCentersWithPermittedActionOnClustersParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getDataCentersWithPermittedActionOnClusters.
public void getDataCentersWithPermittedActionOnClusters(AsyncQuery<List<StoragePool>> aQuery, ActionGroup actionGroup, final boolean supportsVirtService, final boolean supportsGlusterService) {
aQuery.converterCallback = new ListConverter<>();
GetDataCentersWithPermittedActionOnClustersParameters getDataCentersWithPermittedActionOnClustersParameters = new GetDataCentersWithPermittedActionOnClustersParameters();
getDataCentersWithPermittedActionOnClustersParameters.setActionGroup(actionGroup);
getDataCentersWithPermittedActionOnClustersParameters.setSupportsVirtService(supportsVirtService);
getDataCentersWithPermittedActionOnClustersParameters.setSupportsGlusterService(supportsGlusterService);
Frontend.getInstance().runQuery(QueryType.GetDataCentersWithPermittedActionOnClusters, getDataCentersWithPermittedActionOnClustersParameters, aQuery);
}
Aggregations