Eclipse BIRT Report Object Model (ROM)
DataSource Element
Display Name: | Data Source |
Since: | 1.0 |
XML Element: | None |
Extends: | ReportElement |
Extendable: | No |
Abstract: | Yes |
Name Space: | Data Sources |
Name Requirement: | Required |
Allows User Properties: | Yes |
Has Style: | No |
comments, customXml, displayName, displayNameID, eventHandlerClass, extends, name, newHandlerOnEachEvent, propertyMasks, userProperties, viewAction
The Data Source script methods execute as methods of a
JavaScript object that represents the data source. See the Data Scripting
Objects section for a description of the
DataSource
scripting
object.
DataSource
scripting object
Called just after closing the data source connection.
None obj.afterClose( )
Since: | 1.0 |
Context: | factory |
Arguments: | None |
Return Type: | None |
Called just after BIRT closes the data source. Allows the application to perform code-based cleanup.
beforeClose
method
Perform initialization after opening the data source connection for data access.
None obj.afterOpen( )
Since: | 1.0 |
Context: | factory |
Arguments: | None |
Return Type: | None |
Called just after BIRT opens the data source. Allows the application to perform any code-based initialization required for the data source.
beforeOpen
method
Called just before closing the data source connection.
None obj.beforeClose( )
Since: | 1.0 |
Context: | factory |
Arguments: | None |
Return Type: | None |
Called just before BIRT closes the data source. Allows the application to perform code-based cleanup.
afterClose
method
Perform initialization before opening the data source connection for data access.
None obj.beforeOpen( )
Since: | 1.0 |
Context: | factory |
Arguments: | None |
Return Type: | None |
Called just before BIRT opens the data source. Allows the application to customize the data source properties.
afterOpen
method