LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XDataDefinitionSupplier Interface Referencepublished

provides the access to data definition beans from a connected database. More...

import"XDataDefinitionSupplier.idl";

Inheritance diagram for XDataDefinitionSupplier:
XInterface Driver

Public Member Functions

XTablesSupplier getDataDefinitionByConnection ([in]com::sun::star::sdbc::XConnection connection) raises (com::sun::star::sdbc::SQLException)
 returns at least the container of tables related to the given connection. More...
 
XTablesSupplier getDataDefinitionByURL ([in]string url, [in]sequence< com::sun::star::beans::PropertyValue > info) raises (com::sun::star::sdbc::SQLException)
 returns at least the container of tables related to the given Database URL. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

provides the access to data definition beans from a connected database.

Member Function Documentation

◆ getDataDefinitionByConnection()

XTablesSupplier getDataDefinitionByConnection ( [in] com::sun::star::sdbc::XConnection  connection)
raises (com::sun::star::sdbc::SQLException
)

returns at least the container of tables related to the given connection.

Parameters
connectionthe related connection
Returns
the container
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ getDataDefinitionByURL()

XTablesSupplier getDataDefinitionByURL ( [in] string  url,
[in] sequence< com::sun::star::beans::PropertyValue info 
)
raises (com::sun::star::sdbc::SQLException
)

returns at least the container of tables related to the given Database URL.

Parameters
urla database url of the form sdbc:subprotocol:subname
infoa list of arbitrary string tag/value pairs as connection arguments; normally at least a "user" and "password" property should be included
Returns
the container
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

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