Four data retrieval and manipulation interfaces are essential for communication between the BI Beans presentation beans and their data source. These interfaces, which are contained in the package oracle.dss.util,
are as follows:
DataSource
-- Defines the basic type of object that the presentation beans must start with as a data source.
DataDirector
-- Contains methods that a presentation bean calls when it receives a request to manipulate (drill, pivot, etc.) the data that is displayed currently.
DataDirectorListener
-- Contains methods that you call from the DataDirector to inform a presentation bean that data is available or changed. These methods are implemented in the presentation bean.
DataAccess
-- Contains methods that a presentation bean calls when it is informed that data is available for retrieval from a data source.
If you use the BI Beans Query object as the data source for the presentation
beans, then these data interfaces are implemented automatically for you. If
you build your own data source, then you must provide implementations for the
methods that you want to use in the DataSource
, DataDirector
, and DataAccess
interfaces.
Relationship Between Presentation Beans and their Data Source
Key Methods of the DataAccess Interface
Key Methods of the DataDirector Interface
Key Methods of the DataDirectorListener Interface
Key Methods of the DataSource Interface