public abstract class LoginListener
extends java.lang.Object
Abstract class supports the ERES administrator to modify the following information after the user
successfully login ERES: -- QuickDesigner: ConnectionManager for DataViewQuery -- QuickDesigner:
DBInfo for PreviewResultsBean using QUERY as data source -- Change the database connection before
exporting report for: -- QuickDesigner -- Dashboard -- ManuPage -- DHTMLViewer
The mechanism is as following: (1) the adminstrator first need to implement the method
setUserDatabaseConnection
so as to add the user specific database connection
information into the session. (2) For QuickDesigner: -- ConditionsBean will use
UserDBConnectionModifier.updateQuickDesignerConnection
method to update the
ConnectionManager object in the session. This object will be used for database connection in
PreviewResultsBean and PreviewQueryBean -- PreviewResultsBean will use
UserDBConnectionModifier.getQuickdesignerDBInfo
to create a new
quadbase.reportdesigner.ReportAPI.DBInfo Object.
(3) For Exporting/Displaying Report or Chart:
-- before exporting report or chart in QuickDesigner/Dashboard/MenuPage/DHTMLViewer
the ERES program will call UserDBConnectionModifier.updateReport
or
UserDBConnectionModifier.updateChart
to modify the report/chart database information
In the future versions, if new method/control is added into this class, please use regular method
(not abstract one), so as to avoid the problem that all early users have to change their
customized LoginListener when new version is installed.
- Since:
- ERES541