1*2e2212a7SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*2e2212a7SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*2e2212a7SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*2e2212a7SAndrew Rist  * distributed with this work for additional information
6*2e2212a7SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*2e2212a7SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*2e2212a7SAndrew Rist  * "License"); you may not use this file except in compliance
9*2e2212a7SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*2e2212a7SAndrew Rist  *
11*2e2212a7SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*2e2212a7SAndrew Rist  *
13*2e2212a7SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*2e2212a7SAndrew Rist  * software distributed under the License is distributed on an
15*2e2212a7SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2e2212a7SAndrew Rist  * KIND, either express or implied.  See the License for the
17*2e2212a7SAndrew Rist  * specific language governing permissions and limitations
18*2e2212a7SAndrew Rist  * under the License.
19*2e2212a7SAndrew Rist  *
20*2e2212a7SAndrew Rist  *************************************************************/
21*2e2212a7SAndrew Rist 
22*2e2212a7SAndrew Rist 
23cdf0e10cSrcweir #ifndef _DBA_CORE_CONNECTION_HXX_
24cdf0e10cSrcweir #define _DBA_CORE_CONNECTION_HXX_
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include "apitools.hxx"
27cdf0e10cSrcweir #include "querycontainer.hxx"
28cdf0e10cSrcweir #include "tablecontainer.hxx"
29cdf0e10cSrcweir #include "viewcontainer.hxx"
30cdf0e10cSrcweir #include "RefreshListener.hxx"
31cdf0e10cSrcweir 
32cdf0e10cSrcweir /** === begin UNO includes === **/
33cdf0e10cSrcweir #include <com/sun/star/container/XChild.hpp>
34cdf0e10cSrcweir #include <com/sun/star/lang/DisposedException.hpp>
35cdf0e10cSrcweir #include <com/sun/star/sdb/XSQLQueryComposerFactory.hpp>
36cdf0e10cSrcweir #include <com/sun/star/sdb/XCommandPreparation.hpp>
37cdf0e10cSrcweir #include <com/sun/star/sdbcx/XTablesSupplier.hpp>
38cdf0e10cSrcweir #include <com/sun/star/sdbcx/XViewsSupplier.hpp>
39cdf0e10cSrcweir #include <com/sun/star/sdbcx/XUsersSupplier.hpp>
40cdf0e10cSrcweir #include <com/sun/star/sdbcx/XGroupsSupplier.hpp>
41cdf0e10cSrcweir #include <com/sun/star/sdb/XQueriesSupplier.hpp>
42cdf0e10cSrcweir #include <com/sun/star/lang/XMultiServiceFactory.hpp>
43cdf0e10cSrcweir #include <com/sun/star/sdb/tools/XConnectionTools.hpp>
44cdf0e10cSrcweir #include <com/sun/star/sdb/application/XTableUIProvider.hpp>
45cdf0e10cSrcweir /** === end UNO includes === **/
46cdf0e10cSrcweir 
47cdf0e10cSrcweir #if ! defined(INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_14)
48cdf0e10cSrcweir #define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_14
49cdf0e10cSrcweir #define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 14
50cdf0e10cSrcweir #include <comphelper/implbase_var.hxx>
51cdf0e10cSrcweir #endif
52cdf0e10cSrcweir #include <comphelper/componentcontext.hxx>
53cdf0e10cSrcweir #include <comphelper/stl_types.hxx>
54cdf0e10cSrcweir #include <connectivity/ConnectionWrapper.hxx>
55cdf0e10cSrcweir #include <connectivity/warningscontainer.hxx>
56cdf0e10cSrcweir 
57cdf0e10cSrcweir //........................................................................
58cdf0e10cSrcweir namespace dbaccess
59cdf0e10cSrcweir {
60cdf0e10cSrcweir //........................................................................
61cdf0e10cSrcweir 
62cdf0e10cSrcweir //==========================================================================
63cdf0e10cSrcweir //==========================================================================
64cdf0e10cSrcweir typedef ::comphelper::ImplHelper14  <   ::com::sun::star::container::XChild
65cdf0e10cSrcweir                                     ,   ::com::sun::star::sdbcx::XTablesSupplier
66cdf0e10cSrcweir                                     ,   ::com::sun::star::sdbcx::XViewsSupplier
67cdf0e10cSrcweir                                     ,   ::com::sun::star::sdbc::XConnection
68cdf0e10cSrcweir                                     ,   ::com::sun::star::sdbc::XWarningsSupplier
69cdf0e10cSrcweir                                     ,   ::com::sun::star::sdb::XQueriesSupplier
70cdf0e10cSrcweir                                     ,   ::com::sun::star::sdb::XSQLQueryComposerFactory
71cdf0e10cSrcweir                                     ,   ::com::sun::star::sdb::XCommandPreparation
72cdf0e10cSrcweir                                     ,   ::com::sun::star::lang::XServiceInfo
73cdf0e10cSrcweir                                     ,   ::com::sun::star::lang::XMultiServiceFactory
74cdf0e10cSrcweir                                     ,   ::com::sun::star::sdbcx::XUsersSupplier
75cdf0e10cSrcweir                                     ,   ::com::sun::star::sdbcx::XGroupsSupplier
76cdf0e10cSrcweir                                     ,   ::com::sun::star::sdb::tools::XConnectionTools
77cdf0e10cSrcweir                                     ,   ::com::sun::star::sdb::application::XTableUIProvider
78cdf0e10cSrcweir                                     >   OConnection_Base;
79cdf0e10cSrcweir 
80cdf0e10cSrcweir class ODatabaseSource;
81cdf0e10cSrcweir //==========================================================================
82cdf0e10cSrcweir //= OConnection
83cdf0e10cSrcweir //==========================================================================
84cdf0e10cSrcweir class OConnection			:public ::comphelper::OBaseMutex
85cdf0e10cSrcweir 							,public OSubComponent
86cdf0e10cSrcweir 							,public ::connectivity::OConnectionWrapper
87cdf0e10cSrcweir 							,public OConnection_Base
88cdf0e10cSrcweir 							,public IRefreshListener
89cdf0e10cSrcweir {
90cdf0e10cSrcweir protected:
91cdf0e10cSrcweir 	::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XTablesSupplier >
92cdf0e10cSrcweir 							m_xMasterTables; // just to avoid the recreation of the catalog
93cdf0e10cSrcweir 	OWeakRefArray			m_aStatements;
94cdf0e10cSrcweir 	::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >
95cdf0e10cSrcweir                             m_xQueries;
96cdf0e10cSrcweir 	OWeakRefArray			m_aComposers;
97cdf0e10cSrcweir 
98cdf0e10cSrcweir 	// the filter as set on the parent data link at construction of the connection
99cdf0e10cSrcweir 	::com::sun::star::uno::Sequence< ::rtl::OUString >	m_aTableFilter;
100cdf0e10cSrcweir 	::com::sun::star::uno::Sequence< ::rtl::OUString >	m_aTableTypeFilter;
101cdf0e10cSrcweir     ::comphelper::ComponentContext                      m_aContext;
102cdf0e10cSrcweir 	::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >				        m_xMasterConnection;
103cdf0e10cSrcweir     ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XConnectionTools >          m_xConnectionTools;
104cdf0e10cSrcweir     ::com::sun::star::uno::Reference< ::com::sun::star::sdb::application::XTableUIProvider >    m_xTableUIProvider;
105cdf0e10cSrcweir 
106cdf0e10cSrcweir     // defines the helper services for example to query the command of a view
107cdf0e10cSrcweir     // @ see com.sun.star.sdb.tools.XViewAccess
108cdf0e10cSrcweir     DECLARE_STL_USTRINGACCESS_MAP( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>, TSupportServices);
109cdf0e10cSrcweir     TSupportServices                m_aSupportServices;
110cdf0e10cSrcweir 
111cdf0e10cSrcweir 
112cdf0e10cSrcweir 	OTableContainer*			    m_pTables;
113cdf0e10cSrcweir 	OViewContainer*				    m_pViews;
114cdf0e10cSrcweir     ::dbtools::WarningsContainer    m_aWarnings;
115cdf0e10cSrcweir     oslInterlockedCount             m_nInAppend;
116cdf0e10cSrcweir 	sal_Bool					    m_bSupportsViews;		// true when the getTableTypes return "VIEW" as type
117cdf0e10cSrcweir 	sal_Bool					    m_bSupportsUsers;
118cdf0e10cSrcweir 	sal_Bool					    m_bSupportsGroups;
119cdf0e10cSrcweir 
120cdf0e10cSrcweir protected:
121cdf0e10cSrcweir 	virtual ~OConnection();
122cdf0e10cSrcweir public:
123cdf0e10cSrcweir 	OConnection(ODatabaseSource& _rDB
124cdf0e10cSrcweir 				,::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxMaster
125cdf0e10cSrcweir 				,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB);
126cdf0e10cSrcweir 
127cdf0e10cSrcweir // com::sun::star::lang::XTypeProvider
128cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException);
129cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException);
130cdf0e10cSrcweir 
131cdf0e10cSrcweir // com::sun::star::uno::XInterface
132cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw (::com::sun::star::uno::RuntimeException);
133cdf0e10cSrcweir         virtual void SAL_CALL acquire() throw( );
134cdf0e10cSrcweir     virtual void SAL_CALL release() throw( );
135cdf0e10cSrcweir 
136cdf0e10cSrcweir // OComponentHelper
137cdf0e10cSrcweir 	virtual void SAL_CALL disposing(void);
138cdf0e10cSrcweir 
139cdf0e10cSrcweir // ::com::sun::star::container::XChild
140cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent(  ) throw(::com::sun::star::uno::RuntimeException);
141cdf0e10cSrcweir     virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw(::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException);
142cdf0e10cSrcweir 
143cdf0e10cSrcweir // ::com::sun::star::sdbcx::XTablesSupplier
144cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTables(  ) throw(::com::sun::star::uno::RuntimeException);
145cdf0e10cSrcweir // ::com::sun::star::sdbcx::XViewsSupplier
146cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getViews(  ) throw(::com::sun::star::uno::RuntimeException);
147cdf0e10cSrcweir 
148cdf0e10cSrcweir // ::com::sun::star::sdb::XQueriesSupplier
149cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getQueries(  ) throw(::com::sun::star::uno::RuntimeException);
150cdf0e10cSrcweir 
151cdf0e10cSrcweir // ::com::sun::star::sdb::XSQLQueryComposerFactory
152cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLQueryComposer > SAL_CALL createQueryComposer(  ) throw(::com::sun::star::uno::RuntimeException);
153cdf0e10cSrcweir 
154cdf0e10cSrcweir // ::com::sun::star::sdb::XCommandPreparation
155cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareCommand( const ::rtl::OUString& command, sal_Int32 commandType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
156cdf0e10cSrcweir 
157cdf0e10cSrcweir // ::com::sun::star::sdbc::XWarningsSupplier
158cdf0e10cSrcweir     virtual ::com::sun::star::uno::Any SAL_CALL getWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
159cdf0e10cSrcweir     virtual void SAL_CALL clearWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
160cdf0e10cSrcweir 
161cdf0e10cSrcweir // ::com::sun::star::lang::XServiceInfo
162cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
163cdf0e10cSrcweir     virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
164cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw(::com::sun::star::uno::RuntimeException);
165cdf0e10cSrcweir 
166cdf0e10cSrcweir // XConnection
167cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement > SAL_CALL createStatement(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
168cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareStatement( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
169cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareCall( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
170cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL nativeSQL( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
171cdf0e10cSrcweir     virtual void SAL_CALL setAutoCommit( sal_Bool autoCommit ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
172cdf0e10cSrcweir     virtual sal_Bool SAL_CALL getAutoCommit(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
173cdf0e10cSrcweir     virtual void SAL_CALL commit(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
174cdf0e10cSrcweir     virtual void SAL_CALL rollback(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
175cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isClosed(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
176cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > SAL_CALL getMetaData(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
177cdf0e10cSrcweir     virtual void SAL_CALL setReadOnly( sal_Bool readOnly ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
178cdf0e10cSrcweir     virtual sal_Bool SAL_CALL isReadOnly(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
179cdf0e10cSrcweir     virtual void SAL_CALL setCatalog( const ::rtl::OUString& catalog ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
180cdf0e10cSrcweir     virtual ::rtl::OUString SAL_CALL getCatalog(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
181cdf0e10cSrcweir     virtual void SAL_CALL setTransactionIsolation( sal_Int32 level ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
182cdf0e10cSrcweir     virtual sal_Int32 SAL_CALL getTransactionIsolation(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
183cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTypeMap(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
184cdf0e10cSrcweir     virtual void SAL_CALL setTypeMap( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
185cdf0e10cSrcweir 
186cdf0e10cSrcweir // ::com::sun::star::sdbc::XCloseable
187cdf0e10cSrcweir 	virtual void SAL_CALL close(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
188cdf0e10cSrcweir 
189cdf0e10cSrcweir 	// XMultiServiceFactory
190cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance( const ::rtl::OUString& aServiceSpecifier ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
191cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
192cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableServiceNames(  ) throw (::com::sun::star::uno::RuntimeException);
193cdf0e10cSrcweir 
194cdf0e10cSrcweir 	// XUsersSupplier
195cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getUsers(  ) throw(::com::sun::star::uno::RuntimeException);
196cdf0e10cSrcweir 	// XGroupsSupplier
197cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getGroups(  ) throw(::com::sun::star::uno::RuntimeException);
198cdf0e10cSrcweir 
199cdf0e10cSrcweir     // XConnectionTools
200cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XTableName > SAL_CALL createTableName(  ) throw (::com::sun::star::uno::RuntimeException);
201cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XObjectNames > SAL_CALL getObjectNames(  ) throw (::com::sun::star::uno::RuntimeException);
202cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::tools::XDataSourceMetaData > SAL_CALL getDataSourceMetaData(  ) throw (::com::sun::star::uno::RuntimeException);
203cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getFieldsByCommandDescriptor( ::sal_Int32 commandType, const ::rtl::OUString& command, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& keepFieldsAlive ) throw (::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
204cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSingleSelectQueryComposer > SAL_CALL getComposer( ::sal_Int32 commandType, const ::rtl::OUString& command ) throw (::com::sun::star::uno::RuntimeException);
205cdf0e10cSrcweir 
206cdf0e10cSrcweir     // XTableUIProvider
207cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > SAL_CALL getTableIcon( const ::rtl::OUString& TableName, ::sal_Int32 ColorMode ) throw (::com::sun::star::uno::RuntimeException);
208cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getTableEditor( const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::application::XDatabaseDocumentUI >& DocumentUI, const ::rtl::OUString& TableName ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
209cdf0e10cSrcweir 
210cdf0e10cSrcweir     // IRefreshListener
211cdf0e10cSrcweir 	virtual void refresh(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rToBeRefreshed);
212cdf0e10cSrcweir 
213cdf0e10cSrcweir protected:
checkDisposed()214cdf0e10cSrcweir 	inline	void checkDisposed() throw (::com::sun::star::lang::DisposedException)
215cdf0e10cSrcweir 	{
216cdf0e10cSrcweir 		if ( rBHelper.bDisposed || !m_xConnection.is() )
217cdf0e10cSrcweir 			throw ::com::sun::star::lang::DisposedException();
218cdf0e10cSrcweir 	}
219cdf0e10cSrcweir 
220cdf0e10cSrcweir 	::com::sun::star::uno::Reference< ::com::sun::star::sdbcx::XTablesSupplier > getMasterTables();
221cdf0e10cSrcweir 
222cdf0e10cSrcweir private:
223cdf0e10cSrcweir     /** checks whether or not there are naming conflicts between tables and queries
224cdf0e10cSrcweir     */
225cdf0e10cSrcweir     void    impl_checkTableQueryNames_nothrow();
226cdf0e10cSrcweir 
227cdf0e10cSrcweir     /** loads the XConnectionTools implementation which we forward the respective functionality to
228cdf0e10cSrcweir 
229cdf0e10cSrcweir         @throws ::com::sun::star::uno::RuntimeException
230cdf0e10cSrcweir             if the implementation cannot be loaded
231cdf0e10cSrcweir 
232cdf0e10cSrcweir         @postcond
233cdf0e10cSrcweir             m_xConnectionTools is nol <NULL/>
234cdf0e10cSrcweir     */
235cdf0e10cSrcweir     void    impl_loadConnectionTools_throw();
236cdf0e10cSrcweir 
237cdf0e10cSrcweir     /** reads the table filter and table type filter from the datasourfce
238cdf0e10cSrcweir     */
239cdf0e10cSrcweir     void    impl_fillTableFilter();
240cdf0e10cSrcweir };
241cdf0e10cSrcweir 
242cdf0e10cSrcweir //........................................................................
243cdf0e10cSrcweir }	// namespace dbaccess
244cdf0e10cSrcweir //........................................................................
245cdf0e10cSrcweir 
246cdf0e10cSrcweir #endif // _DBA_CORE_CONNECTION_HXX_
247cdf0e10cSrcweir 
248cdf0e10cSrcweir 
249