LibreOffice Module connectivity (master) 1
Public Member Functions | List of all members
connectivity::ado::WpADOConnection Class Reference

#include <Awrapado.hxx>

Inheritance diagram for connectivity::ado::WpADOConnection:
[legend]
Collaboration diagram for connectivity::ado::WpADOConnection:
[legend]

Public Member Functions

 WpADOConnection ()=default
 
 WpADOConnection (const WpADOConnection &rhs)
 
WpADOConnectionoperator= (const WpADOConnection &rhs)
 
WpADOProperties get_Properties () const
 
OUString GetConnectionString () const
 
bool PutConnectionString (std::u16string_view aCon) const
 
sal_Int32 GetCommandTimeout () const
 
void PutCommandTimeout (sal_Int32 nRet)
 
sal_Int32 GetConnectionTimeout () const
 
void PutConnectionTimeout (sal_Int32 nRet)
 
bool Close ()
 
bool Execute (std::u16string_view CommandText, OLEVariant &RecordsAffected, long Options, WpADORecordset **ppiRset)
 
bool BeginTrans ()
 
bool CommitTrans ()
 
bool RollbackTrans ()
 
bool Open (std::u16string_view ConnectionString, std::u16string_view UserID, std::u16string_view Password, long Options)
 
bool GetErrors (ADOErrors **pErrors)
 
OUString GetDefaultDatabase () const
 
bool PutDefaultDatabase (std::u16string_view _bstr)
 
IsolationLevelEnum get_IsolationLevel () const
 
bool put_IsolationLevel (const IsolationLevelEnum &eNum)
 
sal_Int32 get_Attributes () const
 
bool put_Attributes (sal_Int32 nRet)
 
CursorLocationEnum get_CursorLocation () const
 
bool put_CursorLocation (const CursorLocationEnum &eNum)
 
ConnectModeEnum get_Mode () const
 
bool put_Mode (const ConnectModeEnum &eNum)
 
OUString get_Provider () const
 
bool put_Provider (std::u16string_view _bstr)
 
sal_Int32 get_State () const
 
bool OpenSchema (SchemaEnum eNum, OLEVariant const &Restrictions, OLEVariant const &SchemaID, ADORecordset **pprset)
 
OUString get_Version () const
 
ADORecordset * getExportedKeys (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
 
ADORecordset * getImportedKeys (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
 
ADORecordset * getPrimaryKeys (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table)
 
ADORecordset * getIndexInfo (const css::uno::Any &catalog, const OUString &schema, std::u16string_view table, bool unique, bool approximate)
 
ADORecordset * getTablePrivileges (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern)
 
ADORecordset * getCrossReference (const css::uno::Any &primaryCatalog, const OUString &primarySchema, std::u16string_view primaryTable, const css::uno::Any &foreignCatalog, const OUString &foreignSchema, std::u16string_view foreignTable)
 
ADORecordset * getProcedures (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern)
 
ADORecordset * getProcedureColumns (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view procedureNamePattern, std::u16string_view columnNamePattern)
 
ADORecordset * getTables (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, const css::uno::Sequence< OUString > &types)
 
ADORecordset * getColumns (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view tableNamePattern, std::u16string_view columnNamePattern)
 
ADORecordset * getColumnPrivileges (const css::uno::Any &catalog, const OUString &schemaPattern, std::u16string_view table, std::u16string_view columnNamePattern)
 
ADORecordset * getTypeInfo (DataTypeEnum _eType=adEmpty)
 
- Public Member Functions inherited from connectivity::ado::WpOLEBase< ADOConnection >
 WpOLEBase (ADOConnection *pInt=nullptr)
 
 WpOLEBase (const WpOLEBase< ADOConnection > &aWrapper)
 
WpOLEBase< ADOConnection > & operator= (const WpOLEBase< ADOConnection > &rhs)
 
 operator ADOConnection * () const
 
ADOConnection ** operator& ()
 
bool IsValid () const
 
void set (ADOConnection *p)
 
void clear ()
 

Additional Inherited Members

- Protected Attributes inherited from connectivity::ado::WpOLEBase< ADOConnection >
sal::systools::COMReference< ADOConnection > pInterface
 

Detailed Description

Definition at line 49 of file Awrapado.hxx.

Constructor & Destructor Documentation

◆ WpADOConnection() [1/2]

connectivity::ado::WpADOConnection::WpADOConnection ( )
default

◆ WpADOConnection() [2/2]

connectivity::ado::WpADOConnection::WpADOConnection ( const WpADOConnection rhs)
inline

Definition at line 55 of file Awrapado.hxx.

Member Function Documentation

◆ BeginTrans()

bool WpADOConnection::BeginTrans ( )

◆ Close()

bool WpADOConnection::Close ( )

◆ CommitTrans()

bool WpADOConnection::CommitTrans ( )

◆ Execute()

bool WpADOConnection::Execute ( std::u16string_view  CommandText,
OLEVariant RecordsAffected,
long  Options,
WpADORecordset **  ppiRset 
)

◆ get_Attributes()

sal_Int32 WpADOConnection::get_Attributes ( ) const

◆ get_CursorLocation()

CursorLocationEnum WpADOConnection::get_CursorLocation ( ) const

◆ get_IsolationLevel()

IsolationLevelEnum WpADOConnection::get_IsolationLevel ( ) const

◆ get_Mode()

ConnectModeEnum WpADOConnection::get_Mode ( ) const

◆ get_Properties()

WpADOProperties WpADOConnection::get_Properties ( ) const

◆ get_Provider()

OUString WpADOConnection::get_Provider ( ) const

◆ get_State()

sal_Int32 WpADOConnection::get_State ( ) const

◆ get_Version()

OUString WpADOConnection::get_Version ( ) const

◆ getColumnPrivileges()

ADORecordset * WpADOConnection::getColumnPrivileges ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  table,
std::u16string_view  columnNamePattern 
)

◆ getColumns()

ADORecordset * WpADOConnection::getColumns ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  tableNamePattern,
std::u16string_view  columnNamePattern 
)

◆ GetCommandTimeout()

sal_Int32 WpADOConnection::GetCommandTimeout ( ) const

◆ GetConnectionString()

OUString WpADOConnection::GetConnectionString ( ) const

◆ GetConnectionTimeout()

sal_Int32 WpADOConnection::GetConnectionTimeout ( ) const

◆ getCrossReference()

ADORecordset * WpADOConnection::getCrossReference ( const css::uno::Any &  primaryCatalog,
const OUString &  primarySchema,
std::u16string_view  primaryTable,
const css::uno::Any &  foreignCatalog,
const OUString &  foreignSchema,
std::u16string_view  foreignTable 
)

◆ GetDefaultDatabase()

OUString WpADOConnection::GetDefaultDatabase ( ) const

◆ GetErrors()

bool WpADOConnection::GetErrors ( ADOErrors **  pErrors)

◆ getExportedKeys()

ADORecordset * WpADOConnection::getExportedKeys ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table 
)

◆ getImportedKeys()

ADORecordset * WpADOConnection::getImportedKeys ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table 
)

◆ getIndexInfo()

ADORecordset * WpADOConnection::getIndexInfo ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table,
bool  unique,
bool  approximate 
)

◆ getPrimaryKeys()

ADORecordset * WpADOConnection::getPrimaryKeys ( const css::uno::Any &  catalog,
const OUString &  schema,
std::u16string_view  table 
)

◆ getProcedureColumns()

ADORecordset * WpADOConnection::getProcedureColumns ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  procedureNamePattern,
std::u16string_view  columnNamePattern 
)

◆ getProcedures()

ADORecordset * WpADOConnection::getProcedures ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  procedureNamePattern 
)

◆ getTablePrivileges()

ADORecordset * WpADOConnection::getTablePrivileges ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  tableNamePattern 
)

◆ getTables()

ADORecordset * WpADOConnection::getTables ( const css::uno::Any &  catalog,
const OUString &  schemaPattern,
std::u16string_view  tableNamePattern,
const css::uno::Sequence< OUString > &  types 
)

◆ getTypeInfo()

ADORecordset * WpADOConnection::getTypeInfo ( DataTypeEnum  _eType = adEmpty)

◆ Open()

bool WpADOConnection::Open ( std::u16string_view  ConnectionString,
std::u16string_view  UserID,
std::u16string_view  Password,
long  Options 
)

◆ OpenSchema()

bool WpADOConnection::OpenSchema ( SchemaEnum  eNum,
OLEVariant const &  Restrictions,
OLEVariant const &  SchemaID,
ADORecordset **  pprset 
)

◆ operator=()

WpADOConnection & connectivity::ado::WpADOConnection::operator= ( const WpADOConnection rhs)
inline

Definition at line 57 of file Awrapado.hxx.

References connectivity::ado::WpOLEBase< T >::operator=().

◆ put_Attributes()

bool WpADOConnection::put_Attributes ( sal_Int32  nRet)

◆ put_CursorLocation()

bool WpADOConnection::put_CursorLocation ( const CursorLocationEnum &  eNum)

◆ put_IsolationLevel()

bool WpADOConnection::put_IsolationLevel ( const IsolationLevelEnum &  eNum)

◆ put_Mode()

bool WpADOConnection::put_Mode ( const ConnectModeEnum &  eNum)

◆ put_Provider()

bool WpADOConnection::put_Provider ( std::u16string_view  _bstr)

◆ PutCommandTimeout()

void WpADOConnection::PutCommandTimeout ( sal_Int32  nRet)

◆ PutConnectionString()

bool WpADOConnection::PutConnectionString ( std::u16string_view  aCon) const

◆ PutConnectionTimeout()

void WpADOConnection::PutConnectionTimeout ( sal_Int32  nRet)

◆ PutDefaultDatabase()

bool WpADOConnection::PutDefaultDatabase ( std::u16string_view  _bstr)

◆ RollbackTrans()

bool WpADOConnection::RollbackTrans ( )

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