Bug 322346 Refactor data set editor pages' codes[29803]
Build Identifier: 20100810 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/DataSetProvider.java
getDataSetDesign( dataSet, true, true );
		return session.prepare( query, null );
	}
	/**
	 * 
	 * @param dataSet
	 * @return
	 * @throws BirtException
	 */
	public IPreparedQuery prepareQuery( DataSetHandle dataSet,
			IQueryDefinition query, boolean useColumnHints, boolean useFilters )
			throws BirtException
	{
		DataRequestSession session = getDataRequestSession( dataSet );
		getDataSetDesign( dataSet, useColumnHints, useFilters );
		return session.prepare( query, null );
	}
	/**
	 * Gets prepared query, given Data set, Parameter binding, and
	 * useColumnHints, useFilters information.
	 * 
	 * @param dataSet
	 *            Given DataSet providing SQL query and parameters.
	 * @param bindingParams
	 *            Given Parameter bindings providing binded parameters, null if
	 *            no binded parameters.
	 * @param useColumnHints
	 *            Using column hints flag.
	 * @param useFilters
	 *            Using filters flag.