@Override
    public Set<String> getTags() {
        final Set<String> modelTags = NullSafe.set(explorerTreeModel.getModel().getAllTags());
        final int count = StandardExplorerTags.values().length + modelTags.size();
        final Set<String> tags = new HashSet<>(count);

        // Add in our standard tags
        for (final StandardExplorerTags tag : StandardExplorerTags.values()) {
            tags.add(tag.getTagName());
        }

        // Add in all known tags from the exp tree model, i.e. user added ones
        tags.addAll(modelTags);
        return Collections.unmodifiableSet(tags);
    }
Create a map of folders and their child items.
stroom-explorer/stroom-explorer-impl/src/main/java/stroom/explorer/impl/ExplorerServiceImpl.java