Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 208745 - Extended item interface enhancement
Summary: Extended item interface enhancement
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.3.0 M3   Edit
Assignee: Wei Wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 197304
  Show dependency tree
 
Reported: 2007-11-05 05:46 EST by David Michonneau CLA
Modified: 2007-11-12 02:24 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michonneau CLA 2007-11-05 05:46:35 EST
The goal of this enhancement is to enable extended items to access 
unidimensional and multi-dimensional data through the existing 
IReportItemPresentation and IReportItemGeneration interfaces.

The onRowSet method in the interface IReportItemPresentation and 
IReportItemGeneration should be overloaded:

Object onRowSets( IBaseResultSet[]);

IBaseResutlSet is the parent class of IQueryResultSet and ICubeResultSet. So it 
will enable to pass both cube and dataset resultset through the same method. 
For backward compatibility the old onRowSets(IRowSet[]) method will still be 
called and working, but deprecated.
Comment 1 Wei Wang CLA 2007-11-09 04:42:54 EST
Add following APIs:
 - IReportItemGeneration.setExtendedItemContent( IContent )
 - IReportItemPresentation.setExtendedItemContent( IContent )
On Generation phrase and Presentation phrase, an extended item content will be pass into engine, so some properties can be handled by the extended item itself, such as bookmark, styles etc. etc.

 - IReportItemGeneration.onRowSets( IBaseResultSet[] )
 - IReportItemPresentation.onRowSets( IBaseResultSet[] )
The extension item should be able to access the query result from the DTE’s API directly, so it can get support of group/cube etc from DTE directly.

set FIXED.
Comment 2 Xiaodan Wang CLA 2007-11-12 02:24:35 EST
Verified in build (2.3.0.v20071109-1641).