private void fetchPermissions(final List<ExplorerNode> explorerNodes,
                                  final Consumer<Map<ExplorerNode, ExplorerNodePermissions>> consumer,
                                  final TaskMonitorFactory taskMonitorFactory) {
        restFactory
                .create(EXPLORER_RESOURCE)
                .method(res -> res.fetchExplorerPermissions(explorerNodes))
                .onSuccess(response -> {
                    final Map<ExplorerNode, ExplorerNodePermissions> map = response.stream().collect(Collectors.toMap(
                            ExplorerNodePermissions::getExplorerNode,
                            Function.identity()));
                    consumer.accept(map);
                })
                .taskMonitorFactory(taskMonitorFactory)
                .exec();
    }
Highlights the supplied document item in the explorer tree.
stroom-core-client/src/main/java/stroom/document/client/DocumentPluginEventManager.java