User: rt Date: 2008-06-06 13:25:04+0000 Modified: dba/connectivity/source/inc/adabas/BKeys.hxx
Log: INTEGRATION: CWS dba30c (1.9.10); FILE MERGED 2008/05/05 10:57:51 oj 1.9.10.1: #i87131# collect keys only once, getKeys always refetch the keys File Changes: Directory: /dba/connectivity/source/inc/adabas/ =============================================== File [changed]: BKeys.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/inc/adabas/BKeys.hxx?r1=1.9&r2=1.10 Delta lines: +5 -9 ------------------- --- BKeys.hxx 2008-04-10 10:46:24+0000 1.9 +++ BKeys.hxx 2008-06-06 13:25:02+0000 1.10 @@ -31,28 +31,24 @@ #ifndef _CONNECTIVITY_ADABAS_KEYS_HXX_ #define _CONNECTIVITY_ADABAS_KEYS_HXX_ -#include "connectivity/sdbcx/VCollection.hxx" +#include "connectivity/TKeys.hxx" #include <com/sun/star/sdbc/XDatabaseMetaData.hpp> #include "adabas/BTable.hxx" namespace connectivity { namespace adabas { - class OKeys : public sdbcx::OCollection + class OKeys : public OKeysHelper { - OAdabasTable* m_pTable; protected: - virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName); - virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor(); virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); - virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName); + + virtual ::rtl::OUString getDropForeignKey() const; public: OKeys(OAdabasTable* _pTable, ::osl::Mutex& _rMutex, const TStringVector &_rVector - ) : sdbcx::OCollection(*_pTable,sal_True,_rMutex,_rVector,sal_True) - ,m_pTable(_pTable) + ) : OKeysHelper(_pTable,_rMutex,_rVector) {} }; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
