LibreOffice Module ucb (master) 1
|
#include <filrset.hxx>
Public Member Functions | |
XResultSet_impl (TaskManager *pMyShell, const OUString &aUnqPath, sal_Int32 OpenMode, const css::uno::Sequence< css::beans::Property > &seq, const css::uno::Sequence< css::ucb::NumberedSortingInfo > &seqSort) | |
virtual | ~XResultSet_impl () override |
sal_Int32 | CtorSuccess () const |
sal_Int32 | getMinorError () const |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual sal_Bool SAL_CALL | wasNull () override |
virtual OUString SAL_CALL | getString (sal_Int32 columnIndex) override |
virtual sal_Bool SAL_CALL | getBoolean (sal_Int32 columnIndex) override |
virtual sal_Int8 SAL_CALL | getByte (sal_Int32 columnIndex) override |
virtual sal_Int16 SAL_CALL | getShort (sal_Int32 columnIndex) override |
virtual sal_Int32 SAL_CALL | getInt (sal_Int32 columnIndex) override |
virtual sal_Int64 SAL_CALL | getLong (sal_Int32 columnIndex) override |
virtual float SAL_CALL | getFloat (sal_Int32 columnIndex) override |
virtual double SAL_CALL | getDouble (sal_Int32 columnIndex) override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getBytes (sal_Int32 columnIndex) override |
virtual css::util::Date SAL_CALL | getDate (sal_Int32 columnIndex) override |
virtual css::util::Time SAL_CALL | getTime (sal_Int32 columnIndex) override |
virtual css::util::DateTime SAL_CALL | getTimestamp (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getBinaryStream (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL | getCharacterStream (sal_Int32 columnIndex) override |
virtual css::uno::Any SAL_CALL | getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override |
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL | getRef (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL | getBlob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL | getClob (sal_Int32 columnIndex) override |
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL | getArray (sal_Int32 columnIndex) override |
virtual sal_Bool SAL_CALL | next () override |
virtual sal_Bool SAL_CALL | isBeforeFirst () override |
virtual sal_Bool SAL_CALL | isAfterLast () override |
virtual sal_Bool SAL_CALL | isFirst () override |
virtual sal_Bool SAL_CALL | isLast () override |
virtual void SAL_CALL | beforeFirst () override |
virtual void SAL_CALL | afterLast () override |
virtual sal_Bool SAL_CALL | first () override |
virtual sal_Bool SAL_CALL | last () override |
virtual sal_Int32 SAL_CALL | getRow () override |
virtual sal_Bool SAL_CALL | absolute (sal_Int32 row) override |
virtual sal_Bool SAL_CALL | relative (sal_Int32 rows) override |
virtual sal_Bool SAL_CALL | previous () override |
virtual void SAL_CALL | refreshRow () override |
virtual sal_Bool SAL_CALL | rowUpdated () override |
virtual sal_Bool SAL_CALL | rowInserted () override |
virtual sal_Bool SAL_CALL | rowDeleted () override |
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL | getStatement () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getStaticResultSet () override |
virtual void SAL_CALL | setListener (const css::uno::Reference< css::ucb::XDynamicResultSetListener > &Listener) override |
virtual void SAL_CALL | connectToCache (const css::uno::Reference< css::ucb::XDynamicResultSet > &xCache) override |
virtual sal_Int16 SAL_CALL | getCapabilities () override |
virtual void SAL_CALL | close () override |
virtual OUString SAL_CALL | queryContentIdentifierString () override |
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL | queryContentIdentifier () override |
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL | queryContent () override |
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
Private Types | |
typedef std::vector< css::uno::Reference< css::ucb::XContentIdentifier > > | IdentSet |
typedef std::vector< css::uno::Reference< css::sdbc::XRow > > | ItemSet |
Private Member Functions | |
bool | OneMore () |
void | rowCountChanged (std::unique_lock< std::mutex > &) |
void | isFinalChanged () |
Private Attributes | |
TaskManager * | m_pMyShell |
bool | m_nIsOpen |
sal_Int32 | m_nRow |
bool | m_nWasNull |
sal_Int32 | m_nOpenMode |
bool | m_bRowCountFinal |
IdentSet | m_aIdents |
ItemSet | m_aItems |
std::vector< OUString > | m_aUnqPath |
const OUString | m_aBaseDirectory |
osl::Directory | m_aFolder |
css::uno::Sequence< css::beans::Property > | m_sProperty |
css::uno::Sequence< css::ucb::NumberedSortingInfo > | m_sSortingInfo |
std::mutex | m_aMutex |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_aDisposeEventListeners |
comphelper::OInterfaceContainerHelper4< css::beans::XPropertyChangeListener > | m_aRowCountListeners |
comphelper::OInterfaceContainerHelper4< css::beans::XPropertyChangeListener > | m_aIsFinalListeners |
css::uno::Reference< css::ucb::XDynamicResultSetListener > | m_xListener |
sal_Int32 | m_nErrorCode |
sal_Int32 | m_nMinorErrorCode |
Definition at line 40 of file filrset.hxx.
|
private |
Definition at line 399 of file filrset.hxx.
|
private |
Definition at line 400 of file filrset.hxx.
XResultSet_impl::XResultSet_impl | ( | TaskManager * | pMyShell, |
const OUString & | aUnqPath, | ||
sal_Int32 | OpenMode, | ||
const css::uno::Sequence< css::beans::Property > & | seq, | ||
const css::uno::Sequence< css::ucb::NumberedSortingInfo > & | seqSort | ||
) |
Definition at line 50 of file filrset.cxx.
References err, m_aFolder, m_nErrorCode, m_nIsOpen, m_nMinorErrorCode, and TASKHANDLING_OPEN_FOR_DIRECTORYLISTING.
|
overridevirtual |
Definition at line 81 of file filrset.cxx.
|
overridevirtual |
|
overridevirtual |
Definition at line 96 of file filrset.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aDisposeEventListeners, and m_aMutex.
|
overridevirtual |
Definition at line 625 of file filrset.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::addInterface(), m_aIsFinalListeners, m_aMutex, and m_aRowCountListeners.
|
overridevirtual |
Definition at line 666 of file filrset.cxx.
|
overridevirtual |
Definition at line 293 of file filrset.cxx.
|
overridevirtual |
Definition at line 286 of file filrset.cxx.
References m_nRow.
|
overridevirtual |
Definition at line 412 of file filrset.cxx.
References isFinalChanged(), m_aFolder, m_aMutex, and m_nIsOpen.
|
overridevirtual |
Definition at line 518 of file filrset.cxx.
References m_pMyShell, m_sSortingInfo, fileaccess::TaskManager::m_xContext, m_xListener, THROW_WHERE, and xTarget.
|
inline |
Definition at line 60 of file filrset.hxx.
References m_nErrorCode.
|
overridevirtual |
Definition at line 116 of file filrset.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), m_aDisposeEventListeners, m_aIsFinalListeners, m_aMutex, and m_aRowCountListeners.
|
overridevirtual |
Definition at line 89 of file filrset.cxx.
|
overridevirtual |
Definition at line 302 of file filrset.cxx.
|
inlineoverridevirtual |
Definition at line 254 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 199 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 236 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 100 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 109 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 163 of file filrset.hxx.
|
overridevirtual |
Definition at line 552 of file filrset.cxx.
|
inlineoverridevirtual |
Definition at line 208 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 245 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 172 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 154 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 145 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 127 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 136 of file filrset.hxx.
|
overridevirtual |
Definition at line 561 of file filrset.cxx.
References m_pMyShell, m_sProperty, fileaccess::TaskManager::m_xContext, and n.
|
inline |
Definition at line 61 of file filrset.hxx.
References m_nMinorErrorCode.
|
inlineoverridevirtual |
Definition at line 217 of file filrset.hxx.
|
overridevirtual |
Definition at line 585 of file filrset.cxx.
References cppu::UnoType< typename T >::get(), and m_pMyShell.
|
overridevirtual |
Definition at line 608 of file filrset.cxx.
References count, m_aItems, and m_bRowCountFinal.
|
inlineoverridevirtual |
Definition at line 227 of file filrset.hxx.
|
overridevirtual |
Definition at line 320 of file filrset.cxx.
|
inlineoverridevirtual |
Definition at line 118 of file filrset.hxx.
|
overridevirtual |
Definition at line 403 of file filrset.cxx.
|
overridevirtual |
Definition at line 467 of file filrset.cxx.
References m_aMutex, m_xListener, and THROW_WHERE.
|
inlineoverridevirtual |
Definition at line 91 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 181 of file filrset.hxx.
|
inlineoverridevirtual |
Definition at line 190 of file filrset.hxx.
|
overridevirtual |
Definition at line 262 of file filrset.cxx.
References m_aItems, and m_nRow.
Referenced by relative().
|
overridevirtual |
|
private |
Definition at line 146 of file filrset.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::getElements(), m_aIsFinalListeners, m_aMutex, and m_bRowCountFinal.
|
overridevirtual |
Definition at line 269 of file filrset.cxx.
References m_nRow.
|
overridevirtual |
Definition at line 276 of file filrset.cxx.
|
overridevirtual |
Definition at line 310 of file filrset.cxx.
References m_aItems, m_nRow, and OneMore().
Referenced by absolute().
|
overridevirtual |
Definition at line 244 of file filrset.cxx.
References m_aItems, m_nRow, and OneMore().
Referenced by first(), and relative().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 166 of file filrset.cxx.
References err, fileaccess::TaskManager::getv(), isFinalChanged(), m_aBaseDirectory, m_aFolder, m_aIdents, m_aItems, m_aMutex, m_aUnqPath, m_nIsOpen, m_nOpenMode, m_pMyShell, m_sProperty, rowCountChanged(), SAL_WARN, and THROW_WHERE.
Referenced by absolute(), afterLast(), isLast(), last(), and next().
|
overridevirtual |
Definition at line 366 of file filrset.cxx.
References m_aItems, and m_nRow.
Referenced by relative().
|
overridevirtual |
Definition at line 453 of file filrset.cxx.
References m_aItems, m_nRow, m_pMyShell, fileaccess::TaskManager::m_pProvider, fileaccess::FileProvider::queryContent(), and queryContentIdentifier().
|
overridevirtual |
Definition at line 438 of file filrset.cxx.
References m_aIdents, m_aItems, m_aUnqPath, and m_nRow.
Referenced by queryContent(), and queryContentIdentifierString().
|
overridevirtual |
Definition at line 425 of file filrset.cxx.
References queryContentIdentifier().
|
overridevirtual |
Definition at line 377 of file filrset.cxx.
|
overridevirtual |
Definition at line 352 of file filrset.cxx.
References isAfterLast(), isBeforeFirst(), m_aItems, m_nRow, next(), previous(), and THROW_WHERE.
|
overridevirtual |
Definition at line 106 of file filrset.cxx.
References m_aDisposeEventListeners, m_aMutex, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 646 of file filrset.cxx.
References m_aIsFinalListeners, m_aMutex, m_aRowCountListeners, and comphelper::OInterfaceContainerHelper4< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 673 of file filrset.cxx.
|
private |
Definition at line 129 of file filrset.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::getElements(), m_aItems, and m_aRowCountListeners.
Referenced by OneMore().
|
overridevirtual |
Definition at line 396 of file filrset.cxx.
|
overridevirtual |
Definition at line 390 of file filrset.cxx.
|
overridevirtual |
Definition at line 384 of file filrset.cxx.
|
overridevirtual |
Definition at line 480 of file filrset.cxx.
References m_aMutex, m_xListener, and THROW_WHERE.
|
overridevirtual |
Definition at line 598 of file filrset.cxx.
|
inlineoverridevirtual |
Definition at line 81 of file filrset.hxx.
References m_aItems, m_nRow, and m_nWasNull.
|
private |
Definition at line 405 of file filrset.hxx.
Referenced by OneMore().
|
private |
Definition at line 412 of file filrset.hxx.
Referenced by addEventListener(), dispose(), and removeEventListener().
|
private |
Definition at line 407 of file filrset.hxx.
Referenced by close(), OneMore(), XResultSet_impl(), and ~XResultSet_impl().
|
private |
Definition at line 402 of file filrset.hxx.
Referenced by OneMore(), and queryContentIdentifier().
|
private |
Definition at line 414 of file filrset.hxx.
Referenced by addPropertyChangeListener(), dispose(), isFinalChanged(), and removePropertyChangeListener().
|
private |
Definition at line 403 of file filrset.hxx.
Referenced by absolute(), afterLast(), getArray(), getBinaryStream(), getBlob(), getBoolean(), getByte(), getBytes(), getCharacterStream(), getClob(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getObject(), getPropertyValue(), getRef(), getRow(), getShort(), getString(), getTime(), getTimestamp(), isAfterLast(), isLast(), last(), next(), OneMore(), previous(), queryContent(), queryContentIdentifier(), relative(), rowCountChanged(), and wasNull().
|
private |
Definition at line 411 of file filrset.hxx.
Referenced by addEventListener(), addPropertyChangeListener(), close(), dispose(), getStaticResultSet(), isFinalChanged(), OneMore(), removeEventListener(), removePropertyChangeListener(), and setListener().
|
private |
Definition at line 413 of file filrset.hxx.
Referenced by addPropertyChangeListener(), dispose(), removePropertyChangeListener(), and rowCountChanged().
|
private |
Definition at line 404 of file filrset.hxx.
Referenced by OneMore(), and queryContentIdentifier().
|
private |
Definition at line 397 of file filrset.hxx.
Referenced by getPropertyValue(), and isFinalChanged().
|
private |
Definition at line 418 of file filrset.hxx.
Referenced by CtorSuccess(), and XResultSet_impl().
|
private |
Definition at line 393 of file filrset.hxx.
Referenced by close(), OneMore(), XResultSet_impl(), and ~XResultSet_impl().
|
private |
Definition at line 419 of file filrset.hxx.
Referenced by getMinorError(), and XResultSet_impl().
|
private |
Definition at line 396 of file filrset.hxx.
Referenced by OneMore().
|
private |
Definition at line 394 of file filrset.hxx.
Referenced by absolute(), afterLast(), beforeFirst(), first(), getArray(), getBinaryStream(), getBlob(), getBoolean(), getByte(), getBytes(), getCharacterStream(), getClob(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getObject(), getRef(), getRow(), getShort(), getString(), getTime(), getTimestamp(), isAfterLast(), isBeforeFirst(), isFirst(), isLast(), last(), next(), previous(), queryContent(), queryContentIdentifier(), relative(), and wasNull().
|
private |
Definition at line 395 of file filrset.hxx.
Referenced by wasNull().
|
private |
Definition at line 392 of file filrset.hxx.
Referenced by connectToCache(), getMetaData(), getPropertySetInfo(), OneMore(), and queryContent().
|
private |
Definition at line 408 of file filrset.hxx.
Referenced by getMetaData(), and OneMore().
|
private |
Definition at line 409 of file filrset.hxx.
Referenced by connectToCache().
|
private |
Definition at line 416 of file filrset.hxx.
Referenced by connectToCache(), getStaticResultSet(), and setListener().