Search in sources :

Example 1 with GetDataCentersWithPermittedActionOnClustersParameters

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);
}
Also used : GetDataCentersWithPermittedActionOnClustersParameters(org.ovirt.engine.core.common.queries.GetDataCentersWithPermittedActionOnClustersParameters)

Aggregations

GetDataCentersWithPermittedActionOnClustersParameters (org.ovirt.engine.core.common.queries.GetDataCentersWithPermittedActionOnClustersParameters)1