code: List<CmsCategoryTreeEntry> getFlatList() {
  
          List<CmsCategoryTreeEntry> toProcess = Lists.newArrayList(m_categoryEntries);
          List<CmsCategoryTreeEntry> result = Lists.newArrayList();
          Set<CmsUUID> visited = Sets.newHashSet();
          while (!toProcess.isEmpty()) {
              Iterator<CmsCategoryTreeEntry> iter = toProcess.iterator();
              CmsCategoryTreeEntry entry = iter.next();
              iter.remove();
              if (!visited.contains(entry.getId())) {
                  result.add(entry);
                  visited.add(entry.getId());
                  toProcess.addAll(entry.getChildren());
              }
          }
          return result;
      }
docs: Returns the category entries in a flat list instead of a tree structure.<p>
  
  @return the list of all tree entries