Class DatabaseInfoSearcher
java.lang.Object
ch.nolix.system.midschemainfo.modelsearcher.DatabaseInfoSearcher
- All Implemented Interfaces:
IDatabaseInfoSearcher
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColumnViewByTableNameAndColumnId(DatabaseInfoDto databaseView, String tableName, String columnId) getColumnViewByTableNameAndColumnName(DatabaseInfoDto databaseView, String tableName, String columnName) getTableViewByTableId(DatabaseInfoDto databaseView, String tableId) getTableViewByTableName(DatabaseInfoDto databaseView, String tableName)
-
Constructor Details
-
DatabaseInfoSearcher
public DatabaseInfoSearcher()
-
-
Method Details
-
getColumnViewByTableNameAndColumnId
public ColumnInfoDto getColumnViewByTableNameAndColumnId(DatabaseInfoDto databaseView, String tableName, String columnId) - Specified by:
getColumnViewByTableNameAndColumnIdin interfaceIDatabaseInfoSearcher- Parameters:
databaseView-tableName-columnId-- Returns:
- the
ColumnInfoDtowith the given columnId from the table with the given tableName from the given databaseView.
-
getColumnViewByTableNameAndColumnName
public ColumnInfoDto getColumnViewByTableNameAndColumnName(DatabaseInfoDto databaseView, String tableName, String columnName) - Specified by:
getColumnViewByTableNameAndColumnNamein interfaceIDatabaseInfoSearcher- Parameters:
databaseView-tableName-columnName-- Returns:
- the
ColumnInfoDtowith the given columnName from the table with the given tableName from the given databaseView.
-
getTableViewByTableId
- Specified by:
getTableViewByTableIdin interfaceIDatabaseInfoSearcher- Parameters:
databaseView-tableId-- Returns:
- the
TableInfoDtowith the given tableId from the given databaseView.
-
getTableViewByTableName
- Specified by:
getTableViewByTableNamein interfaceIDatabaseInfoSearcher- Parameters:
databaseView-tableName-- Returns:
- the
TableInfoDtowith the given tableName from the given databaseView.
-