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 TypeMethodDescriptionvoidafterClose(IReportContext reportContext) Handle the afterClose eventvoidafterOpen(IDataSourceInstance dataSource, IReportContext reportContext) Handle the afterOpen eventvoidbeforeClose(IDataSourceInstance dataSource, IReportContext reportContext) Handle the beforeClose eventvoidbeforeOpen(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
-