/**
  * Generate a report, listing the start time, activity count, and identifier bucket, given a time
  * slice (interval) size. The records selected for this report are based on the filtering criteria
  * object passed into this method. The record order is based on the sorting criteria object passed
  * into this method. The identifier bucket description is specified by the bucket description
  * object. The resultset returned should have the following columns:
  * "starttime","endtime","activitycount","idbucket".
  *
  * @param connectionName is the name of the connection.
  * @param criteria is the filtering criteria, which selects the records of interest.
  * @param sort is the sorting order, which can specify sort based on the result columns.
  * @param idBucket is the description of the bucket based on processed entity identifiers.
  * @param interval is the time interval, in milliseconds, to locate. There will be one row in the
  *     resultset for each distinct idBucket value, and the returned activity count will the
  *     maximum found over the specified interval size.
  * @param startRow is the first row to include (beginning with 0)
  * @param maxRowCount is the maximum number of rows to include.
  */
 public IResultSet genHistoryActivityCount(
     String connectionName,
     FilterCriteria criteria,
     SortOrder sort,
     BucketDescription idBucket,
     long interval,
     int startRow,
     int maxRowCount)
     throws ManifoldCFException {
   return historyManager.maxActivityCountReport(
       connectionName, criteria, sort, idBucket, interval, startRow, maxRowCount);
 }