LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
connectivity::evoab::OEvoabResultSet Class Referencefinal

#include <NResultSet.hxx>

Inheritance diagram for connectivity::evoab::OEvoabResultSet:
[legend]
Collaboration diagram for connectivity::evoab::OEvoabResultSet:
[legend]

Public Member Functions

 DECLARE_SERVICE_INFO ()
 
 OEvoabResultSet (OCommonStatement *pStmt, OEvoabConnection *pConnection)
 
void construct (const QueryData &_rData)
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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 sal_Bool SAL_CALL wasNull () override
 
virtual OUString SAL_CALL getString (sal_Int32 columnIndex) override
 getString: @nColumnNum: The column index from the table. More...
 
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 void SAL_CALL cancel () override
 
virtual void SAL_CALL close () override
 
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData () override
 
virtual css::uno::Any SAL_CALL getWarnings () override
 
virtual void SAL_CALL clearWarnings () override
 
virtual sal_Int32 SAL_CALL findColumn (const OUString &columnName) override
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OEvoabResultSet >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Private Member Functions

EContactgetCur ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ~OEvoabResultSet () override
 

Private Attributes

std::unique_ptr< OEvoabVersionHelperm_pVersionHelper
 
OCommonStatementm_pStatement
 
OEvoabConnectionm_pConnection
 
rtl::Reference< OEvoabResultSetMetaDatam_xMetaData
 
::dbtools::WarningsContainer m_aWarnings
 
bool m_bWasNull
 
sal_Int32 m_nFetchSize
 
sal_Int32 m_nResultSetType
 
sal_Int32 m_nFetchDirection
 
sal_Int32 m_nResultSetConcurrency
 
sal_Int32 m_nIndex
 
sal_Int32 m_nLength
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OEvoabResultSet >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OEvoabResultSet >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 75 of file NResultSet.hxx.

Constructor & Destructor Documentation

◆ ~OEvoabResultSet()

connectivity::evoab::OEvoabResultSet::~OEvoabResultSet ( )
overrideprivatevirtual

Definition at line 534 of file NResultSet.cxx.

◆ OEvoabResultSet()

connectivity::evoab::OEvoabResultSet::OEvoabResultSet ( OCommonStatement pStmt,
OEvoabConnection pConnection 
)

Member Function Documentation

◆ absolute()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::absolute ( sal_Int32  row)
overridevirtual

◆ acquire()

void SAL_CALL connectivity::evoab::OEvoabResultSet::acquire ( )
overridevirtualnoexcept

Definition at line 1017 of file NResultSet.cxx.

◆ afterLast()

void SAL_CALL connectivity::evoab::OEvoabResultSet::afterLast ( )
overridevirtual

◆ beforeFirst()

void SAL_CALL connectivity::evoab::OEvoabResultSet::beforeFirst ( )
overridevirtual

◆ cancel()

void SAL_CALL connectivity::evoab::OEvoabResultSet::cancel ( )
overridevirtual

Definition at line 952 of file NResultSet.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ clearWarnings()

void SAL_CALL connectivity::evoab::OEvoabResultSet::clearWarnings ( )
overridevirtual

Definition at line 970 of file NResultSet.cxx.

References dbtools::WarningsContainer::clearWarnings(), and m_aWarnings.

◆ close()

void SAL_CALL connectivity::evoab::OEvoabResultSet::close ( )
overridevirtual

◆ construct()

void connectivity::evoab::OEvoabResultSet::construct ( const QueryData _rData)

◆ createArrayHelper()

cppu::IPropertyArrayHelper * connectivity::evoab::OEvoabResultSet::createArrayHelper ( ) const
overrideprivatevirtual

◆ DECLARE_SERVICE_INFO()

connectivity::evoab::OEvoabResultSet::DECLARE_SERVICE_INFO ( )

◆ disposing()

void connectivity::evoab::OEvoabResultSet::disposing ( )
overridevirtual

Definition at line 592 of file NResultSet.cxx.

References cppu::BaseMutex::m_aMutex, m_pStatement, m_pVersionHelper, and m_xMetaData.

◆ findColumn()

sal_Int32 SAL_CALL connectivity::evoab::OEvoabResultSet::findColumn ( const OUString &  columnName)
overridevirtual

◆ first()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::first ( )
overridevirtual

◆ getArray()

Reference< XArray > SAL_CALL connectivity::evoab::OEvoabResultSet::getArray ( sal_Int32  columnIndex)
overridevirtual

Definition at line 665 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getBinaryStream()

Reference< XInputStream > SAL_CALL connectivity::evoab::OEvoabResultSet::getBinaryStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 713 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getBlob()

Reference< XBlob > SAL_CALL connectivity::evoab::OEvoabResultSet::getBlob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 677 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getBoolean()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::getBoolean ( sal_Int32  columnIndex)
overridevirtual

◆ getByte()

sal_Int8 SAL_CALL connectivity::evoab::OEvoabResultSet::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 725 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getBytes()

Sequence< sal_Int8 > SAL_CALL connectivity::evoab::OEvoabResultSet::getBytes ( sal_Int32  columnIndex)
overridevirtual

Definition at line 731 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getCharacterStream()

Reference< XInputStream > SAL_CALL connectivity::evoab::OEvoabResultSet::getCharacterStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 719 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getClob()

Reference< XClob > SAL_CALL connectivity::evoab::OEvoabResultSet::getClob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 671 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getCur()

EContact * connectivity::evoab::OEvoabResultSet::getCur ( )
inlineprivate

Definition at line 99 of file NResultSet.hxx.

References m_nIndex, and m_pVersionHelper.

Referenced by getBoolean(), and getString().

◆ getDate()

css::util::Date SAL_CALL connectivity::evoab::OEvoabResultSet::getDate ( sal_Int32  columnIndex)
overridevirtual

Definition at line 737 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getDouble()

double SAL_CALL connectivity::evoab::OEvoabResultSet::getDouble ( sal_Int32  columnIndex)
overridevirtual

Definition at line 743 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getFloat()

float SAL_CALL connectivity::evoab::OEvoabResultSet::getFloat ( sal_Int32  columnIndex)
overridevirtual

Definition at line 749 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getInfoHelper()

cppu::IPropertyArrayHelper & connectivity::evoab::OEvoabResultSet::getInfoHelper ( )
overrideprivate

◆ getInt()

sal_Int32 SAL_CALL connectivity::evoab::OEvoabResultSet::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 755 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getLong()

sal_Int64 SAL_CALL connectivity::evoab::OEvoabResultSet::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 659 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getMetaData()

Reference< XResultSetMetaData > SAL_CALL connectivity::evoab::OEvoabResultSet::getMetaData ( )
overridevirtual

◆ getObject()

Any SAL_CALL connectivity::evoab::OEvoabResultSet::getObject ( sal_Int32  columnIndex,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
overridevirtual

Definition at line 689 of file NResultSet.cxx.

References Any, and dbtools::throwFunctionNotSupportedSQLException().

◆ getPropertySetInfo()

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL connectivity::evoab::OEvoabResultSet::getPropertySetInfo ( )
overridevirtual

Definition at line 1028 of file NResultSet.cxx.

References getInfoHelper().

◆ getRef()

Reference< XRef > SAL_CALL connectivity::evoab::OEvoabResultSet::getRef ( sal_Int32  columnIndex)
overridevirtual

Definition at line 683 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getRow()

sal_Int32 SAL_CALL connectivity::evoab::OEvoabResultSet::getRow ( )
overridevirtual

◆ getShort()

sal_Int16 SAL_CALL connectivity::evoab::OEvoabResultSet::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 695 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getStatement()

Reference< XInterface > SAL_CALL connectivity::evoab::OEvoabResultSet::getStatement ( )
overridevirtual

◆ getString()

OUString SAL_CALL connectivity::evoab::OEvoabResultSet::getString ( sal_Int32  nColumnNum)
overridevirtual

getString: @nColumnNum: The column index from the table.

If the equivalent NResultSetMetaData.cxx marks the columntype of nColumnNum as DataType::VARCHAR this accessor is used.

Definition at line 628 of file NResultSet.cxx.

References connectivity::checkDisposed(), getCur(), connectivity::evoab::getValue(), cppu::BaseMutex::m_aMutex, m_bWasNull, m_xMetaData, and connectivity::evoab::valueToOUString().

◆ getTime()

css::util::Time SAL_CALL connectivity::evoab::OEvoabResultSet::getTime ( sal_Int32  columnIndex)
overridevirtual

Definition at line 701 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getTimestamp()

util::DateTime SAL_CALL connectivity::evoab::OEvoabResultSet::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

Definition at line 707 of file NResultSet.cxx.

References dbtools::throwFunctionNotSupportedSQLException().

◆ getTypes()

Sequence< Type > SAL_CALL connectivity::evoab::OEvoabResultSet::getTypes ( )
overridevirtual

Definition at line 610 of file NResultSet.cxx.

References comphelper::OPropertyContainer::getBaseTypes().

◆ getWarnings()

Any SAL_CALL connectivity::evoab::OEvoabResultSet::getWarnings ( )
overridevirtual

Definition at line 975 of file NResultSet.cxx.

References Any, dbtools::WarningsContainer::getWarnings(), and m_aWarnings.

◆ isAfterLast()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::isAfterLast ( )
overridevirtual

◆ isBeforeFirst()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::isBeforeFirst ( )
overridevirtual

◆ isFirst()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::isFirst ( )
overridevirtual

◆ isLast()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::isLast ( )
overridevirtual

◆ last()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::last ( )
overridevirtual

◆ next()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::next ( )
overridevirtual

◆ previous()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::previous ( )
overridevirtual

◆ queryInterface()

Any SAL_CALL connectivity::evoab::OEvoabResultSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Definition at line 602 of file NResultSet.cxx.

References Any.

◆ refreshRow()

void SAL_CALL connectivity::evoab::OEvoabResultSet::refreshRow ( )
overridevirtual

Definition at line 943 of file NResultSet.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ relative()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::relative ( sal_Int32  rows)
overridevirtual

◆ release()

void SAL_CALL connectivity::evoab::OEvoabResultSet::release ( )
overridevirtualnoexcept

Definition at line 1022 of file NResultSet.cxx.

◆ rowDeleted()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::rowDeleted ( )
overridevirtual

Definition at line 919 of file NResultSet.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ rowInserted()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::rowInserted ( )
overridevirtual

Definition at line 927 of file NResultSet.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ rowUpdated()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::rowUpdated ( )
overridevirtual

Definition at line 935 of file NResultSet.cxx.

References connectivity::checkDisposed(), and cppu::BaseMutex::m_aMutex.

◆ wasNull()

sal_Bool SAL_CALL connectivity::evoab::OEvoabResultSet::wasNull ( )
overridevirtual

Member Data Documentation

◆ m_aWarnings

::dbtools::WarningsContainer connectivity::evoab::OEvoabResultSet::m_aWarnings
private

Definition at line 86 of file NResultSet.hxx.

Referenced by clearWarnings(), construct(), and getWarnings().

◆ m_bWasNull

bool connectivity::evoab::OEvoabResultSet::m_bWasNull
private

Definition at line 88 of file NResultSet.hxx.

Referenced by getBoolean(), getString(), and wasNull().

◆ m_nFetchDirection

sal_Int32 connectivity::evoab::OEvoabResultSet::m_nFetchDirection
private

Definition at line 92 of file NResultSet.hxx.

Referenced by OEvoabResultSet().

◆ m_nFetchSize

sal_Int32 connectivity::evoab::OEvoabResultSet::m_nFetchSize
private

Definition at line 90 of file NResultSet.hxx.

Referenced by OEvoabResultSet().

◆ m_nIndex

sal_Int32 connectivity::evoab::OEvoabResultSet::m_nIndex
private

◆ m_nLength

sal_Int32 connectivity::evoab::OEvoabResultSet::m_nLength
private

Definition at line 98 of file NResultSet.hxx.

Referenced by absolute(), afterLast(), construct(), isAfterLast(), isLast(), last(), next(), and relative().

◆ m_nResultSetConcurrency

sal_Int32 connectivity::evoab::OEvoabResultSet::m_nResultSetConcurrency
private

Definition at line 93 of file NResultSet.hxx.

Referenced by OEvoabResultSet().

◆ m_nResultSetType

sal_Int32 connectivity::evoab::OEvoabResultSet::m_nResultSetType
private

Definition at line 91 of file NResultSet.hxx.

Referenced by OEvoabResultSet().

◆ m_pConnection

OEvoabConnection* connectivity::evoab::OEvoabResultSet::m_pConnection
private

Definition at line 84 of file NResultSet.hxx.

Referenced by construct().

◆ m_pStatement

OCommonStatement* connectivity::evoab::OEvoabResultSet::m_pStatement
private

Definition at line 83 of file NResultSet.hxx.

Referenced by disposing(), and getStatement().

◆ m_pVersionHelper

std::unique_ptr<OEvoabVersionHelper> connectivity::evoab::OEvoabResultSet::m_pVersionHelper
private

Definition at line 81 of file NResultSet.hxx.

Referenced by construct(), disposing(), getCur(), and OEvoabResultSet().

◆ m_xMetaData

rtl::Reference<OEvoabResultSetMetaData> connectivity::evoab::OEvoabResultSet::m_xMetaData
private

Definition at line 85 of file NResultSet.hxx.

Referenced by construct(), disposing(), getBoolean(), getMetaData(), and getString().


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