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_COREAPI_RESULTSET_HXX_
24cdf0e10cSrcweir #define _DBA_COREAPI_RESULTSET_HXX_
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #ifndef _DBA_COREAPI_COLUMN_HXX_
27cdf0e10cSrcweir #include "column.hxx"
28cdf0e10cSrcweir #endif
29cdf0e10cSrcweir #ifndef DBTOOLS_WARNINGSCONTAINER_HXX
30cdf0e10cSrcweir #include <connectivity/warningscontainer.hxx>
31cdf0e10cSrcweir #endif
32cdf0e10cSrcweir 
33cdf0e10cSrcweir #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
34cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp>
35cdf0e10cSrcweir #endif
36cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XSTATEMENT_HPP_
37cdf0e10cSrcweir #include <com/sun/star/sdbc/XStatement.hpp>
38cdf0e10cSrcweir #endif
39cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XCLOSEABLE_HPP_
40cdf0e10cSrcweir #include <com/sun/star/sdbc/XCloseable.hpp>
41cdf0e10cSrcweir #endif
42cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XRESULTSETMETADATASUPPLIER_HPP_
43cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
44cdf0e10cSrcweir #endif
45cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XWARNINGSSUPPLIER_HPP_
46cdf0e10cSrcweir #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
47cdf0e10cSrcweir #endif
48cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBCX_XCOLUMNSSUPPLIER_HPP_
49cdf0e10cSrcweir #include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
50cdf0e10cSrcweir #endif
51cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XRESULTSET_HPP_
52cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSet.hpp>
53cdf0e10cSrcweir #endif
54cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XROW_HPP_
55cdf0e10cSrcweir #include <com/sun/star/sdbc/XRow.hpp>
56cdf0e10cSrcweir #endif
57cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XCOLUMNLOCATE_HPP_
58cdf0e10cSrcweir #include <com/sun/star/sdbc/XColumnLocate.hpp>
59cdf0e10cSrcweir #endif
60cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBCX_XROWLOCATE_HPP_
61cdf0e10cSrcweir #include <com/sun/star/sdbcx/XRowLocate.hpp>
62cdf0e10cSrcweir #endif
63cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XROWUPDATE_HPP_
64cdf0e10cSrcweir #include <com/sun/star/sdbc/XRowUpdate.hpp>
65cdf0e10cSrcweir #endif
66cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XRESULTSETUPDATE_HPP_
67cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSetUpdate.hpp>
68cdf0e10cSrcweir #endif
69cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_RESULTSETCONCURRENCY_HPP_
70cdf0e10cSrcweir #include <com/sun/star/sdbc/ResultSetConcurrency.hpp>
71cdf0e10cSrcweir #endif
72cdf0e10cSrcweir 
73cdf0e10cSrcweir #ifndef _CPPUHELPER_PROPSHLP_HXX
74cdf0e10cSrcweir #include <cppuhelper/propshlp.hxx>
75cdf0e10cSrcweir #endif
76cdf0e10cSrcweir #ifndef _COMPHELPER_PROPERTY_ARRAY_HELPER_HXX_
77cdf0e10cSrcweir #include <comphelper/proparrhlp.hxx>
78cdf0e10cSrcweir #endif
79cdf0e10cSrcweir #ifndef _OSL_DIAGNOSE_H_
80cdf0e10cSrcweir #include <osl/diagnose.h>
81cdf0e10cSrcweir #endif
82cdf0e10cSrcweir #ifndef _CPPUHELPER_COMPBASE11_HXX_
83cdf0e10cSrcweir #include <cppuhelper/compbase11.hxx>
84cdf0e10cSrcweir #endif
85cdf0e10cSrcweir #ifndef _COMPHELPER_BROADCASTHELPER_HXX_
86cdf0e10cSrcweir #include <comphelper/broadcasthelper.hxx>
87cdf0e10cSrcweir #endif
88cdf0e10cSrcweir 
89cdf0e10cSrcweir namespace dbaccess
90cdf0e10cSrcweir {
91cdf0e10cSrcweir 	typedef ::cppu::WeakComponentImplHelper11< ::com::sun::star::sdbc::XWarningsSupplier,
92cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XResultSet,
93cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XResultSetMetaDataSupplier,
94cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XRow,
95cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XCloseable,
96cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XColumnLocate,
97cdf0e10cSrcweir 											  ::com::sun::star::sdbcx::XRowLocate,
98cdf0e10cSrcweir 											  ::com::sun::star::sdbcx::XColumnsSupplier,
99cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XResultSetUpdate,
100cdf0e10cSrcweir 											  ::com::sun::star::sdbc::XRowUpdate,
101cdf0e10cSrcweir 											  ::com::sun::star::lang::XServiceInfo > OResultSetBase;
102cdf0e10cSrcweir 
103cdf0e10cSrcweir 	typedef ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> ONoWeakStatement;
104cdf0e10cSrcweir 
105cdf0e10cSrcweir 	//************************************************************
106cdf0e10cSrcweir 	//  OResultSet
107cdf0e10cSrcweir 	//************************************************************
108cdf0e10cSrcweir 	class OResultSet :	public comphelper::OBaseMutex,
109cdf0e10cSrcweir 						public OResultSetBase,
110cdf0e10cSrcweir 						public ::cppu::OPropertySetHelper,
111cdf0e10cSrcweir 						public ::comphelper::OPropertyArrayUsageHelper < OResultSet >
112cdf0e10cSrcweir 	{
113cdf0e10cSrcweir 	protected:
114cdf0e10cSrcweir 		ONoWeakStatement				m_aStatement;
115cdf0e10cSrcweir 
116cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >	        m_xDelegatorResultSet;
117cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetUpdate >	m_xDelegatorResultSetUpdate;
118cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRow >		        m_xDelegatorRow;
119cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowUpdate >	        m_xDelegatorRowUpdate;
120cdf0e10cSrcweir 
121cdf0e10cSrcweir         ::dbtools::WarningsContainer    m_aWarnings;
122cdf0e10cSrcweir 		OColumns*					    m_pColumns;
123cdf0e10cSrcweir 		sal_Int32					    m_nResultSetType;
124cdf0e10cSrcweir 		sal_Int32					    m_nResultSetConcurrency;
125cdf0e10cSrcweir 		sal_Bool					    m_bIsBookmarkable : 1;
126cdf0e10cSrcweir 
127cdf0e10cSrcweir 	public:
128cdf0e10cSrcweir 		OResultSet(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& _xResultSet,
129cdf0e10cSrcweir 				   const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xStatement,
130cdf0e10cSrcweir 				   sal_Bool _bCaseSensitive);
131cdf0e10cSrcweir 		virtual ~OResultSet();
132cdf0e10cSrcweir 
133cdf0e10cSrcweir 	// ::com::sun::star::lang::XTypeProvider
134cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException);
135cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException);
136cdf0e10cSrcweir 
137cdf0e10cSrcweir 	// ::com::sun::star::uno::XInterface
138cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw (::com::sun::star::uno::RuntimeException);
139cdf0e10cSrcweir 		virtual void SAL_CALL acquire() throw();
140cdf0e10cSrcweir 		virtual void SAL_CALL release() throw();
141cdf0e10cSrcweir 
142cdf0e10cSrcweir 	// ::com::sun::star::lang::XServiceInfo
143cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
144cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
145cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw(::com::sun::star::uno::RuntimeException);
146cdf0e10cSrcweir 
147cdf0e10cSrcweir 	// ::cppu::OComponentHelper
148cdf0e10cSrcweir 		virtual void SAL_CALL disposing(void);
149cdf0e10cSrcweir 
150cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XCloseable
151cdf0e10cSrcweir 		virtual void SAL_CALL close(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
152cdf0e10cSrcweir 
153cdf0e10cSrcweir 	// com::sun::star::beans::XPropertySet
154cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
155cdf0e10cSrcweir 
156cdf0e10cSrcweir 	// comphelper::OPropertyArrayUsageHelper
157cdf0e10cSrcweir 		virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
158cdf0e10cSrcweir 
159cdf0e10cSrcweir 	// cppu::OPropertySetHelper
160cdf0e10cSrcweir 		virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
161cdf0e10cSrcweir 
162cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL convertFastPropertyValue(
163cdf0e10cSrcweir 								::com::sun::star::uno::Any & rConvertedValue,
164cdf0e10cSrcweir 								::com::sun::star::uno::Any & rOldValue,
165cdf0e10cSrcweir 								sal_Int32 nHandle,
166cdf0e10cSrcweir 								const ::com::sun::star::uno::Any& rValue )
167cdf0e10cSrcweir 									throw (::com::sun::star::lang::IllegalArgumentException);
168cdf0e10cSrcweir 		virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
169cdf0e10cSrcweir 									sal_Int32 nHandle,
170cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& rValue
171cdf0e10cSrcweir 													 )
172cdf0e10cSrcweir 													 throw (::com::sun::star::uno::Exception);
173cdf0e10cSrcweir 		virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const;
174cdf0e10cSrcweir 
175cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XWarningsSupplier
176cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL getWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
177cdf0e10cSrcweir 		virtual void SAL_CALL clearWarnings(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
178cdf0e10cSrcweir 
179cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XResultSetMetaDataSupplier
180cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
181cdf0e10cSrcweir 
182cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XColumnLocate
183cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL findColumn( const ::rtl::OUString& columnName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
184cdf0e10cSrcweir 
185cdf0e10cSrcweir 	// ::com::sun::star::sdbcx::XColumnsSupplier
186cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getColumns(  ) throw(::com::sun::star::uno::RuntimeException);
187cdf0e10cSrcweir 
188cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XRow
189cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL wasNull(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
190cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
191cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
192cdf0e10cSrcweir 		virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
193cdf0e10cSrcweir 		virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
194cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
195cdf0e10cSrcweir 		virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
196cdf0e10cSrcweir 		virtual float SAL_CALL getFloat( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
197cdf0e10cSrcweir 		virtual double SAL_CALL getDouble( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
198cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
199cdf0e10cSrcweir 		virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
200cdf0e10cSrcweir 		virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
201cdf0e10cSrcweir 		virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
202cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
203cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
204cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
205cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
206cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
207cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
208cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
209cdf0e10cSrcweir 
210cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XResultSet
211cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL next(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
212cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isBeforeFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
213cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isAfterLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
214cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
215cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
216cdf0e10cSrcweir 		virtual void SAL_CALL beforeFirst(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
217cdf0e10cSrcweir 		virtual void SAL_CALL afterLast(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
218cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL first(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
219cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL last(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
220cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
221cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
222cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
223cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL previous(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
224cdf0e10cSrcweir 		virtual void SAL_CALL refreshRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
225cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL rowUpdated(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
226cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL rowInserted(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
227cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL rowDeleted(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
228cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
229cdf0e10cSrcweir 
230cdf0e10cSrcweir 	// ::com::sun::star::sdbcx::XRowLocate
231cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL getBookmark(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
232cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL moveToBookmark( const ::com::sun::star::uno::Any& bookmark ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
233cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL moveRelativeToBookmark( const ::com::sun::star::uno::Any& bookmark, sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
234cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL compareBookmarks( const ::com::sun::star::uno::Any& first, const ::com::sun::star::uno::Any& second ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
235cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL hasOrderedBookmarks(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
236cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL hashBookmark( const ::com::sun::star::uno::Any& bookmark ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
237cdf0e10cSrcweir 
238cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XResultSetUpdate
239cdf0e10cSrcweir 		virtual void SAL_CALL insertRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
240cdf0e10cSrcweir 		virtual void SAL_CALL updateRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
241cdf0e10cSrcweir 		virtual void SAL_CALL deleteRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
242cdf0e10cSrcweir 		virtual void SAL_CALL cancelRowUpdates(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
243cdf0e10cSrcweir 		virtual void SAL_CALL moveToInsertRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
244cdf0e10cSrcweir 		virtual void SAL_CALL moveToCurrentRow(  ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
245cdf0e10cSrcweir 
246cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XRowUpdate
247cdf0e10cSrcweir 		virtual void SAL_CALL updateNull( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
248cdf0e10cSrcweir 		virtual void SAL_CALL updateBoolean( sal_Int32 columnIndex, sal_Bool x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
249cdf0e10cSrcweir 		virtual void SAL_CALL updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
250cdf0e10cSrcweir 		virtual void SAL_CALL updateShort( sal_Int32 columnIndex, sal_Int16 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
251cdf0e10cSrcweir 		virtual void SAL_CALL updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
252cdf0e10cSrcweir 		virtual void SAL_CALL updateLong( sal_Int32 columnIndex, sal_Int64 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
253cdf0e10cSrcweir 		virtual void SAL_CALL updateFloat( sal_Int32 columnIndex, float x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
254cdf0e10cSrcweir 		virtual void SAL_CALL updateDouble( sal_Int32 columnIndex, double x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
255cdf0e10cSrcweir 		virtual void SAL_CALL updateString( sal_Int32 columnIndex, const ::rtl::OUString& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
256cdf0e10cSrcweir 		virtual void SAL_CALL updateBytes( sal_Int32 columnIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
257cdf0e10cSrcweir 		virtual void SAL_CALL updateDate( sal_Int32 columnIndex, const ::com::sun::star::util::Date& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
258cdf0e10cSrcweir 		virtual void SAL_CALL updateTime( sal_Int32 columnIndex, const ::com::sun::star::util::Time& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
259cdf0e10cSrcweir 		virtual void SAL_CALL updateTimestamp( sal_Int32 columnIndex, const ::com::sun::star::util::DateTime& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
260cdf0e10cSrcweir 		virtual void SAL_CALL updateBinaryStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
261cdf0e10cSrcweir 		virtual void SAL_CALL updateCharacterStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
262cdf0e10cSrcweir 		virtual void SAL_CALL updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
263cdf0e10cSrcweir 		virtual void SAL_CALL updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
264cdf0e10cSrcweir 
265cdf0e10cSrcweir 	protected:
266cdf0e10cSrcweir 		void checkReadOnly() const;
267cdf0e10cSrcweir 		void checkBookmarkable() const;
268cdf0e10cSrcweir 
269cdf0e10cSrcweir     private:
270cdf0e10cSrcweir         using ::cppu::OPropertySetHelper::getFastPropertyValue;
271cdf0e10cSrcweir 	};
272cdf0e10cSrcweir }
273cdf0e10cSrcweir #endif // _DBA_COREAPI_RESULTSET_HXX_
274cdf0e10cSrcweir 
275