diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-10-12 11:02:56 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-10-12 11:02:56 +0000 |
commit | 0ed8d1bf8a7850378eb9dbfbc433a30ca2967096 (patch) | |
tree | 66c7b65626b9f8e35a6e47b2f9962da45cb4ea65 /connectivity/source/inc/dbase/DTables.hxx | |
parent | 8348f7a798205e5ad0e5078619ff519d3cf02621 (diff) |
#92883# fix the descriptor handling
Diffstat (limited to 'connectivity/source/inc/dbase/DTables.hxx')
-rw-r--r-- | connectivity/source/inc/dbase/DTables.hxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/connectivity/source/inc/dbase/DTables.hxx b/connectivity/source/inc/dbase/DTables.hxx index 91fee1c22d0c..77925ad6693f 100644 --- a/connectivity/source/inc/dbase/DTables.hxx +++ b/connectivity/source/inc/dbase/DTables.hxx @@ -2,9 +2,9 @@ * * $RCSfile: DTables.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: oj $ $Date: 2001-05-02 12:52:30 $ + * last change: $Author: oj $ $Date: 2001-10-12 11:54:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,18 +79,15 @@ namespace connectivity virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > 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 > createEmptyObject(); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNamed > cloneObject(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _xDescriptor); + virtual void appendObject( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); + virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName); public: ODbaseTables(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData >& _rMetaData,::cppu::OWeakObject& _rParent, ::osl::Mutex& _rMutex, const TStringVector &_rVector) : ODbaseTables_BASE(_rMetaData,_rParent,_rMutex,_rVector) {} virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); - - // XAppend - virtual void SAL_CALL appendByDescriptor( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException); - // XDrop - virtual void SAL_CALL dropByName( const ::rtl::OUString& elementName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL dropByIndex( sal_Int32 index ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); }; } } |