LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dbaccess::ORowSet Class Referencefinal

#include <RowSet.hxx>

Inheritance diagram for dbaccess::ORowSet:
[legend]
Collaboration diagram for dbaccess::ORowSet:
[legend]

Public Member Functions

 ORowSet (const css::uno::Reference< css::uno::XComponentContext > &)
 
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 css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &aType) 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 disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL close () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL refreshRow () override
 
virtual void SAL_CALL executeWithCompletion (const css::uno::Reference< css::task::XInteractionHandler > &handler) override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getParameters () 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 void SAL_CALL updateNull (sal_Int32 columnIndex) override
 
virtual void SAL_CALL updateBoolean (sal_Int32 columnIndex, sal_Bool x) override
 
virtual void SAL_CALL updateByte (sal_Int32 columnIndex, sal_Int8 x) override
 
virtual void SAL_CALL updateShort (sal_Int32 columnIndex, sal_Int16 x) override
 
virtual void SAL_CALL updateInt (sal_Int32 columnIndex, sal_Int32 x) override
 
virtual void SAL_CALL updateLong (sal_Int32 columnIndex, sal_Int64 x) override
 
virtual void SAL_CALL updateFloat (sal_Int32 columnIndex, float x) override
 
virtual void SAL_CALL updateDouble (sal_Int32 columnIndex, double x) override
 
virtual void SAL_CALL updateString (sal_Int32 columnIndex, const OUString &x) override
 
virtual void SAL_CALL updateBytes (sal_Int32 columnIndex, const css::uno::Sequence< sal_Int8 > &x) override
 
virtual void SAL_CALL updateDate (sal_Int32 columnIndex, const css::util::Date &x) override
 
virtual void SAL_CALL updateTime (sal_Int32 columnIndex, const css::util::Time &x) override
 
virtual void SAL_CALL updateTimestamp (sal_Int32 columnIndex, const css::util::DateTime &x) override
 
virtual void SAL_CALL updateBinaryStream (sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateCharacterStream (sal_Int32 columnIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL updateObject (sal_Int32 columnIndex, const css::uno::Any &x) override
 
virtual void SAL_CALL updateNumericObject (sal_Int32 columnIndex, const css::uno::Any &x, sal_Int32 scale) override
 
virtual void SAL_CALL insertRow () override
 
virtual void SAL_CALL updateRow () override
 
virtual void SAL_CALL deleteRow () override
 
virtual void SAL_CALL cancelRowUpdates () override
 
virtual void SAL_CALL moveToInsertRow () override
 
virtual void SAL_CALL moveToCurrentRow () 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 void SAL_CALL addRowSetApproveListener (const css::uno::Reference< css::sdb::XRowSetApproveListener > &listener) override
 
virtual void SAL_CALL removeRowSetApproveListener (const css::uno::Reference< css::sdb::XRowSetApproveListener > &listener) override
 
virtual void SAL_CALL addRowsChangeListener (const css::uno::Reference< css::sdb::XRowsChangeListener > &listener) override
 
virtual void SAL_CALL removeRowsChangeListener (const css::uno::Reference< css::sdb::XRowsChangeListener > &listener) override
 
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL createResultSet () override
 
virtual void SAL_CALL cancel () override
 
virtual css::uno::Sequence< sal_Int32 > SAL_CALL deleteRows (const css::uno::Sequence< css::uno::Any > &rows) override
 
virtual void SAL_CALL setNull (sal_Int32 parameterIndex, sal_Int32 sqlType) override
 
virtual void SAL_CALL setObjectNull (sal_Int32 parameterIndex, sal_Int32 sqlType, const OUString &typeName) override
 
virtual void SAL_CALL setBoolean (sal_Int32 parameterIndex, sal_Bool x) override
 
virtual void SAL_CALL setByte (sal_Int32 parameterIndex, sal_Int8 x) override
 
virtual void SAL_CALL setShort (sal_Int32 parameterIndex, sal_Int16 x) override
 
virtual void SAL_CALL setInt (sal_Int32 parameterIndex, sal_Int32 x) override
 
virtual void SAL_CALL setLong (sal_Int32 parameterIndex, sal_Int64 x) override
 
virtual void SAL_CALL setFloat (sal_Int32 parameterIndex, float x) override
 
virtual void SAL_CALL setDouble (sal_Int32 parameterIndex, double x) override
 
virtual void SAL_CALL setString (sal_Int32 parameterIndex, const OUString &x) override
 
virtual void SAL_CALL setBytes (sal_Int32 parameterIndex, const css::uno::Sequence< sal_Int8 > &x) override
 
virtual void SAL_CALL setDate (sal_Int32 parameterIndex, const css::util::Date &x) override
 
virtual void SAL_CALL setTime (sal_Int32 parameterIndex, const css::util::Time &x) override
 
virtual void SAL_CALL setTimestamp (sal_Int32 parameterIndex, const css::util::DateTime &x) override
 
virtual void SAL_CALL setBinaryStream (sal_Int32 parameterIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL setCharacterStream (sal_Int32 parameterIndex, const css::uno::Reference< css::io::XInputStream > &x, sal_Int32 length) override
 
virtual void SAL_CALL setObject (sal_Int32 parameterIndex, const css::uno::Any &x) override
 
virtual void SAL_CALL setObjectWithInfo (sal_Int32 parameterIndex, const css::uno::Any &x, sal_Int32 targetSqlType, sal_Int32 scale) override
 
virtual void SAL_CALL setRef (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XRef > &x) override
 
virtual void SAL_CALL setBlob (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XBlob > &x) override
 
virtual void SAL_CALL setClob (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XClob > &x) override
 
virtual void SAL_CALL setArray (sal_Int32 parameterIndex, const css::uno::Reference< css::sdbc::XArray > &x) override
 
virtual void SAL_CALL clearParameters () override
 
virtual css::uno::Any SAL_CALL getWarnings () override
 
virtual void SAL_CALL clearWarnings () override
 
void execute_NoApprove_NoNewConn (::osl::ResettableMutexGuard &_rClearForNotification)
 implement the <method>execute</method>, without calling the approve listeners and without building a new connection More...
 
void approveExecution ()
 call the RowSetApproveListeners More...
 
void setActiveConnection (css::uno::Reference< css::sdbc::XConnection > const &_rxNewConn, bool _bFireEvent=true)
 set m_xActiveConnection, fire a PropertyChangeEvent if necessary, do the event listener handling etc More...
 
void implCancelRowUpdates (bool _bNotifyModified)
 
void setStatementResultSetType (const css::uno::Reference< css::beans::XPropertySet > &_rxStatement, sal_Int32 _nDesiredResultSetType, sal_Int32 _nDesiredResultSetConcurrency)
 sets the given result set type/concurrency at the given statement, while respecting possibly related data source settings More...
 
void impl_initializeColumnSettings_nothrow (const css::uno::Reference< css::beans::XPropertySet > &_rxTemplateColumn, const css::uno::Reference< css::beans::XPropertySet > &_rxRowSetColumn)
 initializes a given RowSet column with the ColumnSettings (width, format, hidden, etc.) from a template column. More...
 
void impl_initParametersContainer_nothrow ()
 initializes our parameters container (m_pParameters) according to the parameter columns as obtained from our composer More...
 
void impl_disposeParametersContainer_nothrow ()
 disposes our parameters container More...
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
void firePropertyChange (const ORowSetRow &_rOldRow)
 
void firePropertyChange (sal_Int32 _nPos, const ::connectivity::ORowSetValue &_rNewValue)
 
void firePropertyChange (sal_Int32 _nPos, const ::connectivity::ORowSetValue &_rNewValue, const GrantNotifierAccess &)
 
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 &)
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper12< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10, class Ifc11, class Ifc12 >
 WeakAggComponentImplHelper12 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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 dbaccess::ORowSetBase
virtual ~ORowSetBase () override
 
virtual void SAL_CALL disposing ()
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () 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::IPropertyArrayHelpergetArrayHelper ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ORowSet >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Private Member Functions

bool impl_buildActiveCommand_throw ()
 builds m_aActiveCommand from our settings More...
 
void impl_initComposer_throw (OUString &_out_rCommandToExecute)
 initializes our query composer, and everything which has to do with it More...
 
css::uno::Reference< css::container::XNameAccess > impl_getTables_throw ()
 returns the table container of our active connection More...
 
void impl_resetTables_nothrow ()
 cleans up m_pTables, and resets it to <NULL> More...
 
css::uno::Reference< css::sdbc::XResultSet > impl_prepareAndExecute_throw ()
 prepares and executes our command More...
 
void impl_ensureStatement_throw ()
 
css::uno::Reference< css::sdbc::XConnection > calcConnection (const css::uno::Reference< css::task::XInteractionHandler > &_rxHandler)
 
void freeResources (bool _bComplete)
 
void notifyRowSetAndClonesRowDelete (const css::uno::Any &_rBookmark)
 informs the clones (and ourself) that we are going to delete a record with a given bookmark More...
 
void notifyRowSetAndClonesRowDeleted (const css::uno::Any &_rBookmark, sal_Int32 _nPos)
 inform the clones (and ourself) that we have deleted a record with a given bookmark More...
 
void checkUpdateIterator ()
 
const connectivity::ORowSetValuegetInsertValue (sal_Int32 columnIndex)
 
void setParameter (sal_Int32 parameterIndex, const connectivity::ORowSetValue &x)
 
::connectivity::ORowSetValuegetParameterStorage (sal_Int32 parameterIndex)
 
void updateValue (sal_Int32 columnIndex, const connectivity::ORowSetValue &x)
 
void checkUpdateConditions (sal_Int32 columnIndex)
 
void impl_rebuild_throw (::osl::ResettableMutexGuard &_rGuard)
 
void impl_setDataColumnsWriteable_throw ()
 
void impl_restoreDataColumnsWriteable_throw ()
 
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 void getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const override
 
virtual void fireRowcount () override
 
void notifyAllListenersRowBeforeChange (::osl::ResettableMutexGuard &_rGuard, const css::sdb::RowChangeEvent &rEvt)
 
void notifyAllListenersRowChanged (::osl::ResettableMutexGuard &_rGuard, const css::sdb::RowsChangeEvent &rEvt)
 
virtual bool notifyAllListenersCursorBeforeMove (::osl::ResettableMutexGuard &_rGuard) override
 
virtual void notifyAllListenersCursorMoved (::osl::ResettableMutexGuard &_rGuard) override
 
void notifyAllListeners (::osl::ResettableMutexGuard &_rGuard)
 
virtual void doCancelModification () override
 
virtual bool isModification () override
 
virtual bool isModified () override
 
virtual bool isNew () override
 
virtual bool isPropertyChangeNotificationEnabled () const override
 
virtual ~ORowSet () override
 

Private Attributes

css::uno::Reference< css::sdbc::XConnection > m_xOldConnection
 
css::uno::Reference< css::sdbc::XConnection > m_xActiveConnection
 
css::uno::Any m_aActiveConnection
 
css::uno::Reference< css::container::XNameAccess > m_xTypeMap
 
css::uno::Any m_aTypeMap
 
css::uno::Reference< css::sdbc::XPreparedStatement > m_xStatement
 
css::uno::Reference< css::sdb::XSingleSelectQueryComposer > m_xComposer
 
css::uno::Reference< css::container::XNameAccess > m_xColumns
 
connectivity::OWeakRefArray m_aClones
 
::dbtools::param::ParametersContainerRef m_pParameters
 our parameters as XPropertySet instances and ORowSetValue instances More...
 
rtl::Reference< ORowSetValueVectorm_aPrematureParamValues
 our parameters values, used when we do not yet have a parameters container (since we have not been executed, yet) More...
 
rtl::Reference< ORowSetValueVectorm_aParameterValueForCache
 
std::vector< bool > m_aParametersSet
 
std::vector< bool > m_aReadOnlyDataColumns
 
::comphelper::OInterfaceContainerHelper3< css::sdbc::XRowSetListener > m_aRowsetListeners
 
::comphelper::OInterfaceContainerHelper3< css::sdb::XRowSetApproveListener > m_aApproveListeners
 
::comphelper::OInterfaceContainerHelper3< css::sdb::XRowsChangeListener > m_aRowsChangeListener
 
::dbtools::WarningsContainer m_aWarnings
 
std::unique_ptr< OTableContainerm_xTables
 
OUString m_aCommand
 
OUString m_aDataSourceName
 
OUString m_aURL
 
OUString m_aUser
 
OUString m_aPassword
 
OUString m_aFilter
 
OUString m_aHavingClause
 
OUString m_aGroupBy
 
OUString m_aOrder
 
OUString m_aActiveCommand
 
OUString m_aUpdateCatalogName
 
OUString m_aUpdateSchemaName
 
OUString m_aUpdateTableName
 
OUString m_sErrorString
 
sal_Int32 m_nFetchDirection
 
sal_Int32 m_nFetchSize
 
sal_Int32 m_nMaxFieldSize
 
sal_Int32 m_nMaxRows
 
sal_Int32 m_nQueryTimeOut
 
sal_Int32 m_nCommandType
 
sal_Int32 m_nTransactionIsolation
 
sal_Int32 m_nPrivileges
 
sal_Int32 m_nLastKnownRowCount
 
std::atomic< std::size_t > m_nInAppend
 
bool m_bInsertingRow
 
bool m_bLastKnownRowCountFinal
 
bool m_bUseEscapeProcessing
 
bool m_bApplyFilter
 
bool m_bCommandFacetsDirty
 
bool m_bParametersDirty
 
bool m_bModified
 
bool m_bRebuildConnOnExecute
 
bool m_bIsBookmarkable
 
bool m_bNew
 
bool m_bCanUpdateInsertedRows
 
bool m_bOwnConnection
 
bool m_bPropChangeNotifyEnabled
 

Friends

class ORowSetClone
 

Additional Inherited Members

- Protected Types inherited from dbaccess::ORowSetBase
enum class  CursorMoveDirection {
  Forward ,
  Backward ,
  Current ,
  CurrentRefresh
}
 
typedef std::vector< ORowSetDataColumn * > TDataColumns
 
- 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::ORowSetValuegetValue (sal_Int32 columnIndex)
 
const connectivity::ORowSetValueimpl_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::IPropertyArrayHelpercreateArrayHelper () const =0
 
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< ORowSetBase >
static std::mutextheMutex ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ORowSet >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from dbaccess::ORowSetBase
::osl::Mutex * m_pMutex
 
::osl::Mutex m_aColumnsMutex
 
css::uno::Any m_aBookmark
 
ORowSetCacheIterator m_aCurrentRow
 
TORowSetOldRowHelperRef m_aOldRow
 
TDataColumns m_aDataColumns
 
connectivity::ORowSetValue m_aEmptyValue
 
::cppu::OWeakObjectm_pMySelf
 
std::shared_ptr< ORowSetCachem_pCache
 
std::unique_ptr< ORowSetDataColumnsm_pColumns
 
::cppu::OBroadcastHelperm_rBHelper
 
css::uno::Reference< css::util::XNumberFormatTypes > m_xNumberFormatTypes
 
std::unique_ptr< OEmptyCollectionm_pEmptyCollection
 
css::uno::Reference< css::uno::XComponentContext > m_aContext
 
::connectivity::SQLError m_aErrors
 
sal_Int32 m_nLastColumnIndex
 
sal_Int32 m_nDeletedPosition
 
sal_Int32 m_nResultSetType
 
sal_Int32 m_nResultSetConcurrency
 
bool m_bClone
 
bool m_bIgnoreResult
 
bool m_bBeforeFirst: 1
 
bool m_bAfterLast: 1
 
bool m_bIsInsertRow: 1
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< ORowSetBase >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< ORowSet >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 69 of file RowSet.hxx.

Constructor & Destructor Documentation

◆ ~ORowSet()

dbaccess::ORowSet::~ORowSet ( )
overrideprivatevirtual

◆ ORowSet()

dbaccess::ORowSet::ORowSet ( const css::uno::Reference< css::uno::XComponentContext > &  )
explicit

Definition at line 102 of file RowSet.cxx.

References COMMAND, CommandType, loadString(), m_aActiveCommand, m_aActiveConnection, m_aCommand, m_aDataSourceName, m_aFilter, m_aGroupBy, m_aHavingClause, m_aMutex, m_aOrder, m_aPassword, m_aPrematureParamValues, m_aTypeMap, m_aUpdateCatalogName, m_aUpdateSchemaName, m_aUpdateTableName, m_aURL, m_aUser, m_bApplyFilter, m_bCanUpdateInsertedRows, dbaccess::ORowSetBase::m_bIgnoreResult, m_bIsBookmarkable, m_bModified, m_bNew, m_bPropChangeNotifyEnabled, m_bUseEscapeProcessing, m_nCommandType, m_nFetchDirection, m_nFetchSize, m_nMaxFieldSize, m_nMaxRows, m_nPrivileges, m_nQueryTimeOut, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_nResultSetType, m_nTransactionIsolation, m_pMutex, dbaccess::ORowSetBase::m_pMySelf, m_xActiveConnection, m_xComposer, PROPERTY_ACTIVE_CONNECTION(), PROPERTY_ACTIVECOMMAND(), PROPERTY_APPLYFILTER(), PROPERTY_CANUPDATEINSERTEDROWS(), PROPERTY_CHANGE_NOTIFICATION_ENABLED(), PROPERTY_COMMAND(), PROPERTY_COMMAND_TYPE(), PROPERTY_DATASOURCENAME(), PROPERTY_ESCAPE_PROCESSING(), PROPERTY_FETCHDIRECTION(), PROPERTY_FETCHSIZE(), PROPERTY_FILTER(), PROPERTY_GROUP_BY(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ID_ACTIVE_CONNECTION, PROPERTY_ID_ACTIVECOMMAND, PROPERTY_ID_APPLYFILTER, PROPERTY_ID_CANUPDATEINSERTEDROWS, PROPERTY_ID_COMMAND, PROPERTY_ID_COMMAND_TYPE, PROPERTY_ID_DATASOURCENAME, PROPERTY_ID_ESCAPE_PROCESSING, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_FILTER, PROPERTY_ID_GROUP_BY, PROPERTY_ID_HAVING_CLAUSE, PROPERTY_ID_IGNORERESULT, PROPERTY_ID_ISBOOKMARKABLE, PROPERTY_ID_ISMODIFIED, PROPERTY_ID_ISNEW, PROPERTY_ID_MAXFIELDSIZE, PROPERTY_ID_MAXROWS, PROPERTY_ID_ORDER, PROPERTY_ID_PASSWORD, PROPERTY_ID_PRIVILEGES, PROPERTY_ID_PROPCHANGE_NOTIFY, PROPERTY_ID_QUERYTIMEOUT, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, PROPERTY_ID_SINGLESELECTQUERYCOMPOSER, PROPERTY_ID_TRANSACTIONISOLATION, PROPERTY_ID_TYPEMAP, PROPERTY_ID_UPDATE_CATALOGNAME, PROPERTY_ID_UPDATE_SCHEMANAME, PROPERTY_ID_UPDATE_TABLENAME, PROPERTY_ID_URL, PROPERTY_ID_USER, PROPERTY_IGNORERESULT(), PROPERTY_ISBOOKMARKABLE(), PROPERTY_ISMODIFIED(), PROPERTY_ISNEW(), PROPERTY_MAXFIELDSIZE(), PROPERTY_MAXROWS(), PROPERTY_ORDER(), PROPERTY_PASSWORD(), PROPERTY_PRIVILEGES(), PROPERTY_QUERYTIMEOUT(), PROPERTY_RESULTSETCONCURRENCY(), PROPERTY_RESULTSETTYPE(), PROPERTY_SINGLESELECTQUERYCOMPOSER(), PROPERTY_TRANSACTIONISOLATION(), PROPERTY_TYPEMAP(), PROPERTY_UPDATE_CATALOGNAME(), PROPERTY_UPDATE_SCHEMANAME(), PROPERTY_UPDATE_TABLENAME(), PROPERTY_URL(), PROPERTY_USER(), comphelper::OPropertyContainerHelper::registerMayBeVoidProperty(), and comphelper::OPropertyContainerHelper::registerProperty().

Member Function Documentation

◆ acquire()

void SAL_CALL dbaccess::ORowSet::acquire ( )
overridevirtualnoexcept

◆ addRowsChangeListener()

void SAL_CALL dbaccess::ORowSet::addRowsChangeListener ( const css::uno::Reference< css::sdb::XRowsChangeListener > &  listener)
overridevirtual

◆ addRowSetApproveListener()

void SAL_CALL dbaccess::ORowSet::addRowSetApproveListener ( const css::uno::Reference< css::sdb::XRowSetApproveListener > &  listener)
overridevirtual

◆ addRowSetListener()

void SAL_CALL dbaccess::ORowSet::addRowSetListener ( const css::uno::Reference< css::sdbc::XRowSetListener > &  listener)
overridevirtual

◆ approveExecution()

void dbaccess::ORowSet::approveExecution ( )

◆ calcConnection()

Reference< XConnection > dbaccess::ORowSet::calcConnection ( const css::uno::Reference< css::task::XInteractionHandler > &  _rxHandler)
private

◆ cancel()

void SAL_CALL dbaccess::ORowSet::cancel ( )
overridevirtual

Definition at line 2069 of file RowSet.cxx.

◆ cancelRowUpdates()

void SAL_CALL dbaccess::ORowSet::cancelRowUpdates ( )
overridevirtual

Definition at line 1034 of file RowSet.cxx.

References implCancelRowUpdates().

◆ checkUpdateConditions()

void dbaccess::ORowSet::checkUpdateConditions ( sal_Int32  columnIndex)
private

◆ checkUpdateIterator()

void dbaccess::ORowSet::checkUpdateIterator ( )
private

◆ clearParameters()

void SAL_CALL dbaccess::ORowSet::clearParameters ( )
overridevirtual

◆ clearWarnings()

void SAL_CALL dbaccess::ORowSet::clearWarnings ( )
overridevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 2633 of file RowSet.cxx.

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

◆ close()

void SAL_CALL dbaccess::ORowSet::close ( )
overridevirtual

Definition at line 603 of file RowSet.cxx.

References freeResources(), and cppu::BaseMutex::m_aMutex.

Referenced by disposing().

◆ createArrayHelper()

cppu::IPropertyArrayHelper * dbaccess::ORowSet::createArrayHelper ( ) const
overridevirtual

◆ createResultSet()

Reference< XResultSet > SAL_CALL dbaccess::ORowSet::createResultSet ( )
overridevirtual

◆ deleteRow()

void SAL_CALL dbaccess::ORowSet::deleteRow ( )
overridevirtual

◆ deleteRows()

Sequence< sal_Int32 > SAL_CALL dbaccess::ORowSet::deleteRows ( const css::uno::Sequence< css::uno::Any > &  rows)
overridevirtual

◆ disposing() [1/2]

void SAL_CALL dbaccess::ORowSet::disposing ( )
overridevirtual

◆ disposing() [2/2]

void SAL_CALL dbaccess::ORowSet::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ doCancelModification() [1/3]

void dbaccess::ORowSet::doCancelModification ( )
overrideprivatevirtual

◆ doCancelModification() [2/3]

virtual void dbaccess::ORowSetBase::doCancelModification ( )
virtual

Implements dbaccess::ORowSetBase.

◆ doCancelModification() [3/3]

void dbaccess::ORowSetBase::doCancelModification ( const GrantNotifierAccess )
inline

Definition at line 328 of file RowSetBase.hxx.

◆ execute()

void SAL_CALL dbaccess::ORowSet::execute ( )
overridevirtual

◆ execute_NoApprove_NoNewConn()

void dbaccess::ORowSet::execute_NoApprove_NoNewConn ( ::osl::ResettableMutexGuard &  _rClearForNotification)

◆ executeWithCompletion()

void SAL_CALL dbaccess::ORowSet::executeWithCompletion ( const css::uno::Reference< css::task::XInteractionHandler > &  handler)
overridevirtual

◆ firePropertyChange() [1/3]

void dbaccess::ORowSetBase::firePropertyChange ( const ORowSetRow _rOldRow)

◆ firePropertyChange() [2/3]

void dbaccess::ORowSetBase::firePropertyChange ( sal_Int32  _nPos,
const ::connectivity::ORowSetValue _rNewValue 
)

Definition at line 116 of file RowSetBase.cxx.

◆ firePropertyChange() [3/3]

void dbaccess::ORowSetBase::firePropertyChange ( sal_Int32  _nPos,
const ::connectivity::ORowSetValue _rNewValue,
const GrantNotifierAccess  
)
inline

Definition at line 337 of file RowSetBase.hxx.

◆ fireRowcount()

void dbaccess::ORowSet::fireRowcount ( )
overrideprivatevirtual

◆ freeResources()

void dbaccess::ORowSet::freeResources ( bool  _bComplete)
private

◆ getArray()

Reference< XArray > SAL_CALL dbaccess::ORowSet::getArray ( sal_Int32  columnIndex)
overridevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 1415 of file RowSet.cxx.

◆ getBinaryStream()

Reference< css::io::XInputStream > SAL_CALL dbaccess::ORowSet::getBinaryStream ( sal_Int32  columnIndex)
overridevirtual

◆ getBlob()

Reference< XBlob > SAL_CALL dbaccess::ORowSet::getBlob ( sal_Int32  columnIndex)
overridevirtual

◆ getBoolean()

sal_Bool SAL_CALL dbaccess::ORowSet::getBoolean ( sal_Int32  columnIndex)
overridevirtual

◆ getByte()

sal_Int8 SAL_CALL dbaccess::ORowSet::getByte ( sal_Int32  columnIndex)
overridevirtual

◆ getBytes()

Sequence< sal_Int8 > SAL_CALL dbaccess::ORowSet::getBytes ( sal_Int32  columnIndex)
overridevirtual

◆ getCharacterStream()

Reference< css::io::XInputStream > SAL_CALL dbaccess::ORowSet::getCharacterStream ( sal_Int32  columnIndex)
overridevirtual

◆ getClob()

Reference< XClob > SAL_CALL dbaccess::ORowSet::getClob ( sal_Int32  columnIndex)
overridevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 1410 of file RowSet.cxx.

References getInsertValue(), and makeAny().

◆ getDate()

css::util::Date SAL_CALL dbaccess::ORowSet::getDate ( sal_Int32  columnIndex)
overridevirtual

◆ getDouble()

double SAL_CALL dbaccess::ORowSet::getDouble ( sal_Int32  columnIndex)
overridevirtual

◆ getFastPropertyValue() [1/2]

void SAL_CALL dbaccess::ORowSet::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual

◆ getFastPropertyValue() [2/2]

void SAL_CALL dbaccess::ORowSetBase::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overridevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 142 of file RowSetBase.cxx.

◆ getFloat()

float SAL_CALL dbaccess::ORowSet::getFloat ( sal_Int32  columnIndex)
overridevirtual

◆ getImplementationId()

Sequence< sal_Int8 > SAL_CALL dbaccess::ORowSet::getImplementationId ( )
overridevirtual

◆ getImplementationName()

OUString SAL_CALL dbaccess::ORowSet::getImplementationName ( )
overridevirtual

Definition at line 432 of file RowSet.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL dbaccess::ORowSet::getInfoHelper ( )
override

◆ getInsertValue()

const ORowSetValue & dbaccess::ORowSet::getInsertValue ( sal_Int32  columnIndex)
private

◆ getInt()

sal_Int32 SAL_CALL dbaccess::ORowSet::getInt ( sal_Int32  columnIndex)
overridevirtual

◆ getLong()

sal_Int64 SAL_CALL dbaccess::ORowSet::getLong ( sal_Int32  columnIndex)
overridevirtual

◆ getObject()

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

◆ getParameters()

Reference< XIndexAccess > SAL_CALL dbaccess::ORowSet::getParameters ( )
overridevirtual

◆ getParameterStorage()

ORowSetValue & dbaccess::ORowSet::getParameterStorage ( sal_Int32  parameterIndex)
private

◆ getPropertyDefaultByHandle()

void dbaccess::ORowSet::getPropertyDefaultByHandle ( sal_Int32  _nHandle,
css::uno::Any &  _rDefault 
) const
overrideprivatevirtual

◆ getRef()

Reference< XRef > SAL_CALL dbaccess::ORowSet::getRef ( sal_Int32  columnIndex)
overridevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 1394 of file RowSet.cxx.

◆ getShort()

sal_Int16 SAL_CALL dbaccess::ORowSet::getShort ( sal_Int32  columnIndex)
overridevirtual

◆ getString()

OUString SAL_CALL dbaccess::ORowSet::getString ( sal_Int32  columnIndex)
overridevirtual

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL dbaccess::ORowSet::getSupportedServiceNames ( )
overridevirtual

◆ getTime()

css::util::Time SAL_CALL dbaccess::ORowSet::getTime ( sal_Int32  columnIndex)
overridevirtual

◆ getTimestamp()

css::util::DateTime SAL_CALL dbaccess::ORowSet::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

◆ getTypes()

Sequence< Type > SAL_CALL dbaccess::ORowSet::getTypes ( )
overridevirtual

◆ getWarnings()

Any SAL_CALL dbaccess::ORowSet::getWarnings ( )
overridevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 2628 of file RowSet.cxx.

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

◆ impl_buildActiveCommand_throw()

bool dbaccess::ORowSet::impl_buildActiveCommand_throw ( )
private

builds m_aActiveCommand from our settings

Returns
whether we should use escape processing before executing the actual command. This is determined from our own EscapeProcessing property, and possibly overruled by the respective property of a query we're based on.

Definition at line 2304 of file RowSet.cxx.

References Any, composeTableName(), DBA_RES, dbaccess::ORowSetBase::fireProperty(), impl_getTables_throw(), impl_resetTables_nothrow(), m_aActiveCommand, m_aCommand, m_aUpdateTableName, m_bUseEscapeProcessing, m_nCommandType, m_xActiveConnection, PROPERTY_COMMAND(), PROPERTY_ESCAPE_PROCESSING(), PROPERTY_ID_ESCAPE_PROCESSING, PROPERTY_UPDATE_CATALOGNAME(), PROPERTY_UPDATE_SCHEMANAME(), PROPERTY_UPDATE_TABLENAME(), dbaccess::QUERY, sCatalog, sMessage, sSchema, dbaccess::TABLE, and throwGenericSQLException().

Referenced by impl_initComposer_throw().

◆ impl_disposeParametersContainer_nothrow()

void dbaccess::ORowSet::impl_disposeParametersContainer_nothrow ( )

disposes our parameters container

Definition at line 2407 of file RowSet.cxx.

References i, m_aPrematureParamValues, and m_pParameters.

Referenced by freeResources(), getParameters(), and getParameterStorage().

◆ impl_ensureStatement_throw()

void dbaccess::ORowSet::impl_ensureStatement_throw ( )
private

◆ impl_getTables_throw()

Reference< XNameAccess > dbaccess::ORowSet::impl_getTables_throw ( )
private

returns the table container of our active connection

If our connection is able to provide a tables container, this one is returned. Else, if m_pTables is not <NULL>, this one will returned. Else, m_pTables will be constructed and returned.

@precond m_xActiveConnection is not <NULL>

Exceptions
css::sdbc::SQLExceptionif retrieving or constructing the tables container goes wrong
See also
impl_resetTables_nothrow

Definition at line 2197 of file RowSet.cxx.

References Any, DBA_RES, DBG_UNHANDLED_EXCEPTION, cppu::BaseMutex::m_aMutex, m_nInAppend, m_xActiveConnection, m_xTables, and SQLSTATE_GENERAL.

Referenced by impl_buildActiveCommand_throw(), impl_initComposer_throw(), and impl_initializeColumnSettings_nothrow().

◆ impl_initComposer_throw()

void dbaccess::ORowSet::impl_initComposer_throw ( OUString &  _out_rCommandToExecute)
private

initializes our query composer, and everything which has to do with it

If we don't use escape processing, then we don't have a composer, and everything related to it. Nonetheless, _out_rCommandToExecute and the return value are properly initialized.

Parameters
_out_rCommandToExecuteThe command which is to be executed, according to the current settings - it is built from our active command plus our current filter/order criterions.

@precond m_xActiveConnection points to a valid SDB-level connection

Exceptions
css::sdb::SQLExceptionif a database-related error occurred
css::uno::RuntimeExceptionif any of the components involved throws a css::uno::RuntimeException

Definition at line 2252 of file RowSet.cxx.

References Exception, impl_buildActiveCommand_throw(), impl_getTables_throw(), impl_initParametersContainer_nothrow(), m_aActiveCommand, m_aCommand, dbaccess::ORowSetBase::m_aContext, m_aFilter, m_aGroupBy, m_aHavingClause, m_aOrder, m_bApplyFilter, m_bCommandFacetsDirty, dbaccess::ORowSetBase::m_bIgnoreResult, m_nCommandType, m_xActiveConnection, m_xColumns, m_xComposer, SERVICE_NAME_SINGLESELECTQUERYCOMPOSER, and xFactory.

Referenced by getParameters(), and impl_ensureStatement_throw().

◆ impl_initializeColumnSettings_nothrow()

void dbaccess::ORowSet::impl_initializeColumnSettings_nothrow ( const css::uno::Reference< css::beans::XPropertySet > &  _rxTemplateColumn,
const css::uno::Reference< css::beans::XPropertySet > &  _rxRowSetColumn 
)

initializes a given RowSet column with the ColumnSettings (width, format, hidden, etc.) from a template column.

If the template column supports any of the known column settings, they're plain copied. If not, the template column is examined for a TableName and Name property, and the table column described by those is used to find and copy the column settings.

Definition at line 1699 of file RowSet.cxx.

References Any, DBG_UNHANDLED_EXCEPTION, Exception, getLocale(), impl_getTables_throw(), impl_initializeColumnSettings_nothrow(), dbaccess::ORowSetBase::m_xNumberFormatTypes, PROPERTY_ALIGN(), PROPERTY_CONTROLDEFAULT(), PROPERTY_CONTROLMODEL(), PROPERTY_HELPTEXT(), PROPERTY_HIDDEN(), PROPERTY_NAME(), PROPERTY_NUMBERFORMAT(), PROPERTY_REALNAME(), PROPERTY_RELATIVEPOSITION(), PROPERTY_TABLENAME(), and PROPERTY_WIDTH().

Referenced by execute_NoApprove_NoNewConn(), and impl_initializeColumnSettings_nothrow().

◆ impl_initParametersContainer_nothrow()

void dbaccess::ORowSet::impl_initParametersContainer_nothrow ( )

initializes our parameters container (m_pParameters) according to the parameter columns as obtained from our composer

Definition at line 2394 of file RowSet.cxx.

References i, m_aPrematureParamValues, m_pParameters, and m_xComposer.

Referenced by impl_initComposer_throw().

◆ impl_prepareAndExecute_throw()

Reference< XResultSet > dbaccess::ORowSet::impl_prepareAndExecute_throw ( )
private

◆ impl_rebuild_throw()

void dbaccess::ORowSet::impl_rebuild_throw ( ::osl::ResettableMutexGuard &  _rGuard)
private

◆ impl_resetTables_nothrow()

void dbaccess::ORowSet::impl_resetTables_nothrow ( )
private

cleans up m_pTables, and resets it to <NULL>

Definition at line 2235 of file RowSet.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, and m_xTables.

Referenced by freeResources(), and impl_buildActiveCommand_throw().

◆ impl_restoreDataColumnsWriteable_throw()

void dbaccess::ORowSet::impl_restoreDataColumnsWriteable_throw ( )
private

◆ impl_setDataColumnsWriteable_throw()

void dbaccess::ORowSet::impl_setDataColumnsWriteable_throw ( )
private

◆ implCancelRowUpdates()

void dbaccess::ORowSet::implCancelRowUpdates ( bool  _bNotifyModified)

◆ insertRow()

void SAL_CALL dbaccess::ORowSet::insertRow ( )
overridevirtual

◆ isModification() [1/3]

bool dbaccess::ORowSet::isModification ( )
overrideprivatevirtual

Implements dbaccess::ORowSetBase.

Definition at line 2650 of file RowSet.cxx.

References isNew().

Referenced by doCancelModification().

◆ isModification() [2/3]

virtual bool dbaccess::ORowSetBase::isModification ( )
virtual

Implements dbaccess::ORowSetBase.

◆ isModification() [3/3]

bool dbaccess::ORowSetBase::isModification ( const GrantNotifierAccess )
inline

Definition at line 329 of file RowSetBase.hxx.

◆ isModified() [1/3]

bool dbaccess::ORowSet::isModified ( )
overrideprivatevirtual

Implements dbaccess::ORowSetBase.

Definition at line 2655 of file RowSet.cxx.

References m_bModified.

◆ isModified() [2/3]

virtual bool dbaccess::ORowSetBase::isModified ( )
virtual

Implements dbaccess::ORowSetBase.

◆ isModified() [3/3]

bool dbaccess::ORowSetBase::isModified ( const GrantNotifierAccess )
inline

Definition at line 330 of file RowSetBase.hxx.

◆ isNew() [1/3]

bool dbaccess::ORowSet::isNew ( )
overrideprivatevirtual

Implements dbaccess::ORowSetBase.

Definition at line 2660 of file RowSet.cxx.

References m_bNew.

Referenced by isModification().

◆ isNew() [2/3]

virtual bool dbaccess::ORowSetBase::isNew ( )
virtual

Implements dbaccess::ORowSetBase.

◆ isNew() [3/3]

bool dbaccess::ORowSetBase::isNew ( const GrantNotifierAccess )
inline

Definition at line 331 of file RowSetBase.hxx.

◆ isPropertyChangeNotificationEnabled()

bool dbaccess::ORowSet::isPropertyChangeNotificationEnabled ( ) const
overrideprivatevirtual

Reimplemented from dbaccess::ORowSetBase.

Definition at line 2665 of file RowSet.cxx.

References m_bPropChangeNotifyEnabled.

◆ moveToCurrentRow()

void SAL_CALL dbaccess::ORowSet::moveToCurrentRow ( )
overridevirtual

◆ moveToInsertRow()

void SAL_CALL dbaccess::ORowSet::moveToInsertRow ( )
overridevirtual

◆ notifyAllListeners()

void dbaccess::ORowSet::notifyAllListeners ( ::osl::ResettableMutexGuard &  _rGuard)
private

◆ notifyAllListenersCursorBeforeMove()

bool dbaccess::ORowSet::notifyAllListenersCursorBeforeMove ( ::osl::ResettableMutexGuard &  _rGuard)
overrideprivatevirtual

◆ notifyAllListenersCursorMoved()

void dbaccess::ORowSet::notifyAllListenersCursorMoved ( ::osl::ResettableMutexGuard &  _rGuard)
overrideprivatevirtual

◆ notifyAllListenersRowBeforeChange()

void dbaccess::ORowSet::notifyAllListenersRowBeforeChange ( ::osl::ResettableMutexGuard &  _rGuard,
const css::sdb::RowChangeEvent &  rEvt 
)
private

◆ notifyAllListenersRowChanged()

void dbaccess::ORowSet::notifyAllListenersRowChanged ( ::osl::ResettableMutexGuard &  _rGuard,
const css::sdb::RowsChangeEvent &  rEvt 
)
private

◆ notifyRowSetAndClonesRowDelete()

void dbaccess::ORowSet::notifyRowSetAndClonesRowDelete ( const css::uno::Any &  _rBookmark)
private

informs the clones (and ourself) that we are going to delete a record with a given bookmark

Definition at line 2129 of file RowSet.cxx.

References m_aClones, and dbaccess::ORowSetBase::onDeleteRow().

Referenced by deleteRow(), and deleteRows().

◆ notifyRowSetAndClonesRowDeleted()

void dbaccess::ORowSet::notifyRowSetAndClonesRowDeleted ( const css::uno::Any &  _rBookmark,
sal_Int32  _nPos 
)
private

inform the clones (and ourself) that we have deleted a record with a given bookmark

Definition at line 2142 of file RowSet.cxx.

References _nPos, clone(), m_aClones, and dbaccess::ORowSetBase::onDeletedRow().

Referenced by deleteRow(), and deleteRows().

◆ queryAggregation()

Any SAL_CALL dbaccess::ORowSet::queryAggregation ( const css::uno::Type &  aType)
overridevirtual

◆ queryInterface()

Any SAL_CALL dbaccess::ORowSet::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ refreshRow()

void SAL_CALL dbaccess::ORowSet::refreshRow ( )
overridevirtual

◆ release()

void SAL_CALL dbaccess::ORowSet::release ( )
overridevirtualnoexcept

◆ removeRowsChangeListener()

void SAL_CALL dbaccess::ORowSet::removeRowsChangeListener ( const css::uno::Reference< css::sdb::XRowsChangeListener > &  listener)
overridevirtual

◆ removeRowSetApproveListener()

void SAL_CALL dbaccess::ORowSet::removeRowSetApproveListener ( const css::uno::Reference< css::sdb::XRowSetApproveListener > &  listener)
overridevirtual

◆ removeRowSetListener()

void SAL_CALL dbaccess::ORowSet::removeRowSetListener ( const css::uno::Reference< css::sdbc::XRowSetListener > &  listener)
overridevirtual

◆ setActiveConnection()

void dbaccess::ORowSet::setActiveConnection ( css::uno::Reference< css::sdbc::XConnection > const &  _rxNewConn,
bool  _bFireEvent = true 
)

set m_xActiveConnection, fire a PropertyChangeEvent if necessary, do the event listener handling etc

Definition at line 541 of file RowSet.cxx.

References Any, m_aActiveConnection, m_bOwnConnection, m_xActiveConnection, m_xOldConnection, nHandle, PROPERTY_ID_ACTIVE_CONNECTION, and query_aggregation().

Referenced by calcConnection(), disposing(), execute(), executeWithCompletion(), and setFastPropertyValue_NoBroadcast().

◆ setArray()

void SAL_CALL dbaccess::ORowSet::setArray ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XArray > &  x 
)
overridevirtual

Definition at line 2611 of file RowSet.cxx.

◆ setBinaryStream()

void SAL_CALL dbaccess::ORowSet::setBinaryStream ( sal_Int32  parameterIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ setBlob()

void SAL_CALL dbaccess::ORowSet::setBlob ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XBlob > &  x 
)
overridevirtual

Definition at line 2601 of file RowSet.cxx.

◆ setBoolean()

void SAL_CALL dbaccess::ORowSet::setBoolean ( sal_Int32  parameterIndex,
sal_Bool  x 
)
overridevirtual

Definition at line 2475 of file RowSet.cxx.

References setParameter(), and x.

◆ setByte()

void SAL_CALL dbaccess::ORowSet::setByte ( sal_Int32  parameterIndex,
sal_Int8  x 
)
overridevirtual

Definition at line 2480 of file RowSet.cxx.

References setParameter(), and x.

◆ setBytes()

void SAL_CALL dbaccess::ORowSet::setBytes ( sal_Int32  parameterIndex,
const css::uno::Sequence< sal_Int8 > &  x 
)
overridevirtual

Definition at line 2515 of file RowSet.cxx.

References setParameter(), and x.

◆ setCharacterStream()

void SAL_CALL dbaccess::ORowSet::setCharacterStream ( sal_Int32  parameterIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ setClob()

void SAL_CALL dbaccess::ORowSet::setClob ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XClob > &  x 
)
overridevirtual

Definition at line 2606 of file RowSet.cxx.

◆ setDate()

void SAL_CALL dbaccess::ORowSet::setDate ( sal_Int32  parameterIndex,
const css::util::Date &  x 
)
overridevirtual

Definition at line 2520 of file RowSet.cxx.

References setParameter(), and x.

◆ setDouble()

void SAL_CALL dbaccess::ORowSet::setDouble ( sal_Int32  parameterIndex,
double  x 
)
overridevirtual

Definition at line 2505 of file RowSet.cxx.

References setParameter(), and x.

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL dbaccess::ORowSet::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprivatevirtual

◆ setFloat()

void SAL_CALL dbaccess::ORowSet::setFloat ( sal_Int32  parameterIndex,
float  x 
)
overridevirtual

Definition at line 2500 of file RowSet.cxx.

References setParameter(), and x.

◆ setInt()

void SAL_CALL dbaccess::ORowSet::setInt ( sal_Int32  parameterIndex,
sal_Int32  x 
)
overridevirtual

Definition at line 2490 of file RowSet.cxx.

References setParameter(), and x.

◆ setLong()

void SAL_CALL dbaccess::ORowSet::setLong ( sal_Int32  parameterIndex,
sal_Int64  x 
)
overridevirtual

Definition at line 2495 of file RowSet.cxx.

References setParameter(), and x.

◆ setNull()

void SAL_CALL dbaccess::ORowSet::setNull ( sal_Int32  parameterIndex,
sal_Int32  sqlType 
)
overridevirtual

◆ setObject()

void SAL_CALL dbaccess::ORowSet::setObject ( sal_Int32  parameterIndex,
const css::uno::Any &  x 
)
overridevirtual

Definition at line 2579 of file RowSet.cxx.

References m_bParametersDirty, and x.

Referenced by setObjectWithInfo().

◆ setObjectNull()

void SAL_CALL dbaccess::ORowSet::setObjectNull ( sal_Int32  parameterIndex,
sal_Int32  sqlType,
const OUString &  typeName 
)
overridevirtual

Definition at line 2462 of file RowSet.cxx.

References setNull().

◆ setObjectWithInfo()

void SAL_CALL dbaccess::ORowSet::setObjectWithInfo ( sal_Int32  parameterIndex,
const css::uno::Any &  x,
sal_Int32  targetSqlType,
sal_Int32  scale 
)
overridevirtual

◆ setParameter()

void dbaccess::ORowSet::setParameter ( sal_Int32  parameterIndex,
const connectivity::ORowSetValue x 
)
private

◆ setRef()

void SAL_CALL dbaccess::ORowSet::setRef ( sal_Int32  parameterIndex,
const css::uno::Reference< css::sdbc::XRef > &  x 
)
overridevirtual

Definition at line 2596 of file RowSet.cxx.

◆ setShort()

void SAL_CALL dbaccess::ORowSet::setShort ( sal_Int32  parameterIndex,
sal_Int16  x 
)
overridevirtual

Definition at line 2485 of file RowSet.cxx.

References setParameter(), and x.

◆ setStatementResultSetType()

void dbaccess::ORowSet::setStatementResultSetType ( const css::uno::Reference< css::beans::XPropertySet > &  _rxStatement,
sal_Int32  _nDesiredResultSetType,
sal_Int32  _nDesiredResultSetConcurrency 
)

sets the given result set type/concurrency at the given statement, while respecting possibly related data source settings

Definition at line 1558 of file RowSet.cxx.

References Any, dbaccess::getDataSource(), getDataSourceSetting(), i, m_xActiveConnection, PROPERTY_RESULTSETCONCURRENCY(), and PROPERTY_RESULTSETTYPE().

Referenced by impl_ensureStatement_throw().

◆ setString()

void SAL_CALL dbaccess::ORowSet::setString ( sal_Int32  parameterIndex,
const OUString &  x 
)
overridevirtual

Definition at line 2510 of file RowSet.cxx.

References setParameter(), and x.

◆ setTime()

void SAL_CALL dbaccess::ORowSet::setTime ( sal_Int32  parameterIndex,
const css::util::Time &  x 
)
overridevirtual

Definition at line 2525 of file RowSet.cxx.

References setParameter(), and x.

◆ setTimestamp()

void SAL_CALL dbaccess::ORowSet::setTimestamp ( sal_Int32  parameterIndex,
const css::util::DateTime &  x 
)
overridevirtual

Definition at line 2530 of file RowSet.cxx.

References setParameter(), and x.

◆ supportsService()

sal_Bool SAL_CALL dbaccess::ORowSet::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 437 of file RowSet.cxx.

References cppu::supportsService().

◆ updateBinaryStream()

void SAL_CALL dbaccess::ORowSet::updateBinaryStream ( sal_Int32  columnIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ updateBoolean()

void SAL_CALL dbaccess::ORowSet::updateBoolean ( sal_Int32  columnIndex,
sal_Bool  x 
)
overridevirtual

Definition at line 658 of file RowSet.cxx.

References updateValue(), and x.

◆ updateByte()

void SAL_CALL dbaccess::ORowSet::updateByte ( sal_Int32  columnIndex,
sal_Int8  x 
)
overridevirtual

Definition at line 663 of file RowSet.cxx.

References updateValue(), and x.

◆ updateBytes()

void SAL_CALL dbaccess::ORowSet::updateBytes ( sal_Int32  columnIndex,
const css::uno::Sequence< sal_Int8 > &  x 
)
overridevirtual

Definition at line 698 of file RowSet.cxx.

References updateValue(), and x.

◆ updateCharacterStream()

void SAL_CALL dbaccess::ORowSet::updateCharacterStream ( sal_Int32  columnIndex,
const css::uno::Reference< css::io::XInputStream > &  x,
sal_Int32  length 
)
overridevirtual

◆ updateDate()

void SAL_CALL dbaccess::ORowSet::updateDate ( sal_Int32  columnIndex,
const css::util::Date &  x 
)
overridevirtual

Definition at line 703 of file RowSet.cxx.

References updateValue(), and x.

◆ updateDouble()

void SAL_CALL dbaccess::ORowSet::updateDouble ( sal_Int32  columnIndex,
double  x 
)
overridevirtual

Definition at line 688 of file RowSet.cxx.

References updateValue(), and x.

◆ updateFloat()

void SAL_CALL dbaccess::ORowSet::updateFloat ( sal_Int32  columnIndex,
float  x 
)
overridevirtual

Definition at line 683 of file RowSet.cxx.

References updateValue(), and x.

◆ updateInt()

void SAL_CALL dbaccess::ORowSet::updateInt ( sal_Int32  columnIndex,
sal_Int32  x 
)
overridevirtual

Definition at line 673 of file RowSet.cxx.

References updateValue(), and x.

◆ updateLong()

void SAL_CALL dbaccess::ORowSet::updateLong ( sal_Int32  columnIndex,
sal_Int64  x 
)
overridevirtual

Definition at line 678 of file RowSet.cxx.

References updateValue(), and x.

◆ updateNull()

void SAL_CALL dbaccess::ORowSet::updateNull ( sal_Int32  columnIndex)
overridevirtual

◆ updateNumericObject()

void SAL_CALL dbaccess::ORowSet::updateNumericObject ( sal_Int32  columnIndex,
const css::uno::Any &  x,
sal_Int32  scale 
)
overridevirtual

◆ updateObject()

void SAL_CALL dbaccess::ORowSet::updateObject ( sal_Int32  columnIndex,
const css::uno::Any &  x 
)
overridevirtual

◆ updateRow()

void SAL_CALL dbaccess::ORowSet::updateRow ( )
overridevirtual

◆ updateShort()

void SAL_CALL dbaccess::ORowSet::updateShort ( sal_Int32  columnIndex,
sal_Int16  x 
)
overridevirtual

Definition at line 668 of file RowSet.cxx.

References updateValue(), and x.

◆ updateString()

void SAL_CALL dbaccess::ORowSet::updateString ( sal_Int32  columnIndex,
const OUString &  x 
)
overridevirtual

Definition at line 693 of file RowSet.cxx.

References updateValue(), and x.

◆ updateTime()

void SAL_CALL dbaccess::ORowSet::updateTime ( sal_Int32  columnIndex,
const css::util::Time &  x 
)
overridevirtual

Definition at line 708 of file RowSet.cxx.

References updateValue(), and x.

◆ updateTimestamp()

void SAL_CALL dbaccess::ORowSet::updateTimestamp ( sal_Int32  columnIndex,
const css::util::DateTime &  x 
)
overridevirtual

Definition at line 713 of file RowSet.cxx.

References updateValue(), and x.

◆ updateValue()

void dbaccess::ORowSet::updateValue ( sal_Int32  columnIndex,
const connectivity::ORowSetValue x 
)
private

◆ wasNull()

sal_Bool SAL_CALL dbaccess::ORowSet::wasNull ( )
overridevirtual

Friends And Related Function Documentation

◆ ORowSetClone

friend class ORowSetClone
friend

Definition at line 74 of file RowSet.hxx.

Referenced by createResultSet().

Member Data Documentation

◆ m_aActiveCommand

OUString dbaccess::ORowSet::m_aActiveCommand
private

◆ m_aActiveConnection

css::uno::Any dbaccess::ORowSet::m_aActiveConnection
private

◆ m_aApproveListeners

::comphelper::OInterfaceContainerHelper3<css::sdb::XRowSetApproveListener> dbaccess::ORowSet::m_aApproveListeners
private

◆ m_aClones

connectivity::OWeakRefArray dbaccess::ORowSet::m_aClones
private

◆ m_aCommand

OUString dbaccess::ORowSet::m_aCommand
private

◆ m_aDataSourceName

OUString dbaccess::ORowSet::m_aDataSourceName
private

Definition at line 107 of file RowSet.hxx.

Referenced by calcConnection(), ORowSet(), and setFastPropertyValue_NoBroadcast().

◆ m_aFilter

OUString dbaccess::ORowSet::m_aFilter
private

Definition at line 111 of file RowSet.hxx.

Referenced by impl_initComposer_throw(), impl_prepareAndExecute_throw(), and ORowSet().

◆ m_aGroupBy

OUString dbaccess::ORowSet::m_aGroupBy
private

Definition at line 113 of file RowSet.hxx.

Referenced by impl_initComposer_throw(), and ORowSet().

◆ m_aHavingClause

OUString dbaccess::ORowSet::m_aHavingClause
private

Definition at line 112 of file RowSet.hxx.

Referenced by impl_initComposer_throw(), and ORowSet().

◆ m_aOrder

OUString dbaccess::ORowSet::m_aOrder
private

Definition at line 114 of file RowSet.hxx.

Referenced by impl_initComposer_throw(), and ORowSet().

◆ m_aParametersSet

std::vector<bool> dbaccess::ORowSet::m_aParametersSet
private

Definition at line 94 of file RowSet.hxx.

Referenced by clearParameters(), executeWithCompletion(), and getParameterStorage().

◆ m_aParameterValueForCache

rtl::Reference<ORowSetValueVector> dbaccess::ORowSet::m_aParameterValueForCache
private

Definition at line 93 of file RowSet.hxx.

Referenced by impl_prepareAndExecute_throw().

◆ m_aPassword

OUString dbaccess::ORowSet::m_aPassword
private

Definition at line 110 of file RowSet.hxx.

Referenced by calcConnection(), and ORowSet().

◆ m_aPrematureParamValues

rtl::Reference<ORowSetValueVector> dbaccess::ORowSet::m_aPrematureParamValues
private

our parameters values, used when we do not yet have a parameters container (since we have not been executed, yet)

Definition at line 92 of file RowSet.hxx.

Referenced by clearParameters(), getParameterStorage(), impl_disposeParametersContainer_nothrow(), impl_initParametersContainer_nothrow(), impl_prepareAndExecute_throw(), and ORowSet().

◆ m_aReadOnlyDataColumns

std::vector<bool> dbaccess::ORowSet::m_aReadOnlyDataColumns
private

◆ m_aRowsChangeListener

::comphelper::OInterfaceContainerHelper3<css::sdb::XRowsChangeListener> dbaccess::ORowSet::m_aRowsChangeListener
private

◆ m_aRowsetListeners

::comphelper::OInterfaceContainerHelper3<css::sdbc::XRowSetListener> dbaccess::ORowSet::m_aRowsetListeners
private

◆ m_aTypeMap

css::uno::Any dbaccess::ORowSet::m_aTypeMap
private

Definition at line 80 of file RowSet.hxx.

Referenced by ORowSet(), and setFastPropertyValue_NoBroadcast().

◆ m_aUpdateCatalogName

OUString dbaccess::ORowSet::m_aUpdateCatalogName
private

Definition at line 116 of file RowSet.hxx.

Referenced by impl_prepareAndExecute_throw(), and ORowSet().

◆ m_aUpdateSchemaName

OUString dbaccess::ORowSet::m_aUpdateSchemaName
private

Definition at line 117 of file RowSet.hxx.

Referenced by impl_prepareAndExecute_throw(), and ORowSet().

◆ m_aUpdateTableName

OUString dbaccess::ORowSet::m_aUpdateTableName
private

◆ m_aURL

OUString dbaccess::ORowSet::m_aURL
private

Definition at line 108 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_aUser

OUString dbaccess::ORowSet::m_aUser
private

Definition at line 109 of file RowSet.hxx.

Referenced by calcConnection(), and ORowSet().

◆ m_aWarnings

::dbtools::WarningsContainer dbaccess::ORowSet::m_aWarnings
private

◆ m_bApplyFilter

bool dbaccess::ORowSet::m_bApplyFilter
private

Definition at line 134 of file RowSet.hxx.

Referenced by impl_initComposer_throw(), and ORowSet().

◆ m_bCanUpdateInsertedRows

bool dbaccess::ORowSet::m_bCanUpdateInsertedRows
private

Definition at line 141 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_bCommandFacetsDirty

bool dbaccess::ORowSet::m_bCommandFacetsDirty
private

◆ m_bInsertingRow

bool dbaccess::ORowSet::m_bInsertingRow
private

Definition at line 131 of file RowSet.hxx.

Referenced by insertRow().

◆ m_bIsBookmarkable

bool dbaccess::ORowSet::m_bIsBookmarkable
private

Definition at line 139 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_bLastKnownRowCountFinal

bool dbaccess::ORowSet::m_bLastKnownRowCountFinal
private

Definition at line 132 of file RowSet.hxx.

Referenced by fireRowcount(), and freeResources().

◆ m_bModified

bool dbaccess::ORowSet::m_bModified
private

◆ m_bNew

bool dbaccess::ORowSet::m_bNew
private

◆ m_bOwnConnection

bool dbaccess::ORowSet::m_bOwnConnection
private

◆ m_bParametersDirty

bool dbaccess::ORowSet::m_bParametersDirty
private

◆ m_bPropChangeNotifyEnabled

bool dbaccess::ORowSet::m_bPropChangeNotifyEnabled
private

◆ m_bRebuildConnOnExecute

bool dbaccess::ORowSet::m_bRebuildConnOnExecute
private

Definition at line 138 of file RowSet.hxx.

Referenced by execute(), executeWithCompletion(), and setFastPropertyValue_NoBroadcast().

◆ m_bUseEscapeProcessing

bool dbaccess::ORowSet::m_bUseEscapeProcessing
private

Definition at line 133 of file RowSet.hxx.

Referenced by impl_buildActiveCommand_throw(), impl_ensureStatement_throw(), and ORowSet().

◆ m_nCommandType

sal_Int32 dbaccess::ORowSet::m_nCommandType
private

Definition at line 126 of file RowSet.hxx.

Referenced by impl_buildActiveCommand_throw(), impl_initComposer_throw(), and ORowSet().

◆ m_nFetchDirection

sal_Int32 dbaccess::ORowSet::m_nFetchDirection
private

Definition at line 121 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_nFetchSize

sal_Int32 dbaccess::ORowSet::m_nFetchSize
private

◆ m_nInAppend

std::atomic<std::size_t> dbaccess::ORowSet::m_nInAppend
private

Definition at line 130 of file RowSet.hxx.

Referenced by impl_getTables_throw().

◆ m_nLastKnownRowCount

sal_Int32 dbaccess::ORowSet::m_nLastKnownRowCount
private

Definition at line 129 of file RowSet.hxx.

Referenced by fireRowcount(), and freeResources().

◆ m_nMaxFieldSize

sal_Int32 dbaccess::ORowSet::m_nMaxFieldSize
private

Definition at line 123 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_nMaxRows

sal_Int32 dbaccess::ORowSet::m_nMaxRows
private

Definition at line 124 of file RowSet.hxx.

Referenced by impl_ensureStatement_throw(), impl_prepareAndExecute_throw(), and ORowSet().

◆ m_nPrivileges

sal_Int32 dbaccess::ORowSet::m_nPrivileges
private

Definition at line 128 of file RowSet.hxx.

Referenced by impl_prepareAndExecute_throw(), and ORowSet().

◆ m_nQueryTimeOut

sal_Int32 dbaccess::ORowSet::m_nQueryTimeOut
private

Definition at line 125 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_nTransactionIsolation

sal_Int32 dbaccess::ORowSet::m_nTransactionIsolation
private

Definition at line 127 of file RowSet.hxx.

Referenced by ORowSet().

◆ m_pParameters

::dbtools::param::ParametersContainerRef dbaccess::ORowSet::m_pParameters
private

our parameters as XPropertySet instances and ORowSetValue instances

Definition at line 88 of file RowSet.hxx.

Referenced by clearParameters(), getParameters(), getParameterStorage(), impl_disposeParametersContainer_nothrow(), impl_initParametersContainer_nothrow(), and impl_prepareAndExecute_throw().

◆ m_sErrorString

OUString dbaccess::ORowSet::m_sErrorString
private

Definition at line 119 of file RowSet.hxx.

Referenced by impl_ensureStatement_throw().

◆ m_xActiveConnection

css::uno::Reference< css::sdbc::XConnection > dbaccess::ORowSet::m_xActiveConnection
private

◆ m_xColumns

css::uno::Reference< css::container::XNameAccess > dbaccess::ORowSet::m_xColumns
private

Definition at line 83 of file RowSet.hxx.

Referenced by execute_NoApprove_NoNewConn(), freeResources(), and impl_initComposer_throw().

◆ m_xComposer

css::uno::Reference< css::sdb::XSingleSelectQueryComposer > dbaccess::ORowSet::m_xComposer
private

◆ m_xOldConnection

css::uno::Reference< css::sdbc::XConnection > dbaccess::ORowSet::m_xOldConnection
private

Definition at line 76 of file RowSet.hxx.

Referenced by execute_NoApprove_NoNewConn(), and setActiveConnection().

◆ m_xStatement

css::uno::Reference< css::sdbc::XPreparedStatement > dbaccess::ORowSet::m_xStatement
private

◆ m_xTables

std::unique_ptr<OTableContainer> dbaccess::ORowSet::m_xTables
private

Definition at line 104 of file RowSet.hxx.

Referenced by impl_getTables_throw(), and impl_resetTables_nothrow().

◆ m_xTypeMap

css::uno::Reference< css::container::XNameAccess > dbaccess::ORowSet::m_xTypeMap
private

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