use of org.ovirt.engine.core.common.queries.GetConnectionsByDataCenterAndStorageTypeParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getStorageConnectionsByDataCenterIdAndStorageType.
public void getStorageConnectionsByDataCenterIdAndStorageType(AsyncQuery<List<StorageServerConnections>> aQuery, Guid storagePoolId, StorageType storageType) {
aQuery.converterCallback = new CastingConverter<>();
GetConnectionsByDataCenterAndStorageTypeParameters params = new GetConnectionsByDataCenterAndStorageTypeParameters(storagePoolId, storageType);
Frontend.getInstance().runQuery(QueryType.GetConnectionsByDataCenterAndStorageType, params, aQuery);
}
Aggregations