List getGroupby ( ) { List result = _getGroupby ( ) ; Iterator iter = getCriteria ( ) . iterator ( ) ; Object crit ; while ( iter . hasNext ( ) ) { crit = iter . next ( ) ; if ( crit instanceof Criteria ) { result . addAll ( ( ( Criteria ) crit ) . getGroupby ( ) ) ; } } return result ; }
Gets the groupby for ReportQueries of all Criteria and Sub Criteria the elements are of class FieldHelper