/**
  * Generate a report, listing the result bucket and identifier bucket. 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 result code bucket
  * description is specified by a bucket description object. The identifier bucket description is
  * specified by a bucket description object. The resultset returned should have the following
  * columns: "resultcodebucket","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 resultCodeBucket is the description of the bucket based on processed result codes.
  * @param idBucket is the description of the bucket based on processed entity identifiers.
  * @param startRow is the first row to include (beginning with 0)
  * @param maxRowCount is the maximum number of rows to include.
  */
 public IResultSet genHistoryResultCodes(
     String connectionName,
     FilterCriteria criteria,
     SortOrder sort,
     BucketDescription resultCodeBucket,
     BucketDescription idBucket,
     int startRow,
     int maxRowCount)
     throws ManifoldCFException {
   return historyManager.resultCodesReport(
       connectionName, criteria, sort, resultCodeBucket, idBucket, startRow, maxRowCount);
 }