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 (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const 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 () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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::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 > const m_sProperty
 
osl::Mutex m_aMutex
 
std::unique_ptr< comphelper::OInterfaceContainerHelper2m_pDisposeEventListeners
 
std::unique_ptr< comphelper::OInterfaceContainerHelper2m_pRowCountListeners
 
std::unique_ptr< comphelper::OInterfaceContainerHelper2m_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 41 of file ftpresultsetbase.hxx.

Member Typedef Documentation

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

Definition at line 391 of file ftpresultsetbase.hxx.

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

Definition at line 393 of file ftpresultsetbase.hxx.

Constructor & Destructor Documentation

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

Definition at line 46 of file ftpresultsetbase.cxx.

Member Function Documentation

sal_Bool SAL_CALL ResultSetBase::absolute ( sal_Int32  row)
overridevirtual

Definition at line 217 of file ftpresultsetbase.cxx.

References last(), m_aItems, and m_nRow.

void SAL_CALL ResultSetBase::acquire ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 54 of file ftpresultsetbase.cxx.

virtual void SAL_CALL ftp::ResultSetBase::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual
virtual void SAL_CALL ftp::ResultSetBase::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ftp::ResultSetBase::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ResultSetBase::afterLast ( )
overridevirtual

Definition at line 184 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

void SAL_CALL ResultSetBase::beforeFirst ( )
overridevirtual

Definition at line 177 of file ftpresultsetbase.cxx.

References m_nRow.

void SAL_CALL ResultSetBase::close ( )
overridevirtual

Definition at line 296 of file ftpresultsetbase.cxx.

void SAL_CALL ResultSetBase::dispose ( void  )
overridevirtual
sal_Bool SAL_CALL ResultSetBase::first ( )
overridevirtual

Definition at line 191 of file ftpresultsetbase.cxx.

References m_nRow, and next().

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

Definition at line 260 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 205 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 242 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 105 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 114 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 168 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 214 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 251 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 177 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 159 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 150 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 132 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 141 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 510 of file ftpresultsetbase.cxx.

References m_sProperty, and m_xContext.

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

Definition at line 223 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 400 of file ftpresultsetbase.cxx.

References cppu::UnoType< class >::get().

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

Definition at line 430 of file ftpresultsetbase.cxx.

References count(), and m_aItems.

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

Definition at line 233 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

sal_Int32 SAL_CALL ResultSetBase::getRow ( )
overridevirtual

Definition at line 207 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

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

Definition at line 123 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 287 of file ftpresultsetbase.cxx.

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

Definition at line 95 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 186 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

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

Definition at line 195 of file ftpresultsetbase.hxx.

References m_aItems, and m_nRow.

sal_Bool SAL_CALL ResultSetBase::isAfterLast ( )
overridevirtual

Definition at line 153 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by relative().

sal_Bool SAL_CALL ResultSetBase::isBeforeFirst ( )
overridevirtual

Definition at line 146 of file ftpresultsetbase.cxx.

References m_nRow.

Referenced by relative().

sal_Bool SAL_CALL ResultSetBase::isFirst ( )
overridevirtual

Definition at line 160 of file ftpresultsetbase.cxx.

References m_nRow.

sal_Bool SAL_CALL ResultSetBase::isLast ( )
overridevirtual

Definition at line 167 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

sal_Bool SAL_CALL ResultSetBase::last ( )
overridevirtual

Definition at line 199 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by absolute().

sal_Bool SAL_CALL ResultSetBase::next ( )
overridevirtual

Definition at line 138 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by first(), and relative().

sal_Bool SAL_CALL ResultSetBase::previous ( )
overridevirtual

Definition at line 251 of file ftpresultsetbase.cxx.

References m_aItems, and m_nRow.

Referenced by relative().

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

Definition at line 331 of file ftpresultsetbase.cxx.

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

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

Definition at line 312 of file ftpresultsetbase.cxx.

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

Referenced by queryContent().

OUString SAL_CALL ResultSetBase::queryContentIdentifierString ( )
overridevirtual

Definition at line 302 of file ftpresultsetbase.cxx.

References m_aItems, m_aPath, and m_nRow.

Referenced by queryContentIdentifier().

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

Reimplemented from cppu::OWeakObject.

void SAL_CALL ResultSetBase::refreshRow ( )
overridevirtual

Definition at line 262 of file ftpresultsetbase.cxx.

sal_Bool SAL_CALL ResultSetBase::relative ( sal_Int32  rows)
overridevirtual

Definition at line 234 of file ftpresultsetbase.cxx.

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

void SAL_CALL ResultSetBase::release ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 62 of file ftpresultsetbase.cxx.

virtual void SAL_CALL ftp::ResultSetBase::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual
virtual void SAL_CALL ftp::ResultSetBase::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ftp::ResultSetBase::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
sal_Bool SAL_CALL ResultSetBase::rowDeleted ( )
overridevirtual

Definition at line 280 of file ftpresultsetbase.cxx.

sal_Bool SAL_CALL ResultSetBase::rowInserted ( )
overridevirtual

Definition at line 274 of file ftpresultsetbase.cxx.

sal_Bool SAL_CALL ResultSetBase::rowUpdated ( )
overridevirtual

Definition at line 268 of file ftpresultsetbase.cxx.

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

Definition at line 85 of file ftpresultsetbase.hxx.

References m_aItems, m_nRow, and m_nWasNull.

Member Data Documentation

IdentSet ftp::ResultSetBase::m_aIdents
protected

Definition at line 395 of file ftpresultsetbase.hxx.

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

ItemSet ftp::ResultSetBase::m_aItems
protected
osl::Mutex ftp::ResultSetBase::m_aMutex
protected

Definition at line 402 of file ftpresultsetbase.hxx.

Referenced by dispose().

std::vector<OUString> ftp::ResultSetBase::m_aPath
protected
sal_Int32 ftp::ResultSetBase::m_nRow
protected
bool ftp::ResultSetBase::m_nWasNull
protected

Definition at line 388 of file ftpresultsetbase.hxx.

Referenced by wasNull().

std::unique_ptr<comphelper::OInterfaceContainerHelper2> ftp::ResultSetBase::m_pDisposeEventListeners
protected

Definition at line 403 of file ftpresultsetbase.hxx.

Referenced by dispose().

std::unique_ptr<comphelper::OInterfaceContainerHelper2> ftp::ResultSetBase::m_pIsFinalListeners
protected

Definition at line 405 of file ftpresultsetbase.hxx.

Referenced by dispose().

std::unique_ptr<comphelper::OInterfaceContainerHelper2> ftp::ResultSetBase::m_pRowCountListeners
protected

Definition at line 404 of file ftpresultsetbase.hxx.

Referenced by dispose().

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

Definition at line 400 of file ftpresultsetbase.hxx.

Referenced by getMetaData().

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

Definition at line 384 of file ftpresultsetbase.hxx.

Referenced by getMetaData().

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

Definition at line 386 of file ftpresultsetbase.hxx.

Referenced by queryContent().


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