code: @Override
      protected String getReportTitleAugmentation(F form) {
          int groupSize = form.getGroups().size();
          int portletSize = form.getPortlets().size();
  
          // If multiple of all selected, the report title does not change.
          if (portletSize > 1 && groupSize > 1) {
              return null;
          }
  
          // Look up names in case we need them.  They should be in cache so no real performance hit.
          String firstPortletName =
                  this.aggregatedPortletLookupDao
                          .getMappedPortletForFname(form.getPortlets().iterator().next())
                          .getFname();
          Long firstGroupId = form.getGroups().iterator().next().longValue();
          String firstGroupName =
                  this.aggregatedGroupLookupDao.getGroupMapping(firstGroupId).getGroupName();
  
          // Default to show portlet name else group name in title
          String augmentedTitle =
                  groupSize == 1 && portletSize > 1 ? firstGroupName : firstPortletName;
  
          return augmentedTitle;
      }
docs: Create report title. Criteria that have a single value selected are put into the title.
  Format and possible options are:
  
  <ul>
  <li>null (no change needed)
  <li>portlet
  <li>portlet (execution)
  <li>group
  <li>group (execution)
  <li>execution
  <li>portlet - group (also displayed if one of each criteria selected)
  </ul>
  
  @param form the form
  @return report title