Search in sources :

Example 1 with GetAllAttachableDisksForVmQueryParameters

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

Aggregations

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