LibreOffice Module dbaccess (master) 1
Namespaces | Macros | Typedefs | Functions
FilteredContainer.cxx File Reference
#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>
Include dependency graph for FilteredContainer.cxx:

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)
 

Macro Definition Documentation

◆ FILTER_MODE_FIXED

#define FILTER_MODE_FIXED   2

Definition at line 415 of file FilteredContainer.cxx.

◆ FILTER_MODE_MIX_ALL

#define FILTER_MODE_MIX_ALL   3

Definition at line 418 of file FilteredContainer.cxx.

◆ FILTER_MODE_STANDARD

#define FILTER_MODE_STANDARD   0

Definition at line 411 of file FilteredContainer.cxx.

◆ FILTER_MODE_WILDCARD

#define FILTER_MODE_WILDCARD   1

Definition at line 413 of file FilteredContainer.cxx.

Variable Documentation

◆ sCatalog

OptionalString sCatalog

◆ sComposedName

OptionalString sComposedName

◆ 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().

◆ sSchema

OptionalString sSchema

◆ sType