LibreOffice Module dbaccess (master) 1
|
#include <RowSet.hxx>
Public Member Functions | |
ORowSetClone (const css::uno::Reference< css::uno::XComponentContext > &_rContext, ORowSet &rParent, ::osl::Mutex *_pMutex) | |
virtual | ~ORowSetClone () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () 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 OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | close () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | execute () override |
virtual void SAL_CALL | addRowSetListener (const css::uno::Reference< css::sdbc::XRowSetListener > &listener) override |
virtual void SAL_CALL | removeRowSetListener (const css::uno::Reference< css::sdbc::XRowSetListener > &listener) override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
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 dbaccess::ORowSetBase | |
virtual | ~ORowSetBase () override |
virtual void SAL_CALL | disposing () |
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 css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL | getMetaData () override |
virtual sal_Int32 SAL_CALL | findColumn (const OUString &columnName) override |
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL | getColumns () 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 css::uno::Any SAL_CALL | getBookmark () override |
virtual sal_Bool SAL_CALL | moveToBookmark (const css::uno::Any &bookmark) override |
virtual sal_Bool SAL_CALL | moveRelativeToBookmark (const css::uno::Any &bookmark, sal_Int32 rows) override |
virtual sal_Int32 SAL_CALL | compareBookmarks (const css::uno::Any &first, const css::uno::Any &second) override |
virtual sal_Bool SAL_CALL | hasOrderedBookmarks () override |
virtual sal_Int32 SAL_CALL | hashBookmark (const css::uno::Any &bookmark) 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 | execute () override=0 |
virtual void SAL_CALL | addRowSetListener (const css::uno::Reference< css::sdbc::XRowSetListener > &listener) override=0 |
virtual void SAL_CALL | removeRowSetListener (const css::uno::Reference< css::sdbc::XRowSetListener > &listener) override=0 |
void | onDeleteRow (const css::uno::Any &_rBookmark) |
void | onDeletedRow (const css::uno::Any &_rBookmark, sal_Int32 _nPos) |
void | doCancelModification (const GrantNotifierAccess &) |
bool | isModification (const GrantNotifierAccess &) |
bool | isModified (const GrantNotifierAccess &) |
bool | isNew (const GrantNotifierAccess &) |
bool | isInsertRow () const |
void | fireProperty (sal_Int32 _nProperty, bool _bNew, bool _bOld, const GrantNotifierAccess &) |
void | firePropertyChange (sal_Int32 _nPos, const ::connectivity::ORowSetValue &_rNewValue, const GrantNotifierAccess &) |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ORowSetBase > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ORowSetClone > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Protected Member Functions | |
virtual void | doCancelModification () override |
virtual bool | isModification () override |
virtual bool | isModified () override |
virtual bool | isNew () override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void | doCancelModification ()=0 |
void | doCancelModification (const GrantNotifierAccess &) |
virtual bool | isModification ()=0 |
bool | isModification (const GrantNotifierAccess &) |
virtual bool | isModified ()=0 |
bool | isModified (const GrantNotifierAccess &) |
virtual bool | isNew ()=0 |
bool | isNew (const GrantNotifierAccess &) |
virtual sal_Bool SAL_CALL | rowDeleted () override |
Protected Member Functions inherited from OSubComponent | |
virtual | ~OSubComponent () override |
Protected Member Functions inherited from dbaccess::ORowSetBase | |
ORowSetBase (const css::uno::Reference< css::uno::XComponentContext > &_rContext, ::cppu::OBroadcastHelper &_rBHelper, ::osl::Mutex *_pMutex) | |
void | firePropertyChange (const ORowSetRow &_rOldRow) |
void | firePropertyChange (sal_Int32 _nPos, const ::connectivity::ORowSetValue &_rNewValue) |
virtual void | fireRowcount () |
virtual bool | notifyAllListenersCursorBeforeMove (::osl::ResettableMutexGuard &_rGuard) |
virtual void | notifyAllListenersCursorMoved (::osl::ResettableMutexGuard &_rGuard) |
virtual void | doCancelModification ()=0 |
virtual bool | isModification ()=0 |
virtual bool | isModified ()=0 |
virtual bool | isNew ()=0 |
virtual bool | isPropertyChangeNotificationEnabled () const |
void | fireProperty (sal_Int32 _nProperty, bool _bNew, bool _bOld) |
virtual void | getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
void | positionCache (CursorMoveDirection _ePrepareForDirection) |
positions the cache in preparation of a cursor move More... | |
const connectivity::ORowSetValue & | getValue (sal_Int32 columnIndex) |
const connectivity::ORowSetValue & | impl_getValue (sal_Int32 columnIndex) |
void | setCurrentRow (bool _bMoved, bool _bDoNotify, const ORowSetRow &_rOldValues, ::osl::ResettableMutexGuard &_rGuard) |
void | checkPositioningAllowed () |
void | checkCache () |
void | movementFailed () |
ORowSetRow | getOldRow (bool _bWasNew) |
bool SAL_CALL | move (std::function< bool(ORowSetBase *)> const &_aCheckFunctor, std::function< bool(ORowSetCache *)> const &_aMovementFunctor) |
move the cache the position defined by the member functor More... | |
bool | isOnFirst () |
same meaning as isFirst. More... | |
bool | isOnLast () |
same meaning as isLast. More... | |
sal_Int32 | impl_getRowCount () const |
returns the current row count More... | |
sal_Int32 | impl_getRow () |
bool | impl_rowDeleted () |
Protected Member Functions inherited from cppu::ImplHelper9< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 > | |
~ImplHelper9 () SAL_NOEXCEPT | |
Protected Member Functions inherited from comphelper::OPropertyStateContainer | |
OPropertyStateContainer (::cppu::OBroadcastHelper &_rBHelper) | |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
css::beans::PropertyState | getPropertyStateByHandle (sal_Int32 _nHandle) const |
void | setPropertyToDefaultByHandle (sal_Int32 _nHandle) |
virtual void | getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const=0 |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &_rType) override |
sal_Int32 | getHandleForName (const OUString &_rPropertyName) |
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::IPropertyArrayHelper * | createArrayHelper () const =0 |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Private Attributes | |
ORowSet * | m_pParent |
sal_Int32 | m_nFetchDirection |
sal_Int32 | m_nFetchSize |
bool | m_bIsBookmarkable |
Definition at line 447 of file RowSet.hxx.
dbaccess::ORowSetClone::ORowSetClone | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rContext, |
ORowSet & | rParent, | ||
::osl::Mutex * | _pMutex | ||
) |
Definition at line 2726 of file RowSet.cxx.
References Any, aSeq, SvtSysLocale::GetLanguageTag(), LanguageTag::getLocale(), dbaccess::ORowSetBase::getMetaData(), comphelper::getString(), i, Locale, dbaccess::ORowSet::m_aActiveConnection, dbaccess::ORowSetBase::m_aBookmark, dbaccess::ORowSetBase::m_aCurrentRow, dbaccess::ORowSetBase::m_aDataColumns, cppu::BaseMutex::m_aMutex, m_aMutex, dbaccess::ORowSetBase::m_aOldRow, dbaccess::ORowSetBase::m_bAfterLast, dbaccess::ORowSetBase::m_bBeforeFirst, dbaccess::ORowSetBase::m_bClone, m_bIsBookmarkable, m_nFetchDirection, m_nFetchSize, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_nResultSetType, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pColumns, dbaccess::ORowSetBase::m_pMySelf, dbaccess::ORowSet::m_xActiveConnection, dbaccess::ORowSetBase::m_xNumberFormatTypes, PROPERTY_ACTIVE_CONNECTION(), PROPERTY_ALIGN(), PROPERTY_CONTROLDEFAULT(), PROPERTY_CONTROLMODEL(), PROPERTY_DESCRIPTION(), PROPERTY_FETCHDIRECTION(), PROPERTY_FETCHSIZE(), PROPERTY_HELPTEXT(), PROPERTY_HIDDEN(), PROPERTY_ID_ACTIVE_CONNECTION, PROPERTY_ID_ALIGN, PROPERTY_ID_CONTROLDEFAULT, PROPERTY_ID_CONTROLMODEL, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_HELPTEXT, PROPERTY_ID_HIDDEN, PROPERTY_ID_ISBOOKMARKABLE, PROPERTY_ID_NUMBERFORMAT, PROPERTY_ID_RELATIVEPOSITION, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, PROPERTY_ID_WIDTH, PROPERTY_ISBOOKMARKABLE(), PROPERTY_LABEL(), PROPERTY_NUMBERFORMAT(), PROPERTY_RELATIVEPOSITION(), PROPERTY_RESULTSETCONCURRENCY(), PROPERTY_RESULTSETTYPE(), PROPERTY_WIDTH(), comphelper::OPropertyContainerHelper::registerMayBeVoidProperty(), comphelper::OPropertyContainerHelper::registerProperty(), and xColumn.
|
overridevirtual |
Definition at line 2813 of file RowSet.cxx.
|
overridevirtualnoexcept |
Definition at line 2832 of file RowSet.cxx.
|
overridevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2929 of file RowSet.cxx.
References throwFunctionNotSupportedRuntimeException().
|
overridevirtual |
Definition at line 2870 of file RowSet.cxx.
References dispose(), and cppu::BaseMutex::m_aMutex.
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< ORowSetClone >.
Definition at line 2881 of file RowSet.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2859 of file RowSet.cxx.
References dbaccess::ORowSetBase::disposing(), cppu::BaseMutex::m_aMutex, dbaccess::ORowSetBase::m_pMutex, and m_pParent.
|
overrideprotectedvirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2905 of file RowSet.cxx.
|
protectedvirtual |
Implements dbaccess::ORowSetBase.
|
inlineprotected |
Definition at line 328 of file RowSetBase.hxx.
|
overridevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2924 of file RowSet.cxx.
References throwFunctionNotSupportedSQLException().
|
inlineoverridevirtual |
Reimplemented from cppu::ImplHelper9< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 >.
Definition at line 471 of file RowSet.hxx.
|
overridevirtual |
Definition at line 2843 of file RowSet.cxx.
|
override |
Definition at line 2889 of file RowSet.cxx.
References comphelper::OPropertyArrayUsageHelper< class TYPE >::getArrayHelper().
|
inlineoverridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 493 of file RowSet.hxx.
References dbaccess::ORowSet::getInfoHelper().
|
overridevirtual |
Definition at line 2853 of file RowSet.cxx.
References SERVICE_SDB_RESULTSET, and SERVICE_SDBC_RESULTSET.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2818 of file RowSet.cxx.
References dbaccess::ORowSetBase::getTypes().
|
overrideprotectedvirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2909 of file RowSet.cxx.
|
protectedvirtual |
Implements dbaccess::ORowSetBase.
|
inlineprotected |
Definition at line 329 of file RowSetBase.hxx.
|
overrideprotectedvirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2914 of file RowSet.cxx.
|
protectedvirtual |
Implements dbaccess::ORowSetBase.
|
inlineprotected |
Definition at line 330 of file RowSetBase.hxx.
|
overrideprotectedvirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2919 of file RowSet.cxx.
|
protectedvirtual |
Implements dbaccess::ORowSetBase.
|
inlineprotected |
Definition at line 331 of file RowSetBase.hxx.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2824 of file RowSet.cxx.
References Any, and dbaccess::ORowSetBase::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from OSubComponent.
Definition at line 2837 of file RowSet.cxx.
References OSubComponent::release().
|
overridevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2934 of file RowSet.cxx.
References throwFunctionNotSupportedRuntimeException().
|
overrideprotectedvirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 311 of file RowSetBase.cxx.
References connectivity::ORowSetValue::getTime(), dbaccess::ORowSetBase::getValue(), and dbaccess::ORowSetBase::m_pMutex.
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 2894 of file RowSet.cxx.
References m_pParent, nHandle, PROPERTY_ID_FETCHSIZE, dbaccess::ORowSet::setFastPropertyValue_NoBroadcast(), and comphelper::OPropertyContainer::setFastPropertyValue_NoBroadcast().
|
overridevirtual |
Definition at line 2848 of file RowSet.cxx.
References cppu::supportsService().
|
private |
Definition at line 455 of file RowSet.hxx.
Referenced by ORowSetClone().
|
private |
Definition at line 453 of file RowSet.hxx.
Referenced by ORowSetClone().
|
private |
Definition at line 454 of file RowSet.hxx.
Referenced by ORowSetClone().
|
private |
Definition at line 452 of file RowSet.hxx.
Referenced by disposing(), and setFastPropertyValue_NoBroadcast().