use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getTemplateListByDataCenter.
public void getTemplateListByDataCenter(AsyncQuery<List<VmTemplate>> aQuery, Guid dataCenterId) {
aQuery.converterCallback = new TemplateConverter();
Frontend.getInstance().runQuery(QueryType.GetVmTemplatesByStoragePoolId, new IdQueryParameters(dataCenterId), aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVMsWithVNumaNodesByClusterId.
public void getVMsWithVNumaNodesByClusterId(AsyncQuery<List<VM>> asyncQuery, Guid clusterId) {
asyncQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetAllVmsWithNumaByClusterId, new IdQueryParameters(clusterId), asyncQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVmById.
public void getVmById(AsyncQuery<VM> aQuery, Guid vmId) {
aQuery.converterCallback = new CastingConverter<>();
Frontend.getInstance().runQuery(QueryType.GetVmByVmId, new IdQueryParameters(vmId), aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getoVirtISOsList.
public void getoVirtISOsList(AsyncQuery<List<RpmVersion>> aQuery, Guid id) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetoVirtISOs, new IdQueryParameters(id), aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVolumeSnapshotSchedule.
public void getVolumeSnapshotSchedule(AsyncQuery<GlusterVolumeSnapshotSchedule> aQuery, Guid volumeId) {
aQuery.converterCallback = new CastingConverter<>();
Frontend.getInstance().runQuery(QueryType.GetGlusterVolumeSnapshotScheduleByVolumeId, new IdQueryParameters(volumeId), aQuery);
}
Aggregations