use of org.ovirt.engine.core.common.queries.SearchParameters in project ovirt-engine by oVirt.
the class ClusterHostListModel method syncSearch.
@Override
protected void syncSearch() {
SearchParameters tempVar = new SearchParameters(getSearchString(), SearchType.VDS);
tempVar.setRefresh(getIsQueryFirstTime());
super.syncSearch(QueryType.Search, tempVar);
}
use of org.ovirt.engine.core.common.queries.SearchParameters in project ovirt-engine by oVirt.
the class ClusterListModel method syncSearch.
@Override
protected void syncSearch() {
SearchParameters tempVar = new SearchParameters(applySortOptions(getSearchString()), SearchType.Cluster, isCaseSensitiveSearch());
tempVar.setMaxCount(getSearchPageSize());
super.syncSearch(QueryType.Search, tempVar);
}
use of org.ovirt.engine.core.common.queries.SearchParameters in project ovirt-engine by oVirt.
the class InstanceTypeListModel method syncSearch.
@Override
protected void syncSearch() {
SearchParameters params = new SearchParameters(getSearchString(), SearchType.InstanceType, isCaseSensitiveSearch());
params.setMaxCount(getSearchPageSize());
super.syncSearch(QueryType.Search, params);
}
use of org.ovirt.engine.core.common.queries.SearchParameters in project ovirt-engine by oVirt.
the class ClusterVmListModel method syncSearch.
@Override
protected void syncSearch() {
SearchParameters tempVar = new SearchParameters(applySortOptions(getSearchString()), SearchType.VM);
tempVar.setRefresh(getIsQueryFirstTime());
super.syncSearch(QueryType.Search, tempVar);
}
use of org.ovirt.engine.core.common.queries.SearchParameters in project ovirt-engine by oVirt.
the class AsyncDataProvider method getVmListByClusterName.
public void getVmListByClusterName(AsyncQuery<List<VM>> aQuery, String clusterName) {
aQuery.converterCallback = new CastingConverter<>();
Frontend.getInstance().runQuery(QueryType.Search, // $NON-NLS-1$
new SearchParameters("Vms: cluster=" + clusterName, SearchType.VM), aQuery);
}
Aggregations