LibreOffice Module dbaccess (master) 1
|
#include <RowSet.hxx>
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::IPropertyArrayHelper * | createArrayHelper () 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::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< ORowSet > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
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::ORowSetValue & | getInsertValue (sal_Int32 columnIndex) |
void | setParameter (sal_Int32 parameterIndex, const connectivity::ORowSetValue &x) |
::connectivity::ORowSetValue & | getParameterStorage (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 |
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::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 |
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::mutex & | theMutex () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< ORowSet > | |
static std::mutex & | theMutex () |
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::OWeakObject * | m_pMySelf |
std::shared_ptr< ORowSetCache > | m_pCache |
std::unique_ptr< ORowSetDataColumns > | m_pColumns |
::cppu::OBroadcastHelper & | m_rBHelper |
css::uno::Reference< css::util::XNumberFormatTypes > | m_xNumberFormatTypes |
std::unique_ptr< OEmptyCollection > | m_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::IPropertyArrayHelper * | s_pProps |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< ORowSet > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 69 of file RowSet.hxx.
|
overrideprivatevirtual |
Definition at line 191 of file RowSet.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, cppu::OBroadcastHelperVar< class container, class keyType >::bInDispose, dispose(), dbaccess::ORowSetBase::m_rBHelper, m_refCount, and SAL_WARN.
|
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().
|
overridevirtualnoexcept |
Definition at line 412 of file RowSet.cxx.
|
overridevirtual |
Definition at line 2036 of file RowSet.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), dbaccess::ORowSetBase::m_aColumnsMutex, and m_aRowsChangeListener.
|
overridevirtual |
Definition at line 2017 of file RowSet.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), m_aApproveListeners, and dbaccess::ORowSetBase::m_aColumnsMutex.
|
overridevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 1039 of file RowSet.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::addInterface(), dbaccess::ORowSetBase::m_aColumnsMutex, and m_aRowsetListeners.
void dbaccess::ORowSet::approveExecution | ( | ) |
call the RowSetApproveListeners
css::sdb::RowSetVetoException | if one of the listeners vetoed |
css::uno::RuntimeException |
Definition at line 1505 of file RowSet.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, comphelper::OInterfaceIteratorHelper3< class ListenerT >::hasMoreElements(), m_aApproveListeners, dbaccess::ORowSetBase::m_aColumnsMutex, comphelper::OInterfaceIteratorHelper3< class ListenerT >::next(), and comphelper::OInterfaceIteratorHelper3< class ListenerT >::remove().
Referenced by execute(), and executeWithCompletion().
|
private |
css::sdbc::SQLException | |
css::uno::RuntimeException |
Definition at line 2155 of file RowSet.cxx.
References Any, Exception, dbaccess::extractExceptionMessage(), dbaccess::ResourceManager::loadString(), dbaccess::ORowSetBase::m_aContext, m_aDataSourceName, cppu::BaseMutex::m_aMutex, m_aPassword, m_aUser, m_bOwnConnection, m_xActiveConnection, setActiveConnection(), and sMessage.
Referenced by execute(), and executeWithCompletion().
|
overridevirtual |
Definition at line 2069 of file RowSet.cxx.
|
overridevirtual |
Definition at line 1034 of file RowSet.cxx.
References implCancelRowUpdates().
|
private |
Definition at line 2680 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), DBA_RES, dbaccess::ORowSetCacheIterator::isNull(), dbaccess::ORowSetBase::m_aCurrentRow, dbaccess::ORowSetBase::m_nResultSetConcurrency, o3tl::make_unsigned(), and dbaccess::ORowSetBase::rowDeleted().
Referenced by updateBinaryStream(), updateCharacterStream(), updateNull(), updateNumericObject(), updateObject(), and updateValue().
|
private |
Definition at line 2670 of file RowSet.cxx.
References dbaccess::ORowSetBase::m_aCurrentRow, dbaccess::ORowSetBase::m_bIsInsertRow, and dbaccess::ORowSetBase::m_pCache.
Referenced by updateBinaryStream(), updateCharacterStream(), updateNull(), updateNumericObject(), updateObject(), and updateValue().
|
overridevirtual |
Definition at line 2616 of file RowSet.cxx.
References getParameterStorage(), i, dbaccess::ORowSetBase::m_aColumnsMutex, m_aParametersSet, m_aPrematureParamValues, m_pParameters, and connectivity::ORowSetValue::setNull().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2633 of file RowSet.cxx.
References dbtools::WarningsContainer::clearWarnings(), and m_aWarnings.
|
overridevirtual |
Definition at line 603 of file RowSet.cxx.
References freeResources(), and cppu::BaseMutex::m_aMutex.
Referenced by disposing().
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< ORowSet >.
Definition at line 614 of file RowSet.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
overridevirtual |
Definition at line 2055 of file RowSet.cxx.
References m_aClones, dbaccess::ORowSetBase::m_aColumnsMutex, dbaccess::ORowSetBase::m_aContext, dbaccess::ORowSetBase::m_pMutex, m_xStatement, and ORowSetClone.
|
overridevirtual |
Definition at line 945 of file RowSet.cxx.
References Any, dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::Current, DBA_RES, dbaccess::ORowSetNotifier::fire(), fireRowcount(), dbaccess::ORowSetBase::m_aBookmark, dbaccess::ORowSetBase::m_bAfterLast, dbaccess::ORowSetBase::m_bBeforeFirst, m_bNew, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, notifyAllListenersRowBeforeChange(), notifyAllListenersRowChanged(), notifyRowSetAndClonesRowDelete(), notifyRowSetAndClonesRowDeleted(), dbaccess::ORowSetBase::positionCache(), and dbaccess::ORowSetBase::rowDeleted().
|
overridevirtual |
Definition at line 2075 of file RowSet.cxx.
References Any, dbaccess::ORowSetNotifier::fire(), fireRowcount(), dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, notifyAllListenersRowBeforeChange(), notifyAllListenersRowChanged(), notifyRowSetAndClonesRowDelete(), notifyRowSetAndClonesRowDeleted(), result, and throwFunctionSequenceException().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 449 of file RowSet.cxx.
References Any, comphelper::OInterfaceContainerHelper3< class ListenerT >::disposeAndClear(), dbaccess::ORowSetBase::disposing(), freeResources(), m_aActiveConnection, m_aApproveListeners, cppu::BaseMutex::m_aMutex, m_aRowsChangeListener, m_aRowsetListeners, m_bOwnConnection, m_xActiveConnection, and query_aggregation().
|
overridevirtual |
Definition at line 587 of file RowSet.cxx.
References close(), cppu::BaseMutex::m_aMutex, m_xActiveConnection, setActiveConnection(), and Source.
|
overrideprivatevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2638 of file RowSet.cxx.
References impl_restoreDataColumnsWriteable_throw(), isModification(), dbaccess::ORowSetBase::m_bIsInsertRow, m_bModified, and dbaccess::ORowSetBase::m_pCache.
Referenced by freeResources().
|
virtual |
Implements dbaccess::ORowSetBase.
|
inline |
Definition at line 328 of file RowSetBase.hxx.
|
overridevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 1534 of file RowSet.cxx.
References approveExecution(), calcConnection(), execute_NoApprove_NoNewConn(), freeResources(), cppu::BaseMutex::m_aMutex, m_bCommandFacetsDirty, m_bRebuildConnOnExecute, m_xActiveConnection, and setActiveConnection().
Referenced by executeWithCompletion().
void dbaccess::ORowSet::execute_NoApprove_NoNewConn | ( | ::osl::ResettableMutexGuard & | _rClearForNotification | ) |
implement the <method>execute</method>, without calling the approve listeners and without building a new connection
_rClearForNotification | mutex to clear before doing the final notifications |
Definition at line 1784 of file RowSet.cxx.
References Any, aSeq, dbaccess::ORowSetBase::checkCache(), dbtools::WarningsContainer::clearWarnings(), DBA_RES, Exception, getInsertValue(), SvtSysLocale::GetLanguageTag(), LanguageTag::getLocale(), dbaccess::ORowSetBase::getMetaData(), comphelper::getString(), i, impl_initializeColumnSettings_nothrow(), impl_prepareAndExecute_throw(), Locale, dbaccess::ORowSetBase::m_aColumnsMutex, dbaccess::ORowSetBase::m_aDataColumns, m_aWarnings, m_bCommandFacetsDirty, m_bParametersDirty, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pColumns, m_xActiveConnection, m_xColumns, m_xComposer, dbaccess::ORowSetBase::m_xNumberFormatTypes, m_xOldConnection, m_xStatement, nCount, notifyAllListeners(), PROPERTY_DESCRIPTION(), PROPERTY_ID_ALIGN, PROPERTY_ID_HIDDEN, PROPERTY_ID_ISREADONLY, PROPERTY_ID_NUMBERFORMAT, PROPERTY_ID_RELATIVEPOSITION, PROPERTY_ID_WIDTH, PROPERTY_LABEL(), PROPERTY_NAME(), SAL_INFO, dbtools::WarningsContainer::setExternalWarnings(), sName, and xColumn.
Referenced by execute(), and executeWithCompletion().
|
overridevirtual |
Definition at line 1420 of file RowSet.cxx.
References approveExecution(), calcConnection(), Exception, execute(), execute_NoApprove_NoNewConn(), freeResources(), getCurrentSettingsComposer(), dbaccess::ORowSetBase::m_aContext, cppu::BaseMutex::m_aMutex, m_aParametersSet, m_bCommandFacetsDirty, m_bRebuildConnOnExecute, m_xActiveConnection, o3tl::make_unsigned(), setActiveConnection(), and TOOLS_WARN_EXCEPTION.
void dbaccess::ORowSetBase::firePropertyChange | ( | const ORowSetRow & | _rOldRow | ) |
Definition at line 113 of file RowSetBase.cxx.
void dbaccess::ORowSetBase::firePropertyChange | ( | sal_Int32 | _nPos, |
const ::connectivity::ORowSetValue & | _rNewValue | ||
) |
Definition at line 116 of file RowSetBase.cxx.
|
inline |
Definition at line 337 of file RowSetBase.hxx.
|
overrideprivatevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1122 of file RowSet.cxx.
References Any, dbaccess::ORowSetBase::impl_getRowCount(), m_bLastKnownRowCountFinal, m_nLastKnownRowCount, dbaccess::ORowSetBase::m_pCache, nHandle, PROPERTY_ID_ISROWCOUNTFINAL, and PROPERTY_ID_ROWCOUNT.
Referenced by deleteRow(), deleteRows(), insertRow(), moveToInsertRow(), setFastPropertyValue_NoBroadcast(), and updateRow().
|
private |
Definition at line 480 of file RowSet.cxx.
References Any, clone(), DBG_UNHANDLED_EXCEPTION, doCancelModification(), Exception, impl_disposeParametersContainer_nothrow(), impl_resetTables_nothrow(), dbaccess::ORowSetBase::m_aBookmark, m_aClones, dbaccess::ORowSetBase::m_aDataColumns, cppu::BaseMutex::m_aMutex, dbaccess::ORowSetBase::m_aOldRow, m_aReadOnlyDataColumns, m_aWarnings, dbaccess::ORowSetBase::m_bAfterLast, dbaccess::ORowSetBase::m_bBeforeFirst, m_bCommandFacetsDirty, dbaccess::ORowSetBase::m_bIsInsertRow, m_bLastKnownRowCountFinal, m_bModified, m_bNew, m_nLastKnownRowCount, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pColumns, m_xColumns, m_xComposer, m_xStatement, m_xTypeMap, and dbtools::WarningsContainer::setExternalWarnings().
Referenced by close(), disposing(), execute(), and executeWithCompletion().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1415 of file RowSet.cxx.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1362 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::getBinaryStream(), dbaccess::ORowSetBase::isInsertRow(), dbaccess::ORowSetBase::m_nLastColumnIndex, dbaccess::ORowSetBase::m_pCache, and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1399 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::getBlob(), dbaccess::ORowSetBase::isInsertRow(), dbaccess::ORowSetBase::m_nLastColumnIndex, and dbaccess::ORowSetBase::m_pCache.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1296 of file RowSet.cxx.
References connectivity::ORowSetValue::getBool(), getInsertValue(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1302 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getInt8(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1338 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getSequence(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1375 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::getCharacterStream(), dbaccess::ORowSetBase::isInsertRow(), dbaccess::ORowSetBase::m_nLastColumnIndex, dbaccess::ORowSetBase::m_pCache, and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1410 of file RowSet.cxx.
References getInsertValue(), and makeAny().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1344 of file RowSet.cxx.
References connectivity::ORowSetValue::getDate(), getInsertValue(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1332 of file RowSet.cxx.
References connectivity::ORowSetValue::getDouble(), getInsertValue(), and dbaccess::ORowSetBase::m_pMutex.
|
overrideprivatevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 347 of file RowSet.cxx.
References dbaccess::ORowSetBase::getFastPropertyValue(), m_bModified, m_bNew, m_bPropChangeNotifyEnabled, dbaccess::ORowSetBase::m_pCache, m_xActiveConnection, m_xTypeMap, nHandle, PROPERTY_ID_ACTIVE_CONNECTION, PROPERTY_ID_ISMODIFIED, PROPERTY_ID_ISNEW, PROPERTY_ID_PRIVILEGES, PROPERTY_ID_PROPCHANGE_NOTIFY, and PROPERTY_ID_TYPEMAP.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 142 of file RowSetBase.cxx.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1326 of file RowSet.cxx.
References connectivity::ORowSetValue::getFloat(), getInsertValue(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Definition at line 401 of file RowSet.cxx.
|
overridevirtual |
Definition at line 432 of file RowSet.cxx.
|
override |
Definition at line 622 of file RowSet.cxx.
References comphelper::OPropertyArrayUsageHelper< class TYPE >::getArrayHelper().
Referenced by dbaccess::ORowSetClone::getPropertySetInfo().
|
private |
Definition at line 1278 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::getValue(), dbaccess::ORowSetBase::isInsertRow(), dbaccess::ORowSetBase::m_nLastColumnIndex, and dbaccess::ORowSetBase::m_pCache.
Referenced by execute_NoApprove_NoNewConn(), getBoolean(), getByte(), getBytes(), getClob(), getDate(), getDouble(), getFloat(), getInt(), getLong(), getObject(), getShort(), getString(), getTime(), and getTimestamp().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1314 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getInt32(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1320 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getLong(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1388 of file RowSet.cxx.
References Any, getInsertValue(), dbaccess::ORowSetBase::m_pMutex, and connectivity::ORowSetValue::makeAny().
|
overridevirtual |
Definition at line 1476 of file RowSet.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, impl_disposeParametersContainer_nothrow(), impl_initComposer_throw(), m_aCommand, m_bCommandFacetsDirty, m_bParametersDirty, dbaccess::ORowSetBase::m_pMutex, and m_pParameters.
|
private |
Definition at line 2424 of file RowSet.cxx.
References impl_disposeParametersContainer_nothrow(), m_aParametersSet, m_aPrematureParamValues, m_bCommandFacetsDirty, m_pParameters, o3tl::make_unsigned(), and throwInvalidIndexException().
Referenced by clearParameters(), impl_prepareAndExecute_throw(), setBinaryStream(), setCharacterStream(), setNull(), setObjectWithInfo(), and setParameter().
|
overrideprivatevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 201 of file RowSet.cxx.
References PROPERTY_ID_APPLYFILTER, PROPERTY_ID_CANUPDATEINSERTEDROWS, PROPERTY_ID_COMMAND_TYPE, 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_MAXROWS, PROPERTY_ID_ORDER, PROPERTY_ID_RESULTSETCONCURRENCY, PROPERTY_ID_RESULTSETTYPE, PROPERTY_ID_UPDATE_CATALOGNAME, PROPERTY_ID_UPDATE_SCHEMANAME, and PROPERTY_ID_UPDATE_TABLENAME.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1394 of file RowSet.cxx.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1308 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getInt16(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1290 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getString(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Definition at line 442 of file RowSet.cxx.
References SERVICE_SDB_RESULTSET, SERVICE_SDB_ROWSET, SERVICE_SDBC_RESULTSET, SERVICE_SDBC_ROWSET, and SERVICE_SDBCX_RESULTSET.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1350 of file RowSet.cxx.
References getInsertValue(), connectivity::ORowSetValue::getTime(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1356 of file RowSet.cxx.
References connectivity::ORowSetValue::getDateTime(), getInsertValue(), and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2628 of file RowSet.cxx.
References Any, dbtools::WarningsContainer::getWarnings(), and m_aWarnings.
|
private |
builds m_aActiveCommand from our settings
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().
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().
|
private |
Definition at line 1611 of file RowSet.cxx.
References Any, dbtools::SQLExceptionInfo::createException(), DBA_RES, Exception, dbtools::SQLExceptionInfo::getLastException(), impl_initComposer_throw(), m_aActiveCommand, m_bCommandFacetsDirty, m_bUseEscapeProcessing, m_nMaxRows, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_nResultSetType, m_sErrorString, m_xActiveConnection, m_xComposer, m_xStatement, PROPERTY_MAXROWS(), PROPERTY_USEBOOKMARKS(), and setStatementResultSetType().
Referenced by impl_prepareAndExecute_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>
css::sdbc::SQLException | if retrieving or constructing the tables container goes wrong |
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().
|
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.
_out_rCommandToExecute | The 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
css::sdb::SQLException | if a database-related error occurred |
css::uno::RuntimeException | if 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().
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().
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().
|
private |
prepares and executes our command
Definition at line 1661 of file RowSet.cxx.
References composeTableName(), getParameterStorage(), connectivity::ORowSetValue::getTypeKind(), i, impl_ensureStatement_throw(), dbaccess::ORowSetBase::m_aContext, dbaccess::ORowSetBase::m_aCurrentRow, m_aFilter, dbaccess::ORowSetBase::m_aOldRow, m_aParameterValueForCache, m_aPrematureParamValues, m_aUpdateCatalogName, m_aUpdateSchemaName, m_aUpdateTableName, dbaccess::ORowSetBase::m_bIsInsertRow, m_bModified, m_bNew, m_bParametersDirty, m_nFetchSize, m_nMaxRows, m_nPrivileges, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_pCache, m_pParameters, m_xActiveConnection, m_xComposer, m_xStatement, connectivity::ORowSetValue::makeAny(), and SAL_INFO.
Referenced by execute_NoApprove_NoNewConn().
|
private |
Definition at line 2714 of file RowSet.cxx.
References m_aWarnings, dbaccess::ORowSetBase::m_pCache, m_xStatement, notifyAllListeners(), and dbtools::WarningsContainer::setExternalWarnings().
Referenced by updateRow().
|
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().
|
private |
Definition at line 1222 of file RowSet.cxx.
References Any, dbaccess::ORowSetBase::m_aDataColumns, m_aReadOnlyDataColumns, and PROPERTY_ISREADONLY().
Referenced by doCancelModification(), impl_setDataColumnsWriteable_throw(), and insertRow().
|
private |
Definition at line 1206 of file RowSet.cxx.
References Any, bReadOnly, impl_restoreDataColumnsWriteable_throw(), dbaccess::ORowSetBase::m_aDataColumns, m_aReadOnlyDataColumns, and PROPERTY_ISREADONLY().
Referenced by moveToInsertRow().
void dbaccess::ORowSet::implCancelRowUpdates | ( | bool | _bNotifyModified | ) |
Definition at line 996 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::Current, dbaccess::ORowSetBase::fireProperty(), dbaccess::ORowSetBase::firePropertyChange(), dbaccess::ORowSetCacheIterator::isNull(), dbaccess::ORowSetBase::m_aBookmark, dbaccess::ORowSetBase::m_aCurrentRow, dbaccess::ORowSetBase::m_bAfterLast, dbaccess::ORowSetBase::m_bBeforeFirst, dbaccess::ORowSetBase::m_bIsInsertRow, m_bModified, m_bNew, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, dbaccess::ORowSetBase::positionCache(), PROPERTY_ID_ISMODIFIED, dbaccess::ORowSetBase::rowDeleted(), and throwFunctionSequenceException().
Referenced by cancelRowUpdates(), and refreshRow().
|
overridevirtual |
Definition at line 827 of file RowSet.cxx.
References comphelper::containerToSequence(), dbaccess::ORowSetBase::fireProperty(), fireRowcount(), impl_restoreDataColumnsWriteable_throw(), dbaccess::ORowSetCacheIterator::isNull(), dbaccess::ORowSetBase::m_aCurrentRow, m_bInsertingRow, m_bModified, m_bNew, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, notifyAllListenersRowBeforeChange(), notifyAllListenersRowChanged(), PROPERTY_ID_ISMODIFIED, PROPERTY_ID_ISNEW, dbaccess::ORowSetBase::setCurrentRow(), and throwFunctionSequenceException().
|
overrideprivatevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2650 of file RowSet.cxx.
References isNew().
Referenced by doCancelModification().
|
virtual |
Implements dbaccess::ORowSetBase.
|
inline |
Definition at line 329 of file RowSetBase.hxx.
|
overrideprivatevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2655 of file RowSet.cxx.
References m_bModified.
|
virtual |
Implements dbaccess::ORowSetBase.
|
inline |
Definition at line 330 of file RowSetBase.hxx.
|
overrideprivatevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 2660 of file RowSet.cxx.
References m_bNew.
Referenced by isModification().
|
virtual |
Implements dbaccess::ORowSetBase.
|
inline |
Definition at line 331 of file RowSetBase.hxx.
|
overrideprivatevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2665 of file RowSet.cxx.
References m_bPropChangeNotifyEnabled.
|
overridevirtual |
Definition at line 1234 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkPositioningAllowed(), dbaccess::ORowSetBase::CurrentRefresh, DBA_RES, dbaccess::ORowSetNotifier::fire(), m_bModified, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, notifyAllListenersCursorBeforeMove(), notifyAllListenersCursorMoved(), dbaccess::ORowSetBase::positionCache(), and dbaccess::ORowSetBase::rowDeleted().
|
overridevirtual |
Definition at line 1146 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkPositioningAllowed(), dbaccess::ORowSetBase::Current, DBA_RES, dbaccess::ORowSetBase::fireProperty(), dbaccess::ORowSetBase::firePropertyChange(), fireRowcount(), dbaccess::ORowSetBase::Forward, impl_setDataColumnsWriteable_throw(), dbaccess::ORowSetBase::m_aCurrentRow, dbaccess::ORowSetBase::m_bAfterLast, dbaccess::ORowSetBase::m_bBeforeFirst, dbaccess::ORowSetBase::m_bIsInsertRow, m_bModified, m_bNew, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, notifyAllListenersCursorBeforeMove(), notifyAllListenersCursorMoved(), dbaccess::ORowSetBase::positionCache(), PROPERTY_ID_ISMODIFIED, PROPERTY_ID_ISNEW, dbaccess::ORowSetBase::rowDeleted(), and dbaccess::ORowSetBase::setCurrentRow().
|
private |
Definition at line 1057 of file RowSet.cxx.
References m_aRowsetListeners, dbaccess::ORowSetBase::m_pMySelf, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
Referenced by execute_NoApprove_NoNewConn(), and impl_rebuild_throw().
|
overrideprivatevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1081 of file RowSet.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::getElements(), m_aApproveListeners, and dbaccess::ORowSetBase::m_pMySelf.
Referenced by moveToCurrentRow(), and moveToInsertRow().
|
overrideprivatevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1065 of file RowSet.cxx.
References m_aRowsetListeners, dbaccess::ORowSetBase::m_pMySelf, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
Referenced by moveToCurrentRow(), and moveToInsertRow().
|
private |
Definition at line 1101 of file RowSet.cxx.
References comphelper::OInterfaceContainerHelper3< class ListenerT >::getElements(), and m_aApproveListeners.
Referenced by deleteRow(), deleteRows(), insertRow(), and updateRow().
|
private |
Definition at line 1073 of file RowSet.cxx.
References m_aRowsChangeListener, m_aRowsetListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach().
Referenced by deleteRow(), deleteRows(), insertRow(), and updateRow().
|
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().
|
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().
|
overridevirtual |
Definition at line 423 of file RowSet.cxx.
References Any, 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 >::queryAggregation(), and dbaccess::ORowSetBase::queryInterface().
|
overridevirtual |
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 2696 of file RowSet.cxx.
References dbaccess::ORowSetNotifier::fire(), implCancelRowUpdates(), m_bModified, dbaccess::ORowSetBase::m_pCache, and dbaccess::ORowSetBase::refreshRow().
|
overridevirtualnoexcept |
Definition at line 417 of file RowSet.cxx.
|
overridevirtual |
Definition at line 2045 of file RowSet.cxx.
References dbaccess::ORowSetBase::m_aColumnsMutex, m_aRowsChangeListener, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Definition at line 2026 of file RowSet.cxx.
References m_aApproveListeners, dbaccess::ORowSetBase::m_aColumnsMutex, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
|
overridevirtual |
Implements dbaccess::ORowSetBase.
Definition at line 1048 of file RowSet.cxx.
References dbaccess::ORowSetBase::m_aColumnsMutex, m_aRowsetListeners, and comphelper::OInterfaceContainerHelper3< class ListenerT >::removeInterface().
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().
|
overridevirtual |
Definition at line 2611 of file RowSet.cxx.
|
overridevirtual |
Definition at line 2535 of file RowSet.cxx.
References aData, Exception, cppu::getCaughtException(), getParameterStorage(), length, dbaccess::ORowSetBase::m_aColumnsMutex, m_bParametersDirty, and x.
|
overridevirtual |
Definition at line 2601 of file RowSet.cxx.
|
overridevirtual |
Definition at line 2475 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2480 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2515 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2555 of file RowSet.cxx.
References aData, Exception, cppu::getCaughtException(), getParameterStorage(), length, dbaccess::ORowSetBase::m_aColumnsMutex, m_bParametersDirty, connectivity::ORowSetValue::setTypeKind(), and x.
|
overridevirtual |
Definition at line 2606 of file RowSet.cxx.
|
overridevirtual |
Definition at line 2520 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2505 of file RowSet.cxx.
References setParameter(), and x.
|
overrideprivatevirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 253 of file RowSet.cxx.
References Any, cppu::any2bool(), Exception, fireRowcount(), m_aActiveConnection, m_aDataSourceName, m_aTypeMap, m_bCommandFacetsDirty, m_bModified, m_bOwnConnection, m_bPropChangeNotifyEnabled, m_bRebuildConnOnExecute, m_nFetchSize, dbaccess::ORowSetBase::m_nResultSetType, dbaccess::ORowSetBase::m_pCache, m_xStatement, m_xTypeMap, nHandle, PROPERTY_ID_ACTIVE_CONNECTION, PROPERTY_ID_APPLYFILTER, PROPERTY_ID_COMMAND, PROPERTY_ID_COMMAND_TYPE, PROPERTY_ID_DATASOURCENAME, PROPERTY_ID_FETCHDIRECTION, PROPERTY_ID_FETCHSIZE, PROPERTY_ID_FILTER, PROPERTY_ID_GROUP_BY, PROPERTY_ID_HAVING_CLAUSE, PROPERTY_ID_IGNORERESULT, PROPERTY_ID_ISMODIFIED, PROPERTY_ID_ORDER, PROPERTY_ID_PROPCHANGE_NOTIFY, PROPERTY_ID_TYPEMAP, PROPERTY_ID_URL, PROPERTY_ID_USER, setActiveConnection(), comphelper::OPropertyContainer::setFastPropertyValue(), and comphelper::OPropertyContainer::setFastPropertyValue_NoBroadcast().
Referenced by dbaccess::ORowSetClone::setFastPropertyValue_NoBroadcast().
|
overridevirtual |
Definition at line 2500 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2490 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2495 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2454 of file RowSet.cxx.
References getParameterStorage(), dbaccess::ORowSetBase::m_aColumnsMutex, m_bParametersDirty, and connectivity::ORowSetValue::setNull().
Referenced by setObjectNull().
|
overridevirtual |
Definition at line 2579 of file RowSet.cxx.
References m_bParametersDirty, and x.
Referenced by setObjectWithInfo().
|
overridevirtual |
Definition at line 2462 of file RowSet.cxx.
References setNull().
|
overridevirtual |
Definition at line 2588 of file RowSet.cxx.
References getParameterStorage(), dbaccess::ORowSetBase::m_aColumnsMutex, setObject(), connectivity::ORowSetValue::setTypeKind(), and x.
|
private |
Definition at line 2467 of file RowSet.cxx.
References getParameterStorage(), dbaccess::ORowSetBase::m_aColumnsMutex, m_bParametersDirty, and x.
Referenced by setBoolean(), setByte(), setBytes(), setDate(), setDouble(), setFloat(), setInt(), setLong(), setShort(), setString(), setTime(), and setTimestamp().
|
overridevirtual |
Definition at line 2596 of file RowSet.cxx.
|
overridevirtual |
Definition at line 2485 of file RowSet.cxx.
References setParameter(), and x.
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().
|
overridevirtual |
Definition at line 2510 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2525 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 2530 of file RowSet.cxx.
References setParameter(), and x.
|
overridevirtual |
Definition at line 437 of file RowSet.cxx.
References cppu::supportsService().
|
overridevirtual |
Definition at line 718 of file RowSet.cxx.
References aSeq, checkUpdateConditions(), checkUpdateIterator(), length, dbaccess::ORowSetBase::m_pMutex, updateValue(), and x.
|
overridevirtual |
Definition at line 658 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 663 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 698 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 733 of file RowSet.cxx.
References checkUpdateConditions(), checkUpdateIterator(), dbaccess::ORowSetNotifier::firePropertyChange(), dbaccess::ORowSetNotifier::getChangedColumns(), length, dbaccess::ORowSetBase::m_aCurrentRow, m_bModified, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, and x.
|
overridevirtual |
Definition at line 703 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 688 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 683 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 673 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 678 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 643 of file RowSet.cxx.
References checkUpdateConditions(), checkUpdateIterator(), dbaccess::ORowSetNotifier::firePropertyChange(), dbaccess::ORowSetNotifier::getChangedColumns(), dbaccess::ORowSetBase::m_aCurrentRow, m_bModified, dbaccess::ORowSetBase::m_pCache, and dbaccess::ORowSetBase::m_pMutex.
|
overridevirtual |
Definition at line 791 of file RowSet.cxx.
References checkUpdateConditions(), checkUpdateIterator(), dbaccess::ORowSetNotifier::firePropertyChange(), dbaccess::ORowSetNotifier::getChangedColumns(), dbaccess::ORowSetBase::m_aCurrentRow, m_bModified, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, and x.
|
overridevirtual |
Definition at line 746 of file RowSet.cxx.
References Any, checkUpdateConditions(), checkUpdateIterator(), dbaccess::ORowSetNotifier::firePropertyChange(), dbaccess::ORowSetNotifier::getChangedColumns(), dbaccess::ORowSetBase::m_aCurrentRow, m_bModified, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pColumns, dbaccess::ORowSetBase::m_pMutex, nValue, PROPERTY_TYPE(), dbtools::DBTypeConversion::toDate(), dbtools::DBTypeConversion::toDateTime(), dbtools::DBTypeConversion::toTime(), x, and xColumn.
|
overridevirtual |
Definition at line 886 of file RowSet.cxx.
References comphelper::containerToSequence(), DBA_RES, dbaccess::ORowSetBase::fireProperty(), dbaccess::ORowSetBase::firePropertyChange(), fireRowcount(), impl_rebuild_throw(), dbaccess::ORowSetCacheIterator::isNull(), dbaccess::ORowSetBase::m_aBookmark, dbaccess::ORowSetBase::m_aCurrentRow, dbaccess::ORowSetBase::m_aOldRow, dbaccess::ORowSetBase::m_bAfterLast, dbaccess::ORowSetBase::m_bIsInsertRow, m_bModified, m_bNew, dbaccess::ORowSetBase::m_nResultSetConcurrency, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, notifyAllListenersRowBeforeChange(), notifyAllListenersRowChanged(), PROPERTY_ID_ISMODIFIED, and throwFunctionSequenceException().
|
overridevirtual |
Definition at line 668 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 693 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 708 of file RowSet.cxx.
References updateValue(), and x.
|
overridevirtual |
Definition at line 713 of file RowSet.cxx.
References updateValue(), and x.
|
private |
Definition at line 627 of file RowSet.cxx.
References checkUpdateConditions(), checkUpdateIterator(), dbaccess::ORowSetNotifier::firePropertyChange(), dbaccess::ORowSetNotifier::getChangedColumns(), dbaccess::ORowSetBase::m_aCurrentRow, m_bModified, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, and x.
Referenced by updateBinaryStream(), updateBoolean(), updateByte(), updateBytes(), updateDate(), updateDouble(), updateFloat(), updateInt(), updateLong(), updateShort(), updateString(), updateTime(), and updateTimestamp().
|
overridevirtual |
Reimplemented from dbaccess::ORowSetBase.
Definition at line 1270 of file RowSet.cxx.
References dbaccess::ORowSetBase::checkCache(), dbaccess::ORowSetBase::isInsertRow(), dbaccess::ORowSetBase::m_nLastColumnIndex, dbaccess::ORowSetBase::m_pCache, dbaccess::ORowSetBase::m_pMutex, and dbaccess::ORowSetBase::wasNull().
|
friend |
Definition at line 74 of file RowSet.hxx.
Referenced by createResultSet().
|
private |
Definition at line 115 of file RowSet.hxx.
Referenced by impl_buildActiveCommand_throw(), impl_ensureStatement_throw(), impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 78 of file RowSet.hxx.
Referenced by disposing(), ORowSet(), dbaccess::ORowSetClone::ORowSetClone(), setActiveConnection(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 98 of file RowSet.hxx.
Referenced by addRowSetApproveListener(), approveExecution(), disposing(), notifyAllListenersCursorBeforeMove(), notifyAllListenersRowBeforeChange(), and removeRowSetApproveListener().
|
private |
Definition at line 85 of file RowSet.hxx.
Referenced by createResultSet(), freeResources(), notifyRowSetAndClonesRowDelete(), and notifyRowSetAndClonesRowDeleted().
|
private |
Definition at line 106 of file RowSet.hxx.
Referenced by getParameters(), impl_buildActiveCommand_throw(), impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 107 of file RowSet.hxx.
Referenced by calcConnection(), ORowSet(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 111 of file RowSet.hxx.
Referenced by impl_initComposer_throw(), impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 113 of file RowSet.hxx.
Referenced by impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 112 of file RowSet.hxx.
Referenced by impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 114 of file RowSet.hxx.
Referenced by impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 94 of file RowSet.hxx.
Referenced by clearParameters(), executeWithCompletion(), and getParameterStorage().
|
private |
Definition at line 93 of file RowSet.hxx.
Referenced by impl_prepareAndExecute_throw().
|
private |
Definition at line 110 of file RowSet.hxx.
Referenced by calcConnection(), and ORowSet().
|
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().
|
private |
Definition at line 95 of file RowSet.hxx.
Referenced by freeResources(), impl_restoreDataColumnsWriteable_throw(), and impl_setDataColumnsWriteable_throw().
|
private |
Definition at line 99 of file RowSet.hxx.
Referenced by addRowsChangeListener(), disposing(), notifyAllListenersRowChanged(), and removeRowsChangeListener().
|
private |
Definition at line 97 of file RowSet.hxx.
Referenced by addRowSetListener(), disposing(), notifyAllListeners(), notifyAllListenersCursorMoved(), notifyAllListenersRowChanged(), and removeRowSetListener().
|
private |
Definition at line 80 of file RowSet.hxx.
Referenced by ORowSet(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 116 of file RowSet.hxx.
Referenced by impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 117 of file RowSet.hxx.
Referenced by impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 118 of file RowSet.hxx.
Referenced by impl_buildActiveCommand_throw(), impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 108 of file RowSet.hxx.
Referenced by ORowSet().
|
private |
Definition at line 109 of file RowSet.hxx.
Referenced by calcConnection(), and ORowSet().
|
private |
Definition at line 101 of file RowSet.hxx.
Referenced by clearWarnings(), execute_NoApprove_NoNewConn(), freeResources(), getWarnings(), and impl_rebuild_throw().
|
private |
Definition at line 134 of file RowSet.hxx.
Referenced by impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 141 of file RowSet.hxx.
Referenced by ORowSet().
|
private |
Definition at line 135 of file RowSet.hxx.
Referenced by execute(), execute_NoApprove_NoNewConn(), executeWithCompletion(), freeResources(), getParameters(), getParameterStorage(), impl_ensureStatement_throw(), impl_initComposer_throw(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 131 of file RowSet.hxx.
Referenced by insertRow().
|
private |
Definition at line 139 of file RowSet.hxx.
Referenced by ORowSet().
|
private |
Definition at line 132 of file RowSet.hxx.
Referenced by fireRowcount(), and freeResources().
|
private |
Definition at line 137 of file RowSet.hxx.
Referenced by doCancelModification(), freeResources(), getFastPropertyValue(), impl_prepareAndExecute_throw(), implCancelRowUpdates(), insertRow(), isModified(), moveToCurrentRow(), moveToInsertRow(), ORowSet(), refreshRow(), setFastPropertyValue_NoBroadcast(), updateCharacterStream(), updateNull(), updateNumericObject(), updateObject(), updateRow(), and updateValue().
|
private |
Definition at line 140 of file RowSet.hxx.
Referenced by deleteRow(), freeResources(), getFastPropertyValue(), impl_prepareAndExecute_throw(), implCancelRowUpdates(), insertRow(), isNew(), moveToInsertRow(), ORowSet(), and updateRow().
|
private |
Definition at line 142 of file RowSet.hxx.
Referenced by calcConnection(), disposing(), setActiveConnection(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 136 of file RowSet.hxx.
Referenced by execute_NoApprove_NoNewConn(), getParameters(), impl_prepareAndExecute_throw(), setBinaryStream(), setCharacterStream(), setNull(), setObject(), and setParameter().
|
private |
Definition at line 143 of file RowSet.hxx.
Referenced by getFastPropertyValue(), isPropertyChangeNotificationEnabled(), ORowSet(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 138 of file RowSet.hxx.
Referenced by execute(), executeWithCompletion(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 133 of file RowSet.hxx.
Referenced by impl_buildActiveCommand_throw(), impl_ensureStatement_throw(), and ORowSet().
|
private |
Definition at line 126 of file RowSet.hxx.
Referenced by impl_buildActiveCommand_throw(), impl_initComposer_throw(), and ORowSet().
|
private |
Definition at line 121 of file RowSet.hxx.
Referenced by ORowSet().
|
private |
Definition at line 122 of file RowSet.hxx.
Referenced by impl_prepareAndExecute_throw(), ORowSet(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 130 of file RowSet.hxx.
Referenced by impl_getTables_throw().
|
private |
Definition at line 129 of file RowSet.hxx.
Referenced by fireRowcount(), and freeResources().
|
private |
Definition at line 123 of file RowSet.hxx.
Referenced by ORowSet().
|
private |
Definition at line 124 of file RowSet.hxx.
Referenced by impl_ensureStatement_throw(), impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 128 of file RowSet.hxx.
Referenced by impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 125 of file RowSet.hxx.
Referenced by ORowSet().
|
private |
Definition at line 127 of file RowSet.hxx.
Referenced by ORowSet().
|
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().
|
private |
Definition at line 119 of file RowSet.hxx.
Referenced by impl_ensureStatement_throw().
|
private |
Definition at line 77 of file RowSet.hxx.
Referenced by calcConnection(), disposing(), execute(), execute_NoApprove_NoNewConn(), executeWithCompletion(), getFastPropertyValue(), impl_buildActiveCommand_throw(), impl_ensureStatement_throw(), impl_getTables_throw(), impl_initComposer_throw(), impl_prepareAndExecute_throw(), ORowSet(), dbaccess::ORowSetClone::ORowSetClone(), setActiveConnection(), and setStatementResultSetType().
|
private |
Definition at line 83 of file RowSet.hxx.
Referenced by execute_NoApprove_NoNewConn(), freeResources(), and impl_initComposer_throw().
|
private |
Definition at line 82 of file RowSet.hxx.
Referenced by execute_NoApprove_NoNewConn(), freeResources(), impl_ensureStatement_throw(), impl_initComposer_throw(), impl_initParametersContainer_nothrow(), impl_prepareAndExecute_throw(), and ORowSet().
|
private |
Definition at line 76 of file RowSet.hxx.
Referenced by execute_NoApprove_NoNewConn(), and setActiveConnection().
|
private |
Definition at line 81 of file RowSet.hxx.
Referenced by createResultSet(), execute_NoApprove_NoNewConn(), freeResources(), impl_ensureStatement_throw(), impl_prepareAndExecute_throw(), impl_rebuild_throw(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 104 of file RowSet.hxx.
Referenced by impl_getTables_throw(), and impl_resetTables_nothrow().
|
private |
Definition at line 79 of file RowSet.hxx.
Referenced by freeResources(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().