use of org.ovirt.engine.core.common.queries.GetAllAttachableDisksForVmQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getAllAttachableDisks.
public void getAllAttachableDisks(AsyncQuery<List<Disk>> aQuery, Guid storagePoolId, Guid vmId) {
aQuery.converterCallback = new ListConverter<>();
GetAllAttachableDisksForVmQueryParameters params = new GetAllAttachableDisksForVmQueryParameters(storagePoolId);
params.setVmId(vmId);
Frontend.getInstance().runQuery(QueryType.GetAllAttachableDisksForVm, params, aQuery);
}
Aggregations