@Override public List<DeveloperDatabaseTable> getDatabaseTableList( DeveloperObjectFactory developerObjectFactory, DeveloperDatabase developerDatabase) { CryptoBrokerIdentityDeveloperDatabaseFactory dbFactory = new CryptoBrokerIdentityDeveloperDatabaseFactory(this.pluginDatabaseSystem, this.pluginId); return dbFactory.getDatabaseTableList(developerObjectFactory); }
@Override public List<DeveloperDatabaseTableRecord> getDatabaseTableContent( DeveloperObjectFactory developerObjectFactory, DeveloperDatabase developerDatabase, DeveloperDatabaseTable developerDatabaseTable) { try { CryptoBrokerIdentityDeveloperDatabaseFactory dbFactory = new CryptoBrokerIdentityDeveloperDatabaseFactory( this.pluginDatabaseSystem, this.pluginId); dbFactory.initializeDatabase(); return dbFactory.getDatabaseTableContent(developerObjectFactory, developerDatabaseTable); } catch (CantInitializeCryptoBrokerIdentityDatabaseException e) { this.errorManager.reportUnexpectedPluginException( this.getPluginVersionReference(), UnexpectedPluginExceptionSeverity.DISABLES_SOME_FUNCTIONALITY_WITHIN_THIS_PLUGIN, e); } return new ArrayList<>(); }