use of org.ovirt.engine.core.common.queries.GetPermittedStorageDomainsByStoragePoolIdParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getPermittedStorageDomainsByStoragePoolId.
public void getPermittedStorageDomainsByStoragePoolId(AsyncQuery<List<StorageDomain>> aQuery, Guid dataCenterId, ActionGroup actionGroup) {
aQuery.converterCallback = new ListConverter<>();
GetPermittedStorageDomainsByStoragePoolIdParameters params = new GetPermittedStorageDomainsByStoragePoolIdParameters();
params.setStoragePoolId(dataCenterId);
params.setActionGroup(actionGroup);
Frontend.getInstance().runQuery(QueryType.GetPermittedStorageDomainsByStoragePoolId, params, aQuery);
}
Aggregations