private void fetchData() {
        final ExplorerTreeFilter explorerTreeFilter = explorerTreeFilterBuilder.build();
        if (explorerTreeFilter != null) {
            // Fetch a list of data items that belong to this parent.
            currentCriteria = new FetchExplorerNodesRequest(
                    openItems.getOpenItems(),
                    openItems.getTemporaryOpenItems(),
                    explorerTreeFilter,
                    minDepth,
                    ensureVisible,
                    showAlerts);

            if (!fetching) {
                fetching = true;
                Scheduler.get().scheduleDeferred(() -> {
                    final FetchExplorerNodesRequest criteria = currentCriteria;
//                    GWT.log("fetchData - filter: " + explorerTreeFilter.getNameFilter()
//                            + " openItems: " + openItems.getOpenItems().size()
//                            + " minDepth: " + minDepth
//                            + " ensureVisible: " + ensureVisible);
                    restFactory
                            .create(EXPLORER_RESOURCE)
                            .method(res -> res.fetchExplorerNodes(criteria))
                            .onSuccess(result -> {
                                handleFetchResult(criteria, result);
                            })
                            .taskMonitorFactory(taskMonitorFactory)
                            .exec();
                });
            }
        }
    }
For use when setting an initial value for the filter.
stroom-core-client/src/main/java/stroom/explorer/client/presenter/ExplorerTreeModel.java