Search in sources :

Example 1 with GetPermittedStorageDomainsByStoragePoolIdParameters

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

Aggregations

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