LibreOffice Module dbaccess (master) 1
|
#include <strings.hxx>
#include <FilteredContainer.hxx>
#include <RefreshListener.hxx>
#include <sdbcoretools.hxx>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbc/XRow.hpp>
#include <comphelper/types.hxx>
#include <connectivity/dbtools.hxx>
#include <tools/wldcrd.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <optional>
#include <sal/log.hxx>
Go to the source code of this file.
Namespaces | |
namespace | dbaccess |
Macros | |
#define | FILTER_MODE_STANDARD 0 |
#define | FILTER_MODE_WILDCARD 1 |
#define | FILTER_MODE_FIXED 2 |
#define | FILTER_MODE_MIX_ALL 3 |
Typedefs | |
typedef ::std::optional< OUString > | dbaccess::OptionalString |
typedef std::vector< TableInfo > | dbaccess::TableInfos |
Functions | |
static sal_Int32 | dbaccess::createWildCardVector (Sequence< OUString > &_rTableFilter, std::vector< WildCard > &_rOut) |
creates a vector of WildCards and reduce the _rTableFilter of the length of WildCards More... | |
static bool | dbaccess::lcl_isElementAllowed (const OUString &_rName, const Sequence< OUString > &_rTableFilter, const std::vector< WildCard > &_rWCSearch) |
static void | dbaccess::lcl_ensureComposedName (TableInfo &_io_tableInfo, const Reference< XDatabaseMetaData > &_metaData) |
static void | dbaccess::lcl_ensureType (TableInfo &_io_tableInfo, const Reference< XDatabaseMetaData > &_metaData, const Reference< XNameAccess > &_masterContainer) |
static ::std::vector< OUString > | dbaccess::lcl_filter (TableInfos &&_unfilteredTables, const Sequence< OUString > &_tableFilter, const Sequence< OUString > &_tableTypeFilter, const Reference< XDatabaseMetaData > &_metaData, const Reference< XNameAccess > &_masterContainer) |
#define FILTER_MODE_FIXED 2 |
Definition at line 415 of file FilteredContainer.cxx.
#define FILTER_MODE_MIX_ALL 3 |
Definition at line 418 of file FilteredContainer.cxx.
#define FILTER_MODE_STANDARD 0 |
Definition at line 411 of file FilteredContainer.cxx.
#define FILTER_MODE_WILDCARD 1 |
Definition at line 413 of file FilteredContainer.cxx.
OptionalString sCatalog |
Definition at line 109 of file FilteredContainer.cxx.
Referenced by dbaui::OQueryTableView::AddTabWin(), dbaui::OTableSubscriptionPage::collectDetailedSelection(), dbaui::OApplicationController::convertToView(), dbaui::createDefaultName(), dbaccess::OTableContainer::createObject(), dbaccess::OViewContainer::createObject(), dbaui::OCopyTableWizard::createTable(), dbaui::createView(), dbaccess::OptimisticSet::deleteRow(), dbaui::OTableController::doSaveDoc(), dbaccess::OTableContainer::dropObject(), dbaccess::OViewContainer::dropObject(), dbaccess::OKeySet::executeInsert(), dbaui::ResultSetBrowser::fillDispatchArgs(), dbaccess::OptimisticSet::fillMissingValues(), dbaccess::ODBTableDecorator::fillPrivileges(), dbaccess::OKeySet::findTableColumnsMatching_throw(), dbaui::OTableTreeListBox::getEntryByQualifiedName(), dbaui::OTableTreeListBox::getQualifiedTableName(), dbaccess::ORowSet::impl_buildActiveCommand_throw(), dbaccess::OResultColumn::impl_determineIsRowVersion_nothrow(), dbaccess::OQueryColumn::impl_determineOriginalTableColumn(), dbaui::OTableTreeListBox::implAddEntry(), dbaui::OTableSubscriptionPage::implCheckTables(), dbaccess::OptimisticSet::insertRow(), dbaui::OCopyTable::LeavePage(), dbaccess::OConnection::prepareCommand(), dbaui::OApplicationController::renameEntry(), and dbaccess::OptimisticSet::updateRow().
OptionalString sComposedName |
Definition at line 107 of file FilteredContainer.cxx.
Referenced by dbaccess::OViewContainer::appendObject(), dbaui::OTableSubscriptionPage::collectDetailedSelection(), dbaui::OCopyTableWizard::createTable(), dbaccess::OTableContainer::dropObject(), dbaccess::OViewContainer::dropObject(), dbaui::OAppDetailPageHelper::getQualifiedName(), and dbaui::OJoinController::loadTableWindow().
OptionalString sName |
Definition at line 111 of file FilteredContainer.cxx.
Referenced by dbaui::ORelationTableView::_elementRemoved(), dbaui::OTableController::alterColumns(), dbaccess::OQueryContainer::approveInsertElement(), dbaui::SbaXDataBrowserController::approveParameter(), dbaui::OQueryController::askForNewName(), dbaui::OWizTypeSelectControl::CellModified(), dbaui::OParameterDialog::CheckValueForError(), dbaccess::OComponentDefinition::columnAppended(), dbaui::OCopyTableWizard::convertColumnName(), dbaui::OApplicationController::convertToView(), dbaui::OApplicationController::copySQLObject(), dbaui::ODatabaseExport::CreateDefaultColumn(), dbaccess::ODocumentContainer::createInstanceWithArguments(), dbaui::OTableController::createUniqueName(), dbaui::OCopyTableWizard::createUniqueName(), dbaui::OAppDetailPageHelper::describeCurrentSelectionForType(), dbaccess::OQueryContainer::dropByIndex(), dbaui::ORelationTableConnectionData::DropRelation(), dbaui::OAppDetailPageHelper::elementAdded(), dbaccess::OTableContainer::elementInserted(), dbaccess::OViewContainer::elementInserted(), dbaui::OApplicationController::elementInserted(), dbaccess::OViewContainer::elementRemoved(), dbaui::OApplicationController::elementRemoved(), dbaui::OApplicationController::elementReplaced(), dbahsql::utils::ensureFirebirdTableLength(), dbaui::OApplicationController::Execute(), dbaccess::ORowSet::execute_NoApprove_NoNewConn(), dbaui::OApplicationController::executeDrop(), dbaccess::ODBTableDecorator::fillPrivileges(), dbaccess::ODocumentContainer::getByHierarchicalName(), dbaccess::getColumnPositions(), dbaccess::OResultSet::getColumns(), dbaui::OApplicationController::getCurrentlySelectedName(), dbaui::ODbDataSourceAdministrationHelper::getCurrentSettings(), dbaui::DBSubComponentController::getDataSourceName(), dbaui::OTableTreeListBox::getEntryByQualifiedName(), dbaui::DlgOrderCrit::GetOrderList(), dbaui::ORelationController::getPrivateTitle(), dbaui::SbaTableQueryBrowser::getPrivateTitle(), dbaui::ObjectCopySource::getQualifiedObjectName(), dbaui::OAppDetailPageHelper::getSelectionElementNames(), dbaui::getStrippedDatabaseName(), dbaccess::ODocumentContainer::hasByHierarchicalName(), dbaccess::OColumnSettings::hasDefaultSettings(), dbaui::OApplicationController::identifySubComponent(), dbaccess::OContentHelper::impl_getHierarchicalName(), IMPL_LINK(), dbaui::IMPL_LINK_NOARG(), dbaccess::ODocumentDefinition::impl_openUI_nolck_throw(), dbaui::OTableTreeListBox::implAddEntry(), dbaui::OTableSubscriptionPage::implCheckTables(), dbaui::SbaXFormAdapter::implInsert(), dbaui::ORelationControl::InitController(), dbaccess::ODocumentContainer::insertByHierarchicalName(), dbaccess::ODocumentContainer::loadComponentFromURL(), dbaui::OTableController::loadData(), dbaui::OApplicationController::onSelectionChanged(), dbaccess::DataSupplier::queryContent(), dbaui::OApplicationController::queryDrop(), dbaccess::ODocumentContainer::removeByHierarchicalName(), dbaui::OApplicationController::renameEntry(), dbaccess::ODocumentContainer::replaceByHierarchicalName(), dbaui::SbaXFormAdapter::replaceByIndex(), dbaui::DlgFilterCrit::SetLine(), dbaui::OGeneralPageDialog::setParentTitle(), dbaui::OQueryTableView::ShowTabWin(), sdbtools::ObjectNames::suggestName(), dbaui::ORelationTableConnectionData::Update(), and dbaccess::ODocumentDefinition::updateDocumentTitle().
OptionalString sSchema |
Definition at line 110 of file FilteredContainer.cxx.
Referenced by dbaui::OQueryTableView::AddTabWin(), dbaui::OApplicationController::convertToView(), dbaui::createDefaultName(), dbaccess::OTableContainer::createObject(), dbaccess::OViewContainer::createObject(), dbaui::OCopyTableWizard::createTable(), dbaui::createView(), dbaccess::OptimisticSet::deleteRow(), dbaui::OTableController::doSaveDoc(), dbaccess::OTableContainer::dropObject(), dbaccess::OViewContainer::dropObject(), dbaccess::OKeySet::executeInsert(), dbaui::ResultSetBrowser::fillDispatchArgs(), dbaccess::OptimisticSet::fillMissingValues(), dbaccess::ODBTableDecorator::fillPrivileges(), dbaccess::OKeySet::findTableColumnsMatching_throw(), dbaui::OTableTreeListBox::getEntryByQualifiedName(), dbaui::OTableTreeListBox::getQualifiedTableName(), dbaccess::ORowSet::impl_buildActiveCommand_throw(), dbaccess::OResultColumn::impl_determineIsRowVersion_nothrow(), dbaccess::OQueryColumn::impl_determineOriginalTableColumn(), dbaui::OTableTreeListBox::implAddEntry(), dbaui::OTableSubscriptionPage::implCheckTables(), dbaccess::OptimisticSet::insertRow(), dbaui::OCopyTable::LeavePage(), dbaccess::OConnection::prepareCommand(), dbaui::OApplicationController::renameEntry(), and dbaccess::OptimisticSet::updateRow().
OptionalString sType |
Definition at line 108 of file FilteredContainer.cxx.
Referenced by dbaccess::OTableContainer::createObject(), dbaccess::OTableContainer::dropObject(), dbaccess::OViewContainer::elementInserted(), dbaxml::ODBExport::exportColumns(), dbaxml::ODBExport::exportConnectionData(), dbaxml::OXMLColumn::OXMLColumn(), and dbaxml::OXMLServerDatabase::OXMLServerDatabase().