docs: private PortletCategoryBean filterCategoryFavoritesOnly(PortletCategoryBean category) {
  
          // Subcategories
          final Set<PortletCategoryBean> subcategories = new HashSet<>();
          category.getSubcategories()
                  .forEach(
                          sub -> {
                              final PortletCategoryBean filteredBean =
                                      filterCategoryFavoritesOnly(sub);
                              if (filteredBean != null) {
                                  subcategories.add(filteredBean);
                              }
                          });
  
          // Portlets
          final Set<PortletDefinitionBean> portlets = new HashSet<>();
          category.getPortlets()
                  .forEach(
                          child -> {
                              if (child.getFavorite()) {
                                  logger.debug(
                                          "Including portlet '{}' because it is a favorite:  {}",
                                          child.getFname());
                                  portlets.add(child);
                              } else {
                                  logger.debug(
                                          "Skipping portlet '{}' because it IS NOT a favorite:  {}",
                                          child.getFname());
                              }
                          });
  
          return !subcategories.isEmpty() || !portlets.isEmpty()
                  ? PortletCategoryBean.create(
                          category.getId(),
                          category.getName(),
                          category.getDescription(),
                          subcategories,
                          portlets)
                  : null;
      }