summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/ado/AViews.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-10-12 11:02:56 +0000
committerOcke Janssen <oj@openoffice.org>2001-10-12 11:02:56 +0000
commit0ed8d1bf8a7850378eb9dbfbc433a30ca2967096 (patch)
tree66c7b65626b9f8e35a6e47b2f9962da45cb4ea65 /connectivity/source/inc/ado/AViews.hxx
parent8348f7a798205e5ad0e5078619ff519d3cf02621 (diff)
#92883# fix the descriptor handling
Diffstat (limited to 'connectivity/source/inc/ado/AViews.hxx')
-rw-r--r--connectivity/source/inc/ado/AViews.hxx22
1 files changed, 10 insertions, 12 deletions
diff --git a/connectivity/source/inc/ado/AViews.hxx b/connectivity/source/inc/ado/AViews.hxx
index 9ff3e49a37aa..297efa355499 100644
--- a/connectivity/source/inc/ado/AViews.hxx
+++ b/connectivity/source/inc/ado/AViews.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AViews.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: oj $ $Date: 2001-05-02 12:52:32 $
+ * last change: $Author: oj $ $Date: 2001-10-12 11:57:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,10 +83,14 @@ namespace connectivity
ADOViews* m_pCollection;
OCatalog* m_pCatalog;
protected:
- 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();
- 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);
+ 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 );
+ 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);
+ virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName);
public:
OViews(OCatalog* _pParent, ::osl::Mutex& _rMutex,
const TStringVector &_rVector,
@@ -103,12 +107,6 @@ namespace connectivity
if(m_pCollection)
m_pCollection->Release();
}
-
- // 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);
};
}
}