|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.database.common.XBRLDatabaseAccessApp
public abstract class XBRLDatabaseAccessApp
This abstract class should be used to facilitate initialization of applications that require a connection to the XBRL Database. The class must implement HasFrame because if the configuration cannot be obtained the class prompts to the user for dialogs in order to obtain the configuration object and initialize it.
| Constructor Summary | |
|---|---|
XBRLDatabaseAccessApp(DatabaseManagerBase dbm,
RegisterExtraClasses[] registerExtraClasses,
java.util.Properties extraProperties,
boolean bCreateDefault,
boolean bHasGUI)
Class this constructor during the initialization of the application. |
|
XBRLDatabaseAccessApp(RegisterExtraClasses[] registerExtraClasses,
java.util.Properties extraProperties,
boolean bCreateDefault,
boolean bHasGUI)
Class this constructor during the initialization of the application. |
|
| Method Summary | |
|---|---|
DbUtil |
getDbUtil()
Returns back the instance of the DbUtil object created during the initialization of this object. |
DatabaseManagerBase.DatabaseConfigurationInformationStatus |
getStatus()
Returns the status information about the database file. |
void |
showDbSettings(HasDatabaseManagerGUI gui,
java.awt.Component relativeTo,
RegisterExtraClasses[] registerExtraClasses)
Creates an instance of the DatabaseManager dialog and sets it as visible. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLDatabaseAccessApp(RegisterExtraClasses[] registerExtraClasses,
java.util.Properties extraProperties,
boolean bCreateDefault,
boolean bHasGUI)
registerExtraClasses - may be null. this is an array of objects that implements the RegisterExtraClasses interface.extraProperties - additional properties in order to initialize the connection to the XBRL DatabasebCreateDefault - boolean, if true, default database properties are created if they do not exist. If false, the function just returns
and the getStatus() method returns DatabaseConfigurationInformationStatus.NO_PROPERTIES_FILE_EXISThasGUI - this is true if the service can open a window to the end user. false otherwise.getStatus()
public XBRLDatabaseAccessApp(DatabaseManagerBase dbm,
RegisterExtraClasses[] registerExtraClasses,
java.util.Properties extraProperties,
boolean bCreateDefault,
boolean bHasGUI)
dbm - instance of a DatabaseManagerBase to be used. This instance is provided when multiple databases are used.
One instance of the DatabaseManagerBase is required for each database table space.registerExtraClasses - may be null. this is an array of objects that implements the RegisterExtraClasses interface.extraProperties - additional properties in order to initialize the connection to the XBRL Database and tune the pojo generation processbCreateDefault - boolean, if true, default database properties are created if they do not exist. If false, the function just returns
and the getStatus() method returns DatabaseConfigurationInformationStatus.NO_PROPERTIES_FILE_EXISThasGUI - this is true if the service can open a window to the end user. false otherwise.getStatus()| Method Detail |
|---|
public DbUtil getDbUtil()
public DatabaseManagerBase.DatabaseConfigurationInformationStatus getStatus()
public void showDbSettings(HasDatabaseManagerGUI gui,
java.awt.Component relativeTo,
RegisterExtraClasses[] registerExtraClasses)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||