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/adabas/BTables.hxx | |
parent | 8348f7a798205e5ad0e5078619ff519d3cf02621 (diff) |
#92883# fix the descriptor handling
Diffstat (limited to 'connectivity/source/inc/adabas/BTables.hxx')
-rw-r--r-- | connectivity/source/inc/adabas/BTables.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/connectivity/source/inc/adabas/BTables.hxx b/connectivity/source/inc/adabas/BTables.hxx index e20f9e052e2d..773c7ac87a0e 100644 --- a/connectivity/source/inc/adabas/BTables.hxx +++ b/connectivity/source/inc/adabas/BTables.hxx @@ -2,9 +2,9 @@ * * $RCSfile: BTables.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: oj $ $Date: 2001-07-06 08:12:35 $ + * last change: $Author: oj $ $Date: 2001-10-12 11:59:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,6 +79,11 @@ 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(); + // return a object which is the copy of the descriptor + 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); + void setComments(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); void createTable( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); public: @@ -90,11 +95,7 @@ namespace connectivity // only the name is identical to ::cppu::OComponentHelper virtual void SAL_CALL disposing(void); - // 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); void appendNew(const ::rtl::OUString& _rsNewTable); // some helper functions /** |