use of org.activityinfo.ui.client.store.FormTreeLoader in project activityinfo by bedatadriven.
the class OfflineStore method query.
public Observable<ColumnSet> query(QueryModel queryModel) {
ResourceId rootFormId = queryModel.getRowSources().get(0).getRootFormId();
Observable<FormTree> tree = new ObservableTree<>(new FormTreeLoader(rootFormId, this::getCachedMetadata), com.google.gwt.core.client.Scheduler.get());
return tree.join(formTree1 -> query(formTree1, queryModel));
}
Aggregations