use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getGlusterGeoRepSessionsForStorageDomain.
public void getGlusterGeoRepSessionsForStorageDomain(AsyncQuery<List<GlusterGeoRepSession>> aQuery, Guid storageDomainId) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetGeoRepSessionsForStorageDomain, new IdQueryParameters(storageDomainId), aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVmsRunningOnOrMigratingToVds.
public void getVmsRunningOnOrMigratingToVds(AsyncQuery<List<VM>> aQuery, Guid id) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetVmsRunningOnOrMigratingToVds, new IdQueryParameters(id), aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVmDiskList.
public void getVmDiskList(AsyncQuery<List<Disk>> aQuery, Guid vmId, boolean isRefresh) {
aQuery.converterCallback = new ListConverter<>();
IdQueryParameters params = new IdQueryParameters(vmId);
params.setRefresh(isRefresh);
Frontend.getInstance().runQuery(QueryType.GetAllDisksByVmId, params, aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVmNextRunConfiguration.
public void getVmNextRunConfiguration(AsyncQuery<VM> aQuery, Guid vmId) {
aQuery.converterCallback = new CastingConverter<>();
Frontend.getInstance().runQuery(QueryType.GetVmNextRunConfiguration, new IdQueryParameters(vmId), aQuery);
}
use of org.ovirt.engine.core.common.queries.IdQueryParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getPermissionsByAdElementId.
public void getPermissionsByAdElementId(AsyncQuery<List<Permission>> aQuery, Guid userId) {
aQuery.converterCallback = new ListConverter<>();
Frontend.getInstance().runQuery(QueryType.GetPermissionsByAdElementId, new IdQueryParameters(userId), aQuery);
}
Aggregations