LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Attributes | List of all members
dbaui::OParameterUpdateHelper Class Reference

#include <UpdateHelperImpl.hxx>

Inheritance diagram for dbaui::OParameterUpdateHelper:
[legend]
Collaboration diagram for dbaui::OParameterUpdateHelper:
[legend]

Public Member Functions

 OParameterUpdateHelper (const css::uno::Reference< css::sdbc::XPreparedStatement > &_xPrepared)
 
virtual ~OParameterUpdateHelper ()
 
virtual void updateString (sal_Int32 _nPos, const OUString &_sValue) override
 
virtual void updateDouble (sal_Int32 _nPos, const double &_nValue) override
 
virtual void updateDate (sal_Int32 _nPos, const css::util::Date &_nValue) override
 
virtual void updateTime (sal_Int32 _nPos, const css::util::Time &_nValue) override
 
virtual void updateTimestamp (sal_Int32 _nPos, const css::util::DateTime &_nValue) override
 
virtual void updateInt (sal_Int32 _nPos, sal_Int32 _nValue) override
 
virtual void updateNull (sal_Int32 _nPos, ::sal_Int32 sqlType) override
 
virtual void insertRow () override
 
virtual void updateString (sal_Int32 _nPos, const OUString &_sValue)=0
 
virtual void updateDouble (sal_Int32 _nPos, const double &_nValue)=0
 
virtual void updateInt (sal_Int32 _nPos, sal_Int32 _nValue)=0
 
virtual void updateNull (sal_Int32 _nPos, ::sal_Int32 sqlType)=0
 
virtual void updateDate (sal_Int32 _nPos, const css::util::Date &_nValue)=0
 
virtual void updateTime (sal_Int32 _nPos, const css::util::Time &_nValue)=0
 
virtual void updateTimestamp (sal_Int32 _nPos, const css::util::DateTime &_nValue)=0
 
virtual void insertRow ()=0
 

Private Attributes

css::uno::Reference< css::sdbc::XPreparedStatement > m_xPrepared
 
css::uno::Reference< css::sdbc::XParameters > m_xParameters
 

Additional Inherited Members

- Protected Member Functions inherited from dbaui::IUpdateHelper
 ~IUpdateHelper ()
 

Detailed Description

Definition at line 27 of file UpdateHelperImpl.hxx.

Constructor & Destructor Documentation

◆ OParameterUpdateHelper()

dbaui::OParameterUpdateHelper::OParameterUpdateHelper ( const css::uno::Reference< css::sdbc::XPreparedStatement > &  _xPrepared)
inlineexplicit

Definition at line 33 of file UpdateHelperImpl.hxx.

◆ ~OParameterUpdateHelper()

virtual dbaui::OParameterUpdateHelper::~OParameterUpdateHelper ( )
inlinevirtual

Definition at line 38 of file UpdateHelperImpl.hxx.

Member Function Documentation

◆ insertRow()

virtual void dbaui::OParameterUpdateHelper::insertRow ( )
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 67 of file UpdateHelperImpl.hxx.

References m_xPrepared.

◆ updateDate()

virtual void dbaui::OParameterUpdateHelper::updateDate ( sal_Int32  _nPos,
const css::util::Date &  _nValue 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 47 of file UpdateHelperImpl.hxx.

References _nPos, _nValue, and m_xParameters.

◆ updateDouble()

virtual void dbaui::OParameterUpdateHelper::updateDouble ( sal_Int32  _nPos,
const double &  _nValue 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 43 of file UpdateHelperImpl.hxx.

References _nPos, _nValue, and m_xParameters.

◆ updateInt()

virtual void dbaui::OParameterUpdateHelper::updateInt ( sal_Int32  _nPos,
sal_Int32  _nValue 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 59 of file UpdateHelperImpl.hxx.

References _nPos, _nValue, and m_xParameters.

◆ updateNull()

virtual void dbaui::OParameterUpdateHelper::updateNull ( sal_Int32  _nPos,
::sal_Int32  sqlType 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 63 of file UpdateHelperImpl.hxx.

References _nPos, and m_xParameters.

◆ updateString()

virtual void dbaui::OParameterUpdateHelper::updateString ( sal_Int32  _nPos,
const OUString &  _sValue 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 39 of file UpdateHelperImpl.hxx.

References _nPos, and m_xParameters.

◆ updateTime()

virtual void dbaui::OParameterUpdateHelper::updateTime ( sal_Int32  _nPos,
const css::util::Time &  _nValue 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 51 of file UpdateHelperImpl.hxx.

References _nPos, _nValue, and m_xParameters.

◆ updateTimestamp()

virtual void dbaui::OParameterUpdateHelper::updateTimestamp ( sal_Int32  _nPos,
const css::util::DateTime &  _nValue 
)
inlineoverridevirtual

Implements dbaui::IUpdateHelper.

Definition at line 55 of file UpdateHelperImpl.hxx.

References _nPos, _nValue, and m_xParameters.

Member Data Documentation

◆ m_xParameters

css::uno::Reference< css::sdbc::XParameters > dbaui::OParameterUpdateHelper::m_xParameters
private

◆ m_xPrepared

css::uno::Reference< css::sdbc::XPreparedStatement > dbaui::OParameterUpdateHelper::m_xPrepared
private

Definition at line 29 of file UpdateHelperImpl.hxx.

Referenced by insertRow().


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