Interface IDataSourceEventHandler
- All Known Subinterfaces:
IScriptedDataSourceEventHandler
- All Known Implementing Classes:
DataSourceEventAdapter
,ScriptedDataSourceEventAdapter
public interface IDataSourceEventHandler
Script event handler interface for a data source
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterClose
(IReportContext reportContext) Handle the afterClose eventvoid
afterOpen
(IDataSourceInstance dataSource, IReportContext reportContext) Handle the afterOpen eventvoid
beforeClose
(IDataSourceInstance dataSource, IReportContext reportContext) Handle the beforeClose eventvoid
beforeOpen
(IDataSourceInstance dataSource, IReportContext reportContext) Handle the beforeOpen event
-
Method Details
-
beforeOpen
void beforeOpen(IDataSourceInstance dataSource, IReportContext reportContext) throws ScriptException Handle the beforeOpen event- Throws:
ScriptException
-
afterOpen
Handle the afterOpen event- Throws:
ScriptException
-
beforeClose
void beforeClose(IDataSourceInstance dataSource, IReportContext reportContext) throws ScriptException Handle the beforeClose event- Throws:
ScriptException
-
afterClose
Handle the afterClose event- Throws:
ScriptException
-