bump product version to 5.0.4.1
[LibreOffice.git] / ucb / source / ucp / file / filrset.hxx
blob625baad0db15cc9481058e4830d7c18f5758aaa1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_UCB_SOURCE_UCP_FILE_FILRSET_HXX
20 #define INCLUDED_UCB_SOURCE_UCP_FILE_FILRSET_HXX
22 #include <vector>
23 #include <osl/file.hxx>
25 #include <cppuhelper/interfacecontainer.hxx>
26 #include <com/sun/star/ucb/XContentAccess.hpp>
27 #include <com/sun/star/sdbc/XCloseable.hpp>
28 #include <com/sun/star/beans/XPropertySet.hpp>
29 #include <com/sun/star/ucb/XDynamicResultSet.hpp>
30 #include <com/sun/star/ucb/XDynamicResultSetListener.hpp>
31 #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
32 #include <com/sun/star/ucb/NumberedSortingInfo.hpp>
33 #include <com/sun/star/ucb/XContentProvider.hpp>
34 #include <com/sun/star/ucb/XContentIdentifier.hpp>
35 #include <com/sun/star/beans/Property.hpp>
36 #include "filrow.hxx"
37 #include "filnot.hxx"
38 #include <cppuhelper/implbase8.hxx>
42 namespace fileaccess {
44 class Notifier;
46 class XResultSet_impl : public Notifier,
47 public cppu::WeakImplHelper8< css::lang::XEventListener,
48 css::sdbc::XRow,
49 css::sdbc::XResultSet,
50 css::ucb::XDynamicResultSet,
51 css::sdbc::XCloseable,
52 css::sdbc::XResultSetMetaDataSupplier,
53 css::beans::XPropertySet,
54 css::ucb::XContentAccess >
56 public:
58 XResultSet_impl( shell* pMyShell,
59 const OUString& aUnqPath,
60 sal_Int32 OpenMode,
61 const com::sun::star::uno::Sequence< com::sun::star::beans::Property >& seq,
62 const com::sun::star::uno::Sequence< com::sun::star::ucb::NumberedSortingInfo >& seqSort );
64 virtual ~XResultSet_impl();
66 virtual ContentEventNotifier* cDEL() SAL_OVERRIDE
68 return 0;
71 virtual ContentEventNotifier* cEXC( const OUString& ) SAL_OVERRIDE
73 return 0;
76 virtual ContentEventNotifier* cCEL() SAL_OVERRIDE
78 return 0;
81 virtual PropertySetInfoChangeNotifier* cPSL() SAL_OVERRIDE
83 return 0;
86 virtual PropertyChangeNotifier* cPCL() SAL_OVERRIDE
88 return 0;
91 virtual OUString getKey() SAL_OVERRIDE
93 return m_aBaseDirectory;
96 sal_Int32 SAL_CALL CtorSuccess() { return m_nErrorCode;}
97 sal_Int32 SAL_CALL getMinorError() { return m_nMinorErrorCode;}
99 // XEventListener
100 virtual void SAL_CALL
101 disposing(
102 const com::sun::star::lang::EventObject& Source )
103 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
105 // XComponent
106 virtual void SAL_CALL
107 dispose(
108 void )
109 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
111 virtual void SAL_CALL
112 addEventListener(
113 const com::sun::star::uno::Reference< com::sun::star::lang::XEventListener >& xListener )
114 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
116 virtual void SAL_CALL
117 removeEventListener( const com::sun::star::uno::Reference< com::sun::star::lang::XEventListener >& aListener )
118 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
121 // XRow
122 virtual sal_Bool SAL_CALL
123 wasNull(
124 void )
125 throw( com::sun::star::sdbc::SQLException,
126 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
128 if( 0<= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
129 m_nWasNull = m_aItems[m_nRow]->wasNull();
130 else
131 m_nWasNull = true;
132 return m_nWasNull;
135 virtual OUString SAL_CALL
136 getString(
137 sal_Int32 columnIndex )
138 throw( com::sun::star::sdbc::SQLException,
139 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
141 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
142 return m_aItems[m_nRow]->getString( columnIndex );
143 else
144 return OUString();
147 virtual sal_Bool SAL_CALL
148 getBoolean(
149 sal_Int32 columnIndex )
150 throw( com::sun::star::sdbc::SQLException,
151 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
153 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
154 return m_aItems[m_nRow]->getBoolean( columnIndex );
155 else
156 return false;
159 virtual sal_Int8 SAL_CALL
160 getByte(
161 sal_Int32 columnIndex )
162 throw( com::sun::star::sdbc::SQLException,
163 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
165 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
166 return m_aItems[m_nRow]->getByte( columnIndex );
167 else
168 return sal_Int8( 0 );
171 virtual sal_Int16 SAL_CALL
172 getShort(
173 sal_Int32 columnIndex )
174 throw(
175 com::sun::star::sdbc::SQLException,
176 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
178 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
179 return m_aItems[m_nRow]->getShort( columnIndex );
180 else
181 return sal_Int16( 0 );
184 virtual sal_Int32 SAL_CALL
185 getInt(
186 sal_Int32 columnIndex )
187 throw( com::sun::star::sdbc::SQLException,
188 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
190 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
191 return m_aItems[m_nRow]->getInt( columnIndex );
192 else
193 return sal_Int32( 0 );
196 virtual sal_Int64 SAL_CALL
197 getLong(
198 sal_Int32 columnIndex )
199 throw( com::sun::star::sdbc::SQLException,
200 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
202 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
203 return m_aItems[m_nRow]->getLong( columnIndex );
204 else
205 return sal_Int64( 0 );
208 virtual float SAL_CALL
209 getFloat(
210 sal_Int32 columnIndex )
211 throw( com::sun::star::sdbc::SQLException,
212 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
214 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
215 return m_aItems[m_nRow]->getFloat( columnIndex );
216 else
217 return float( 0 );
220 virtual double SAL_CALL
221 getDouble(
222 sal_Int32 columnIndex )
223 throw( com::sun::star::sdbc::SQLException,
224 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
226 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
227 return m_aItems[m_nRow]->getDouble( columnIndex );
228 else
229 return double( 0 );
232 virtual com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
233 getBytes(
234 sal_Int32 columnIndex )
235 throw( com::sun::star::sdbc::SQLException,
236 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE
238 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
239 return m_aItems[m_nRow]->getBytes( columnIndex );
240 else
241 return com::sun::star::uno::Sequence< sal_Int8 >();
244 virtual com::sun::star::util::Date SAL_CALL
245 getDate(
246 sal_Int32 columnIndex )
247 throw( com::sun::star::sdbc::SQLException,
248 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
250 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
251 return m_aItems[m_nRow]->getDate( columnIndex );
252 else
253 return com::sun::star::util::Date();
256 virtual com::sun::star::util::Time SAL_CALL
257 getTime(
258 sal_Int32 columnIndex )
259 throw( com::sun::star::sdbc::SQLException,
260 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
262 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
263 return m_aItems[m_nRow]->getTime( columnIndex );
264 else
265 return com::sun::star::util::Time();
268 virtual com::sun::star::util::DateTime SAL_CALL
269 getTimestamp(
270 sal_Int32 columnIndex )
271 throw( com::sun::star::sdbc::SQLException,
272 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
274 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
275 return m_aItems[m_nRow]->getTimestamp( columnIndex );
276 else
277 return com::sun::star::util::DateTime();
280 virtual com::sun::star::uno::Reference< com::sun::star::io::XInputStream > SAL_CALL
281 getBinaryStream(
282 sal_Int32 columnIndex )
283 throw( com::sun::star::sdbc::SQLException,
284 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
286 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
287 return m_aItems[m_nRow]->getBinaryStream( columnIndex );
288 else
289 return com::sun::star::uno::Reference< com::sun::star::io::XInputStream >();
292 virtual com::sun::star::uno::Reference< com::sun::star::io::XInputStream > SAL_CALL
293 getCharacterStream(
294 sal_Int32 columnIndex )
295 throw( com::sun::star::sdbc::SQLException,
296 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
298 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
299 return m_aItems[m_nRow]->getCharacterStream( columnIndex );
300 else
301 return com::sun::star::uno::Reference< com::sun::star::io::XInputStream >();
304 virtual com::sun::star::uno::Any SAL_CALL
305 getObject(
306 sal_Int32 columnIndex,
307 const com::sun::star::uno::Reference< com::sun::star::container::XNameAccess >& typeMap )
308 throw( com::sun::star::sdbc::SQLException,
309 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
311 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
312 return m_aItems[m_nRow]->getObject( columnIndex,typeMap );
313 else
314 return com::sun::star::uno::Any();
317 virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XRef > SAL_CALL
318 getRef(
319 sal_Int32 columnIndex )
320 throw( com::sun::star::sdbc::SQLException,
321 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
323 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
324 return m_aItems[m_nRow]->getRef( columnIndex );
325 else
326 return com::sun::star::uno::Reference< com::sun::star::sdbc::XRef >();
329 virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XBlob > SAL_CALL
330 getBlob(
331 sal_Int32 columnIndex )
332 throw( com::sun::star::sdbc::SQLException,
333 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
335 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
336 return m_aItems[m_nRow]->getBlob( columnIndex );
337 else
338 return com::sun::star::uno::Reference< com::sun::star::sdbc::XBlob >();
341 virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XClob > SAL_CALL
342 getClob(
343 sal_Int32 columnIndex )
344 throw( com::sun::star::sdbc::SQLException,
345 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
347 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
348 return m_aItems[m_nRow]->getClob( columnIndex );
349 else
350 return com::sun::star::uno::Reference< com::sun::star::sdbc::XClob >();
353 virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XArray > SAL_CALL
354 getArray(
355 sal_Int32 columnIndex )
356 throw( com::sun::star::sdbc::SQLException,
357 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
359 if( 0 <= m_nRow && m_nRow < sal::static_int_cast<sal_Int32>(m_aItems.size()) )
360 return m_aItems[m_nRow]->getArray( columnIndex );
361 else
362 return com::sun::star::uno::Reference< com::sun::star::sdbc::XArray >();
366 // XResultSet
368 virtual sal_Bool SAL_CALL
369 next(
370 void )
371 throw( com::sun::star::sdbc::SQLException,
372 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
374 virtual sal_Bool SAL_CALL
375 isBeforeFirst(
376 void )
377 throw( com::sun::star::sdbc::SQLException,
378 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
380 virtual sal_Bool SAL_CALL
381 isAfterLast(
382 void )
383 throw( com::sun::star::sdbc::SQLException,
384 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
386 virtual sal_Bool SAL_CALL
387 isFirst(
388 void )
389 throw( com::sun::star::sdbc::SQLException,
390 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
392 virtual sal_Bool SAL_CALL
393 isLast(
394 void )
395 throw( com::sun::star::sdbc::SQLException,
396 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
398 virtual void SAL_CALL
399 beforeFirst(
400 void )
401 throw( com::sun::star::sdbc::SQLException,
402 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
404 virtual void SAL_CALL
405 afterLast(
406 void )
407 throw( com::sun::star::sdbc::SQLException,
408 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
410 virtual sal_Bool SAL_CALL
411 first(
412 void )
413 throw( com::sun::star::sdbc::SQLException,
414 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
416 virtual sal_Bool SAL_CALL
417 last(
418 void )
419 throw( com::sun::star::sdbc::SQLException,
420 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
422 virtual sal_Int32 SAL_CALL
423 getRow(
424 void )
425 throw( com::sun::star::sdbc::SQLException,
426 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
428 virtual sal_Bool SAL_CALL
429 absolute(
430 sal_Int32 row )
431 throw( com::sun::star::sdbc::SQLException,
432 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
434 virtual sal_Bool SAL_CALL
435 relative(
436 sal_Int32 rows )
437 throw( com::sun::star::sdbc::SQLException,
438 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
440 virtual sal_Bool SAL_CALL
441 previous(
442 void )
443 throw( com::sun::star::sdbc::SQLException,
444 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
446 virtual void SAL_CALL
447 refreshRow(
448 void )
449 throw( com::sun::star::sdbc::SQLException,
450 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
452 virtual sal_Bool SAL_CALL
453 rowUpdated(
454 void )
455 throw( com::sun::star::sdbc::SQLException,
456 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
458 virtual sal_Bool SAL_CALL
459 rowInserted(
460 void )
461 throw( com::sun::star::sdbc::SQLException,
462 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
464 virtual sal_Bool SAL_CALL
465 rowDeleted(
466 void )
467 throw( com::sun::star::sdbc::SQLException,
468 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
471 virtual com::sun::star::uno::Reference< com::sun::star::uno::XInterface > SAL_CALL
472 getStatement(
473 void )
474 throw( com::sun::star::sdbc::SQLException,
475 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
478 // XDynamicResultSet
480 virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XResultSet > SAL_CALL
481 getStaticResultSet(
482 void )
483 throw( com::sun::star::ucb::ListenerAlreadySetException,
484 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
486 virtual void SAL_CALL
487 setListener(
488 const com::sun::star::uno::Reference<
489 com::sun::star::ucb::XDynamicResultSetListener >& Listener )
490 throw( com::sun::star::ucb::ListenerAlreadySetException,
491 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
493 virtual void SAL_CALL
494 connectToCache( const com::sun::star::uno::Reference< com::sun::star::ucb::XDynamicResultSet > & xCache )
495 throw( com::sun::star::ucb::ListenerAlreadySetException,
496 com::sun::star::ucb::AlreadyInitializedException,
497 com::sun::star::ucb::ServiceNotFoundException,
498 com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
500 virtual sal_Int16 SAL_CALL
501 getCapabilities()
502 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
505 // XCloseable
507 virtual void SAL_CALL
508 close(
509 void )
510 throw( com::sun::star::sdbc::SQLException,
511 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
513 // XContentAccess
515 virtual OUString SAL_CALL
516 queryContentIdentifierString(
517 void )
518 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
520 virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > SAL_CALL
521 queryContentIdentifier(
522 void )
523 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
525 virtual com::sun::star::uno::Reference< com::sun::star::ucb::XContent > SAL_CALL
526 queryContent(
527 void )
528 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
530 // XResultSetMetaDataSupplier
531 virtual com::sun::star::uno::Reference< com::sun::star::sdbc::XResultSetMetaData > SAL_CALL
532 getMetaData(
533 void )
534 throw( com::sun::star::sdbc::SQLException,
535 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
538 // XPropertySet
539 virtual com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL
540 getPropertySetInfo()
541 throw( com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
543 virtual void SAL_CALL setPropertyValue(
544 const OUString& aPropertyName,
545 const com::sun::star::uno::Any& aValue )
546 throw( com::sun::star::beans::UnknownPropertyException,
547 com::sun::star::beans::PropertyVetoException,
548 com::sun::star::lang::IllegalArgumentException,
549 com::sun::star::lang::WrappedTargetException,
550 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
552 virtual com::sun::star::uno::Any SAL_CALL
553 getPropertyValue(
554 const OUString& PropertyName )
555 throw( com::sun::star::beans::UnknownPropertyException,
556 com::sun::star::lang::WrappedTargetException,
557 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
559 virtual void SAL_CALL
560 addPropertyChangeListener(
561 const OUString& aPropertyName,
562 const com::sun::star::uno::Reference< com::sun::star::beans::XPropertyChangeListener >& xListener )
563 throw( com::sun::star::beans::UnknownPropertyException,
564 com::sun::star::lang::WrappedTargetException,
565 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
567 virtual void SAL_CALL
568 removePropertyChangeListener(
569 const OUString& aPropertyName,
570 const com::sun::star::uno::Reference< com::sun::star::beans::XPropertyChangeListener >& aListener )
571 throw( com::sun::star::beans::UnknownPropertyException,
572 com::sun::star::lang::WrappedTargetException,
573 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
575 virtual void SAL_CALL
576 addVetoableChangeListener(
577 const OUString& PropertyName,
578 const com::sun::star::uno::Reference< com::sun::star::beans::XVetoableChangeListener >& aListener )
579 throw( com::sun::star::beans::UnknownPropertyException,
580 com::sun::star::lang::WrappedTargetException,
581 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
583 virtual void SAL_CALL removeVetoableChangeListener(
584 const OUString& PropertyName,
585 const com::sun::star::uno::Reference< com::sun::star::beans::XVetoableChangeListener >& aListener )
586 throw( com::sun::star::beans::UnknownPropertyException,
587 com::sun::star::lang::WrappedTargetException,
588 com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
590 private:
592 // Members
593 // const uno::Reference< lang::XMultiServiceFactory > m_xMSF;
594 // const uno::Reference< ucb::XContentProvider > m_xProvider;
596 shell* m_pMyShell;
597 com::sun::star::uno::Reference< com::sun::star::ucb::XContentProvider > m_xProvider;
598 bool m_nIsOpen;
599 sal_Int32 m_nRow;
600 bool m_nWasNull;
601 sal_Int32 m_nOpenMode;
602 bool m_bRowCountFinal;
604 typedef std::vector< com::sun::star::uno::Reference< com::sun::star::ucb::XContentIdentifier > > IdentSet;
605 typedef std::vector< com::sun::star::uno::Reference< com::sun::star::sdbc::XRow > > ItemSet;
606 typedef std::vector< OUString > UnqPathSet;
608 IdentSet m_aIdents;
609 ItemSet m_aItems;
610 UnqPathSet m_aUnqPath;
611 const OUString m_aBaseDirectory;
613 osl::Directory m_aFolder;
614 com::sun::star::uno::Sequence< com::sun::star::beans::Property > m_sProperty;
615 com::sun::star::uno::Sequence< com::sun::star::ucb::NumberedSortingInfo > m_sSortingInfo;
617 osl::Mutex m_aMutex;
618 osl::Mutex m_aEventListenerMutex;
619 cppu::OInterfaceContainerHelper* m_pDisposeEventListeners;
621 cppu::OInterfaceContainerHelper* m_pRowCountListeners;
622 cppu::OInterfaceContainerHelper* m_pIsFinalListeners;
624 com::sun::star::uno::Reference< com::sun::star::ucb::XDynamicResultSetListener > m_xListener;
625 bool m_bStatic;
627 sal_Int32 m_nErrorCode;
628 sal_Int32 m_nMinorErrorCode;
630 // Methods
631 bool SAL_CALL OneMore()
632 throw( com::sun::star::sdbc::SQLException,
633 com::sun::star::uno::RuntimeException );
635 void rowCountChanged();
636 void isFinalChanged();
640 } // end namespace fileaccess
643 #endif
645 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */