static int getGroupFirstRowIndex( int groupLevel, int groupIndex, List[] groups, ResultSetCache smartCache ) throws DataException
public static int getGroupFirstRowIndex( int groupLevel, int groupIndex, List[] groups, int count )
	static int getGroupFirstRowIndex( int groupLevel, int groupIndex,			List[] groups, ResultSetCache smartCache ) throws DataException	{		int rowIndex;		if ( groupIndex < groups[groupLevel - 1].size( ) )		{			GroupInfo groupInfo;			for ( int i = groupLevel - 1; i < groups.length; i++ )			{				groupInfo = findGroup( i, groupIndex, groups );				groupIndex = groupInfo.firstChild;			}			rowIndex = groupIndex;		}		else		{			rowIndex = smartCache.getCount( );		}		return rowIndex;	}