groupDefn.getFilters( ).addAll( FilterDefnUtil.loadFilterDefn( dis ) ); groupDefn.getSorts( ).addAll( QueryDefnUtil.loadSorts( dis ) );
	static List loadGroupDefn( InputStream inputStream )			throws DataException	{		List groupList = new ArrayList( );		DataInputStream dis = new DataInputStream( inputStream );		try		{			int size = IOUtil.readInt( inputStream );			for ( int i = 0; i < size; i++ )			{				GroupDefinition groupDefn = new GroupDefinition( IOUtil.readString( dis ));				String keyColumn = IOUtil.readString( dis );				String keyExpr = IOUtil.readString( dis );				if ( keyColumn != null )					groupDefn.setKeyColumn( keyColumn );				else					groupDefn.setKeyExpression( keyExpr );				groupDefn.setInterval( IOUtil.readInt( dis ) );				groupDefn.setIntervalRange( IOUtil.readDouble( dis ) );				groupDefn.setSortDirection( IOUtil.readInt( dis ) );				groupDefn.getSubqueries( )						.addAll( QueryDefnUtil.loadSubQuery( dis ) );				groupList.add( groupDefn );			}		}		catch ( IOException e )		{			throw new DataException( ResourceConstants.RD_LOAD_ERROR, e );		}		return groupList;	}