Bug 110681 Reportlet
Web pages often use HTML tables instead to organize and position their content. In order to provide more flexibility for integrating report content into the customer web pages, it becomes necessary to introduce a new set of formats that return content as Reportlets or partial DHTML pages. These reportlets can then be included within web pages generated by the customers web application. This project focuses on producing content that is easily embeddable within an overall HTML page.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
* @throws BirtException
	 */
	public void clearCache( DataSetHandle dataSet ) throws BirtException
	{
		DataSessionContext context = new DataSessionContext(
				DataSessionContext.MODE_DIRECT_PRESENTATION, dataSet
						.getModuleHandle( ), null );
		DataRequestSession requestSession = DataRequestSession
				.newSession( context );
		IModelAdapter modelAdaptor = requestSession.getModelAdaptor( );
		DataSourceHandle dataSource = dataSet.getDataSource( );
		IBaseDataSourceDesign sourceDesign = modelAdaptor
				.adaptDataSource( dataSource );
		IBaseDataSetDesign dataSetDesign = modelAdaptor.adaptDataSet( dataSet );
		requestSession.clearCache( sourceDesign, dataSetDesign );
	}
	/**
	 * @param maxRows
	 * 
	 * @return void
	 */
	public void setMaxRows( int maxRows )
	{
		if ( config != null )
		{
			config.setMaxRowsPerQuery( maxRows );
		}
	}
}