LibreOffice Module ucb (master) 1
Public Member Functions | Protected Types | Protected Attributes | List of all members
ftp::ResultSetBase Class Reference

#include <ftpresultsetbase.hxx>

Inheritance diagram for ftp::ResultSetBase:
[legend]
Collaboration diagram for ftp::ResultSetBase:
[legend]

Public Member Functions

 ResultSetBase (css::uno::Reference< css::uno::XComponentContext > xContext, css::uno::Reference< css::ucb::XContentProvider > xProvider, const css::uno::Sequence< css::beans::Property > &seq)
 
virtual ~ResultSetBase () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept 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 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
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Protected Types

typedef std::vector< css::uno::Reference< css::ucb::XContentIdentifier > > IdentSet
 
typedef std::vector< css::uno::Reference< css::sdbc::XRow > > ItemSet
 

Protected Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::ucb::XContentProvider > m_xProvider
 
sal_Int32 m_nRow
 
bool m_nWasNull
 
IdentSet m_aIdents
 
ItemSet m_aItems
 
std::vector< OUString > m_aPath
 
css::uno::Sequence< css::beans::Property > m_sProperty
 
osl::Mutex m_aMutex
 
std::unique_ptr< comphelper::OInterfaceContainerHelper3< css::lang::XEventListener > > m_pDisposeEventListeners
 
std::unique_ptr< comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > > m_pRowCountListeners
 
std::unique_ptr< comphelper::OInterfaceContainerHelper3< css::beans::XPropertyChangeListener > > m_pIsFinalListeners
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Detailed Description

Definition at line 39 of file ftpresultsetbase.hxx.

Member Typedef Documentation

◆ IdentSet

typedef std::vector< css::uno::Reference<css::ucb::XContentIdentifier > > ftp::ResultSetBase::IdentSet
protected

Definition at line 389 of file ftpresultsetbase.hxx.

◆ ItemSet

typedef std::vector< css::uno::Reference< css::sdbc::XRow > > ftp::ResultSetBase::ItemSet
protected

Definition at line 391 of file ftpresultsetbase.hxx.

Constructor & Destructor Documentation

◆ ResultSetBase()

ftp::ResultSetBase::ResultSetBase ( css::uno::Reference< css::uno::XComponentContext >  xContext,
css::uno::Reference< css::ucb::XContentProvider >  xProvider,
const css::uno::Sequence< css::beans::Property > &  seq 
)

◆ ~ResultSetBase()

ResultSetBase::~ResultSetBase ( )
overridevirtual

Definition at line 44 of file ftpresultsetbase.cxx.

Member Function Documentation

◆ absolute()

sal_Bool SAL_CALL ResultSetBase::absolute ( sal_Int32  row)
overridevirtual

Definition at line 215 of file ftpresultsetbase.cxx.

References last(), m_aItems, and m_nRow.

◆ acquire()

void SAL_CALL ResultSetBase::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 52 of file ftpresultsetbase.cxx.

◆ addEventListener()

virtual void SAL_CALL ftp::ResultSetBase::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

◆ addPropertyChangeListener()

virtual void SAL_CALL ftp::ResultSetBase::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ftp::ResultSetBase::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ afterLast()

void SAL_CALL ResultSetBase::afterLast ( )
overridevirtual

Definition at line 182 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

◆ beforeFirst()

void SAL_CALL ResultSetBase::beforeFirst ( )
overridevirtual

Definition at line 175 of file ftpresultsetbase.cxx.

References m_nRow.

◆ close()

void SAL_CALL ResultSetBase::close ( )
overridevirtual

Definition at line 294 of file ftpresultsetbase.cxx.

◆ dispose()

void SAL_CALL ResultSetBase::dispose ( void  )
overridevirtual

◆ first()

sal_Bool SAL_CALL ResultSetBase::first ( )
overridevirtual

Definition at line 189 of file ftpresultsetbase.cxx.

References m_nRow, and next().

◆ getArray()

virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL ftp::ResultSetBase::getArray ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 258 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getBinaryStream()

virtual css::uno::Reference< css::io::XInputStream > SAL_CALL ftp::ResultSetBase::getBinaryStream ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 203 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getBlob()

virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL ftp::ResultSetBase::getBlob ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 240 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getBoolean()

virtual sal_Bool SAL_CALL ftp::ResultSetBase::getBoolean ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 103 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getByte()

virtual sal_Int8 SAL_CALL ftp::ResultSetBase::getByte ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 112 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getBytes()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL ftp::ResultSetBase::getBytes ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 166 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getCharacterStream()

virtual css::uno::Reference< css::io::XInputStream > SAL_CALL ftp::ResultSetBase::getCharacterStream ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 212 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getClob()

virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL ftp::ResultSetBase::getClob ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 249 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getDate()

virtual css::util::Date SAL_CALL ftp::ResultSetBase::getDate ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 175 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getDouble()

virtual double SAL_CALL ftp::ResultSetBase::getDouble ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 157 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getFloat()

virtual float SAL_CALL ftp::ResultSetBase::getFloat ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 148 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getInt()

virtual sal_Int32 SAL_CALL ftp::ResultSetBase::getInt ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 130 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getLong()

virtual sal_Int64 SAL_CALL ftp::ResultSetBase::getLong ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 139 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getMetaData()

uno::Reference< sdbc::XResultSetMetaData > SAL_CALL ResultSetBase::getMetaData ( )
overridevirtual

Definition at line 504 of file ftpresultsetbase.cxx.

References m_sProperty, and m_xContext.

◆ getObject()

virtual css::uno::Any SAL_CALL ftp::ResultSetBase::getObject ( sal_Int32  columnIndex,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
inlineoverridevirtual

Definition at line 221 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ResultSetBase::getPropertySetInfo ( )
overridevirtual

Definition at line 400 of file ftpresultsetbase.cxx.

References cppu::UnoType< typename T >::get().

◆ getPropertyValue()

uno::Any SAL_CALL ResultSetBase::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 424 of file ftpresultsetbase.cxx.

References count, and m_aItems.

◆ getRef()

virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL ftp::ResultSetBase::getRef ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 231 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getRow()

sal_Int32 SAL_CALL ResultSetBase::getRow ( )
overridevirtual

Definition at line 205 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

◆ getShort()

virtual sal_Int16 SAL_CALL ftp::ResultSetBase::getShort ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 121 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getStatement()

uno::Reference< uno::XInterface > SAL_CALL ResultSetBase::getStatement ( )
overridevirtual

Definition at line 285 of file ftpresultsetbase.cxx.

◆ getString()

virtual OUString SAL_CALL ftp::ResultSetBase::getString ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 93 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getTime()

virtual css::util::Time SAL_CALL ftp::ResultSetBase::getTime ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 184 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ getTimestamp()

virtual css::util::DateTime SAL_CALL ftp::ResultSetBase::getTimestamp ( sal_Int32  columnIndex)
inlineoverridevirtual

Definition at line 193 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

◆ isAfterLast()

sal_Bool SAL_CALL ResultSetBase::isAfterLast ( )
overridevirtual

Definition at line 151 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by relative().

◆ isBeforeFirst()

sal_Bool SAL_CALL ResultSetBase::isBeforeFirst ( )
overridevirtual

Definition at line 144 of file ftpresultsetbase.cxx.

References m_nRow.

Referenced by relative().

◆ isFirst()

sal_Bool SAL_CALL ResultSetBase::isFirst ( )
overridevirtual

Definition at line 158 of file ftpresultsetbase.cxx.

References m_nRow.

◆ isLast()

sal_Bool SAL_CALL ResultSetBase::isLast ( )
overridevirtual

Definition at line 165 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

◆ last()

sal_Bool SAL_CALL ResultSetBase::last ( )
overridevirtual

Definition at line 197 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by absolute().

◆ next()

sal_Bool SAL_CALL ResultSetBase::next ( )
overridevirtual

Definition at line 136 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by first(), and relative().

◆ previous()

sal_Bool SAL_CALL ResultSetBase::previous ( )
overridevirtual

Definition at line 249 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by relative().

◆ queryContent()

uno::Reference< ucb::XContent > SAL_CALL ResultSetBase::queryContent ( )
overridevirtual

Definition at line 329 of file ftpresultsetbase.cxx.

References m_aItems, m_nRow, m_xProvider, and queryContentIdentifier().

◆ queryContentIdentifier()

uno::Reference< ucb::XContentIdentifier > SAL_CALL ResultSetBase::queryContentIdentifier ( )
overridevirtual

Definition at line 310 of file ftpresultsetbase.cxx.

References m_aIdents, m_aItems, m_nRow, and queryContentIdentifierString().

Referenced by queryContent().

◆ queryContentIdentifierString()

OUString SAL_CALL ResultSetBase::queryContentIdentifierString ( )
overridevirtual

Definition at line 300 of file ftpresultsetbase.cxx.

References m_aItems, m_aPath, and m_nRow.

Referenced by queryContentIdentifier().

◆ queryInterface()

virtual css::uno::Any SAL_CALL ftp::ResultSetBase::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented from cppu::OWeakObject.

◆ refreshRow()

void SAL_CALL ResultSetBase::refreshRow ( )
overridevirtual

Definition at line 260 of file ftpresultsetbase.cxx.

◆ relative()

sal_Bool SAL_CALL ResultSetBase::relative ( sal_Int32  rows)
overridevirtual

Definition at line 232 of file ftpresultsetbase.cxx.

References isAfterLast(), isBeforeFirst(), m_aItems, m_nRow, next(), and previous().

◆ release()

void SAL_CALL ResultSetBase::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Definition at line 60 of file ftpresultsetbase.cxx.

◆ removeEventListener()

virtual void SAL_CALL ftp::ResultSetBase::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual

◆ removePropertyChangeListener()

virtual void SAL_CALL ftp::ResultSetBase::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ftp::ResultSetBase::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ rowDeleted()

sal_Bool SAL_CALL ResultSetBase::rowDeleted ( )
overridevirtual

Definition at line 278 of file ftpresultsetbase.cxx.

◆ rowInserted()

sal_Bool SAL_CALL ResultSetBase::rowInserted ( )
overridevirtual

Definition at line 272 of file ftpresultsetbase.cxx.

◆ rowUpdated()

sal_Bool SAL_CALL ResultSetBase::rowUpdated ( )
overridevirtual

Definition at line 266 of file ftpresultsetbase.cxx.

◆ setPropertyValue()

virtual void SAL_CALL ftp::ResultSetBase::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ wasNull()

virtual sal_Bool SAL_CALL ftp::ResultSetBase::wasNull ( )
inlineoverridevirtual

Definition at line 83 of file ftpresultsetbase.hxx.

References m_aItems, m_nRow, and m_nWasNull.

Member Data Documentation

◆ m_aIdents

IdentSet ftp::ResultSetBase::m_aIdents
protected

Definition at line 393 of file ftpresultsetbase.hxx.

Referenced by queryContentIdentifier(), and ftp::ResultSetI::ResultSetI().

◆ m_aItems

ItemSet ftp::ResultSetBase::m_aItems
protected

◆ m_aMutex

osl::Mutex ftp::ResultSetBase::m_aMutex
protected

Definition at line 400 of file ftpresultsetbase.hxx.

Referenced by dispose().

◆ m_aPath

std::vector<OUString> ftp::ResultSetBase::m_aPath
protected

◆ m_nRow

sal_Int32 ftp::ResultSetBase::m_nRow
protected

◆ m_nWasNull

bool ftp::ResultSetBase::m_nWasNull
protected

Definition at line 386 of file ftpresultsetbase.hxx.

Referenced by wasNull().

◆ m_pDisposeEventListeners

std::unique_ptr<comphelper::OInterfaceContainerHelper3<css::lang::XEventListener> > ftp::ResultSetBase::m_pDisposeEventListeners
protected

Definition at line 401 of file ftpresultsetbase.hxx.

Referenced by dispose().

◆ m_pIsFinalListeners

std::unique_ptr<comphelper::OInterfaceContainerHelper3<css::beans::XPropertyChangeListener> > ftp::ResultSetBase::m_pIsFinalListeners
protected

Definition at line 403 of file ftpresultsetbase.hxx.

Referenced by dispose().

◆ m_pRowCountListeners

std::unique_ptr<comphelper::OInterfaceContainerHelper3<css::beans::XPropertyChangeListener> > ftp::ResultSetBase::m_pRowCountListeners
protected

Definition at line 402 of file ftpresultsetbase.hxx.

Referenced by dispose().

◆ m_sProperty

css::uno::Sequence< css::beans::Property > ftp::ResultSetBase::m_sProperty
protected

Definition at line 398 of file ftpresultsetbase.hxx.

Referenced by getMetaData().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > ftp::ResultSetBase::m_xContext
protected

Definition at line 382 of file ftpresultsetbase.hxx.

Referenced by getMetaData().

◆ m_xProvider

css::uno::Reference< css::ucb::XContentProvider > ftp::ResultSetBase::m_xProvider
protected

Definition at line 384 of file ftpresultsetbase.hxx.

Referenced by queryContent().


The documentation for this class was generated from the following files: