LibreOffice Module dbaccess (master) 1
|
#include <statement.hxx>
Public Member Functions | |
OStatementBase (const css::uno::Reference< css::sdbc::XConnection > &_xConn, const css::uno::Reference< css::uno::XInterface > &_xStatement) | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () 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 void SAL_CALL | disposing () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
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 | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getResultSet () override |
virtual sal_Int32 SAL_CALL | getUpdateCount () override |
virtual sal_Bool SAL_CALL | getMoreResults () override |
virtual void SAL_CALL | addBatch () override |
virtual void SAL_CALL | clearBatch () override |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | executeBatch () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getGeneratedValues () override |
void | disposeResultSet () |
Public Member Functions inherited from OSubComponent | |
OSubComponent (::osl::Mutex &_rMutex, const css::uno::Reference< css::uno::XInterface > &_xParent) | |
virtual void SAL_CALL | release () noexcept override |
operator css::uno::Reference< css::uno::XInterface > () const | |
Public Member Functions inherited from cppu::OPropertySetHelper | |
OPropertySetHelper (OBroadcastHelper &rBHelper) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring) | |
OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false) | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
css::uno::Sequence< css::uno::Type > | getTypes () |
void SAL_CALL | disposing () |
virtual void SAL_CALL | setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OStatementBase > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual | ~OStatementBase () override |
Protected Member Functions inherited from OSubComponent | |
virtual | ~OSubComponent () override |
Protected Member Functions inherited from cppu::OPropertySetHelper | |
void SAL_CALL | fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable) |
void SAL_CALL | setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount) |
virtual IPropertyArrayHelper &SAL_CALL | getInfoHelper ()=0 |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0 |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0 |
void | setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value) |
~OPropertySetHelper () | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Protected Attributes | |
::osl::Mutex | m_aCancelMutex |
css::uno::WeakReferenceHelper | m_aResultSet |
css::uno::Reference< css::beans::XPropertySet > | m_xAggregateAsSet |
css::uno::Reference< css::util::XCancellable > | m_xAggregateAsCancellable |
bool | m_bUseBookmarks |
bool | m_bEscapeProcessing |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from OSubComponent | |
css::uno::Reference< css::uno::XInterface > | m_xParent |
Protected Attributes inherited from cppu::OPropertySetHelper | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Additional Inherited Members | |
Static Public Member Functions inherited from cppu::OPropertySetHelper | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< OStatementBase > | |
static std::mutex & | theMutex () |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< OStatementBase > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 41 of file statement.hxx.
|
overrideprotectedvirtual |
Definition at line 59 of file statement.cxx.
OStatementBase::OStatementBase | ( | const css::uno::Reference< css::sdbc::XConnection > & | _xConn, |
const css::uno::Reference< css::uno::XInterface > & | _xStatement | ||
) |
Definition at line 46 of file statement.cxx.
References m_aMutex, m_xAggregateAsCancellable, and m_xAggregateAsSet.
|
overridevirtualnoexcept |
Reimplemented in dbaccess::OCallableStatement, and dbaccess::OPreparedStatement.
Definition at line 111 of file statement.cxx.
Referenced by dbaccess::OPreparedStatement::acquire().
|
overridevirtual |
Reimplemented in OStatement.
Definition at line 363 of file statement.cxx.
References cppu::BaseMutex::m_aMutex, m_xAggregateAsSet, OSubComponent::m_xParent, and throwFunctionSequenceException().
|
overridevirtual |
Definition at line 310 of file statement.cxx.
References m_aCancelMutex, and m_xAggregateAsCancellable.
|
overridevirtual |
Reimplemented in OStatement.
Definition at line 376 of file statement.cxx.
References cppu::BaseMutex::m_aMutex, m_xAggregateAsSet, OSubComponent::m_xParent, and throwFunctionSequenceException().
|
overridevirtual |
Definition at line 301 of file statement.cxx.
References cppu::BaseMutex::m_aMutex, and m_xAggregateAsSet.
|
overridevirtual |
Definition at line 163 of file statement.cxx.
References dispose(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 204 of file statement.cxx.
References Any, cppu::IPropertyArrayHelper::fillPropertyMembersByHandle(), getInfoHelper(), m_bEscapeProcessing, m_bUseBookmarks, m_xAggregateAsSet, nHandle, PROPERTY_ID_ESCAPE_PROCESSING, and PROPERTY_ID_USEBOOKMARKS.
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< OStatementBase >.
Definition at line 179 of file statement.cxx.
References cppu::UnoType< typename T >::get(), PROPERTY_CURSORNAME(), PROPERTY_ESCAPE_PROCESSING(), PROPERTY_FETCHDIRECTION(), PROPERTY_FETCHSIZE(), PROPERTY_ID_CURSORNAME, PROPERTY_ID_ESCAPE_PROCESSING, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_MAXFIELDSIZE, PROPERTY_ID_MAXROWS, PROPERTY_ID_QUERYTIMEOUT, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, PROPERTY_ID_USEBOOKMARKS, PROPERTY_MAXFIELDSIZE(), PROPERTY_MAXROWS(), PROPERTY_QUERYTIMEOUT(), PROPERTY_RESULTSETCONCURRENCY(), PROPERTY_RESULTSETTYPE(), and PROPERTY_USEBOOKMARKS().
void OStatementBase::disposeResultSet | ( | ) |
Definition at line 121 of file statement.cxx.
References m_aResultSet.
Referenced by disposing(), dbaccess::OPreparedStatement::execute(), OStatement::execute(), executeBatch(), dbaccess::OPreparedStatement::executeQuery(), OStatement::executeQuery(), dbaccess::OPreparedStatement::executeUpdate(), OStatement::executeUpdate(), and getMoreResults().
|
overridevirtual |
Reimplemented in dbaccess::OPreparedStatement, and OStatement.
Definition at line 131 of file statement.cxx.
References disposeResultSet(), m_aCancelMutex, cppu::BaseMutex::m_aMutex, m_xAggregateAsCancellable, and m_xAggregateAsSet.
Referenced by dbaccess::OPreparedStatement::disposing(), and OStatement::disposing().
|
overridevirtual |
Reimplemented in OStatement.
Definition at line 389 of file statement.cxx.
References disposeResultSet(), cppu::BaseMutex::m_aMutex, m_xAggregateAsSet, OSubComponent::m_xParent, and throwFunctionSequenceException().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 267 of file statement.cxx.
References cppu::IPropertyArrayHelper::fillPropertyMembersByHandle(), getInfoHelper(), m_bEscapeProcessing, m_bUseBookmarks, m_xAggregateAsSet, nHandle, PROPERTY_ID_ESCAPE_PROCESSING, and PROPERTY_ID_USEBOOKMARKS.
|
overridevirtual |
Definition at line 405 of file statement.cxx.
References cppu::BaseMutex::m_aMutex, and m_xAggregateAsSet.
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 199 of file statement.cxx.
References comphelper::OPropertyArrayUsageHelper< OStatementBase >::getArrayHelper().
Referenced by convertFastPropertyValue(), getFastPropertyValue(), getPropertySetInfo(), and setFastPropertyValue_NoBroadcast().
|
overridevirtual |
Definition at line 346 of file statement.cxx.
References disposeResultSet(), cppu::BaseMutex::m_aMutex, m_xAggregateAsSet, OSubComponent::m_xParent, and throwFunctionSequenceException().
|
overridevirtual |
Definition at line 173 of file statement.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo(), and getInfoHelper().
|
overridevirtual |
Definition at line 320 of file statement.cxx.
References cppu::BaseMutex::m_aMutex, m_xAggregateAsSet, OSubComponent::m_xParent, and throwFunctionSequenceException().
Reimplemented in dbaccess::OCallableStatement, and dbaccess::OPreparedStatement.
Definition at line 64 of file statement.cxx.
References aTypes, and m_xAggregateAsSet.
Referenced by dbaccess::OPreparedStatement::getTypes().
|
overridevirtual |
Definition at line 333 of file statement.cxx.
References cppu::BaseMutex::m_aMutex, m_xAggregateAsSet, OSubComponent::m_xParent, and throwFunctionSequenceException().
|
overridevirtual |
Definition at line 293 of file statement.cxx.
References Any, cppu::BaseMutex::m_aMutex, and m_xAggregateAsSet.
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Reimplemented in dbaccess::OCallableStatement, and dbaccess::OPreparedStatement.
Definition at line 83 of file statement.cxx.
References Any, m_xAggregateAsSet, and XPropertySet.
|
overridevirtualnoexcept |
Reimplemented from OSubComponent.
Reimplemented in dbaccess::OCallableStatement, and dbaccess::OPreparedStatement.
Definition at line 116 of file statement.cxx.
References OSubComponent::release().
Referenced by dbaccess::OPreparedStatement::release().
|
overridevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 238 of file statement.cxx.
References cppu::IPropertyArrayHelper::fillPropertyMembersByHandle(), getInfoHelper(), m_bEscapeProcessing, m_bUseBookmarks, m_xAggregateAsSet, nHandle, PROPERTY_ESCAPE_PROCESSING(), PROPERTY_ID_ESCAPE_PROCESSING, PROPERTY_ID_USEBOOKMARKS, and PROPERTY_USEBOOKMARKS().
|
protected |
Definition at line 53 of file statement.hxx.
Referenced by cancel(), and disposing().
|
protected |
Definition at line 55 of file statement.hxx.
Referenced by disposeResultSet(), dbaccess::OPreparedStatement::executeQuery(), and OStatement::executeQuery().
|
protected |
Definition at line 59 of file statement.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), OStatement::impl_doEscapeProcessing_nothrow(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 58 of file statement.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().
|
protected |
Definition at line 57 of file statement.hxx.
Referenced by cancel(), disposing(), and OStatementBase().
|
protected |
Definition at line 56 of file statement.hxx.
Referenced by addBatch(), OStatement::addBatch(), clearBatch(), OStatement::clearBatch(), clearWarnings(), convertFastPropertyValue(), disposing(), dbaccess::OPreparedStatement::execute(), executeBatch(), OStatement::executeBatch(), dbaccess::OPreparedStatement::executeQuery(), dbaccess::OPreparedStatement::executeUpdate(), dbaccess::OCallableStatement::getArray(), dbaccess::OCallableStatement::getBinaryStream(), dbaccess::OCallableStatement::getBlob(), dbaccess::OCallableStatement::getBoolean(), dbaccess::OCallableStatement::getByte(), dbaccess::OCallableStatement::getBytes(), dbaccess::OCallableStatement::getCharacterStream(), dbaccess::OCallableStatement::getClob(), dbaccess::OPreparedStatement::getColumns(), dbaccess::OCallableStatement::getDate(), dbaccess::OCallableStatement::getDouble(), getFastPropertyValue(), dbaccess::OCallableStatement::getFloat(), getGeneratedValues(), dbaccess::OCallableStatement::getInt(), dbaccess::OCallableStatement::getLong(), dbaccess::OPreparedStatement::getMetaData(), getMoreResults(), dbaccess::OCallableStatement::getRef(), getResultSet(), dbaccess::OCallableStatement::getShort(), dbaccess::OCallableStatement::getString(), dbaccess::OCallableStatement::getTime(), dbaccess::OCallableStatement::getTimestamp(), getTypes(), getUpdateCount(), getWarnings(), OStatementBase(), queryInterface(), dbaccess::OCallableStatement::registerNumericOutParameter(), dbaccess::OCallableStatement::registerOutParameter(), setFastPropertyValue_NoBroadcast(), and dbaccess::OCallableStatement::wasNull().