Interface IDataSourceEventHandler
-
- All Known Subinterfaces:
IScriptedDataSourceEventHandler
- All Known Implementing Classes:
DataSourceEventAdapter,ScriptedDataSourceEventAdapter
public interface IDataSourceEventHandlerScript event handler interface for a data source
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterClose(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 Detail
-
beforeOpen
void beforeOpen(IDataSourceInstance dataSource, IReportContext reportContext) throws ScriptException
Handle the beforeOpen event- Throws:
ScriptException
-
afterOpen
void afterOpen(IDataSourceInstance dataSource, IReportContext reportContext) throws ScriptException
Handle the afterOpen event- Throws:
ScriptException
-
beforeClose
void beforeClose(IDataSourceInstance dataSource, IReportContext reportContext) throws ScriptException
Handle the beforeClose event- Throws:
ScriptException
-
afterClose
void afterClose(IReportContext reportContext) throws ScriptException
Handle the afterClose event- Throws:
ScriptException
-
-