LibreOffice
LibreOffice 24.2 SDK API Reference
|
is a factory to create data access beans. More...
import"DatabaseAccessDataSource.idl";
Exported Interfaces | |
interface | com::sun::star::beans::XPropertySet |
interface | com::sun::star::sdbc::XDataSource |
interface | XCompletedConnection |
is optional for implementation. More... | |
Public Attributes | |
string | URL |
locates the database access bean. More... | |
com::sun::star::ucb::RememberAuthentication | PasswordMode |
determines the password handling. More... | |
Additional Inherited Members | |
![]() | |
com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
sets the value of the property with the specified name. More... | |
any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XPropertyChangeListener to the specified property. More... | |
void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XPropertyChangeListener from the listener list. More... | |
void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
adds an XVetoableChangeListener to the specified property with the name PropertyName. More... | |
void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
removes an XVetoableChangeListener from the listener list. More... | |
![]() | |
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... | |
![]() | |
XConnection | getConnection ([in]string user, [in]string password) raises (SQLException) |
attempts to establish a database connection. More... | |
void | setLoginTimeout ([in]long seconds) raises (SQLException) |
sets the maximum time in seconds that this data source will wait while attempting to connect to a database. More... | |
long | getLoginTimeout () raises (SQLException) |
gets the maximum time in seconds that this data source can wait while attempting to connect to a database. More... | |
![]() | |
com::sun::star::sdbc::XConnection | connectWithCompletion ([in]com::sun::star::task::XInteractionHandler handler) raises (com::sun::star::sdbc::SQLException) |
attempts to establish a database connection. More... | |
is a factory to create data access beans.
Data access beans are shared among components, so if an already existing bean is requested, the existing one is returned.
interface com::sun::star::beans::XPropertySet |
interface com::sun::star::sdbc::XDataSource |
|
optional |
is optional for implementation.
|
optionalproperty |
determines the password handling.
|
property |
locates the database access bean.