Interface TableManagerAccessor


  • public interface TableManagerAccessor
    Provides access for JChemTableManagerImpl for JChem related TableSetInfoProvider implementations. The implementation delegates to JChemTableManagerImpl, OracleCartridgeTableManager and JChemBaseTableManager. The main aim of this class is easy testability.
    • Method Detail

      • get

        static TableManagerAccessor get()
        Retrieves the currently set instance of TableManagerAccessor.
        Returns:
        instance of TableManagerAccessor
        Throws:
        java.lang.NullPointerException - if no TableManagerAccessor implementation is available
      • getDBItemsCache

        com.im.commons.db.ddl.DBItemsCache getDBItemsCache()
      • getDatabasePlatform

        com.im.commons.db.DatabasePlatformX getDatabasePlatform()
      • getPropertyTableForJChemBaseTable

        java.lang.String getPropertyTableForJChemBaseTable​(java.lang.String schemaPlusTable)
      • isJChemPropertyTable

        boolean isJChemPropertyTable​(com.im.commons.db.ddl.DBTableInfo propertyTable,
                                     java.util.Set<java.lang.String> allPropTables)
      • initTableSetInfoForPropertyTable

        com.im.commons.db.ddl.tablesets.TableSetInfo initTableSetInfoForPropertyTable​(com.im.commons.db.ddl.DBTableInfo primaryTable,
                                                                                      com.im.commons.db.ddl.DBTableInfo cacheRegistrationTable)
      • isPureJChemBaseTable

        boolean isPureJChemBaseTable​(java.lang.String schemaPlusTable)
      • propertyTableForIndex

        java.lang.String propertyTableForIndex​(java.lang.String schemaPlusIndexName)
      • structureColumnForIndex

        java.lang.String structureColumnForIndex​(java.lang.String cartIndexName)
      • indexTableForIndex

        java.lang.String indexTableForIndex​(java.lang.String cartIndexName)
      • getIndexTableData

        java.util.Map<java.lang.String,​java.lang.String> getIndexTableData()
      • indexForIndexTable

        java.lang.String indexForIndexTable​(java.lang.String toUpperCase)
      • indexNameForCartridgeTable

        java.lang.String indexNameForCartridgeTable​(java.lang.String toUpperCase)
      • buildTableSetInfoForCartJCBTable

        com.im.commons.db.ddl.tablesets.JChemCartridgeJChemBaseTableSetInfo buildTableSetInfoForCartJCBTable​(com.im.commons.db.ddl.DBTableInfo view,
                                                                                                             com.im.commons.db.ddl.DBTableInfo jchemTable,
                                                                                                             com.im.commons.db.ddl.DBTableInfo ulTable,
                                                                                                             java.lang.String schemaPlusIndex,
                                                                                                             java.lang.String schemaPlusProptable)
      • buildTableSetInfoForCartStdTable

        com.im.commons.db.ddl.tablesets.JChemCartridgeStandardTableSetInfo buildTableSetInfoForCartStdTable​(com.im.commons.db.ddl.DBTableInfo stdTable,
                                                                                                            com.im.commons.db.ddl.DBTableInfo idxTable,
                                                                                                            com.im.commons.db.ddl.DBTableInfo idxTableUL,
                                                                                                            com.im.commons.db.ddl.DBTableInfo jsuTable,
                                                                                                            java.lang.String structureColumn,
                                                                                                            java.lang.String schemaPlusIndex,
                                                                                                            java.lang.String schemaPlusProptable)
      • buildTableSetInfoForJChemBaseTable

        com.im.commons.db.ddl.tablesets.TableSetInfo buildTableSetInfoForJChemBaseTable​(com.im.commons.db.ddl.DBTableInfo primaryTable,
                                                                                        com.im.commons.db.ddl.DBTableInfo jchemTable,
                                                                                        com.im.commons.db.ddl.DBTableInfo ulTable,
                                                                                        java.lang.String schemaPlusProptable)
      • buildTableSetInfoForStandardTable

        com.im.commons.db.ddl.tablesets.TableSetInfo buildTableSetInfoForStandardTable​(com.im.commons.db.ddl.DBTableInfo get)