LibreOffice
LibreOffice 24.2 SDK API Reference
|
describes a service which is able to handle database-related interactions. More...
import"DatabaseInteractionHandler.idl";
Additional Inherited Members | |
Public Member Functions inherited from XInteractionHandler2 | |
boolean | handleInteractionRequest ([in] com::sun::star::task::XInteractionRequest Request) |
Handle an interaction request. More... | |
Public Member Functions inherited from XInteractionHandler | |
void | handle ([in] com::sun::star::task::XInteractionRequest Request) |
Handle an interaction request. 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... | |
describes a service which is able to handle database-related interactions.
Usually, you will not instantiate this service directly. Instead, you'll instantiate a generic com::sun::star::task::InteractionHandler service, and pass it your request. Based on configuration data, this implementation will decide where to forward the request to.
By default, the DatabaseInteractionHandler
feels responsible (as per configuration) for the following interaction types:
SQLException
(or an instance of any derived class), the handler will display a generic error dialog, which is able to travel the object chain which may be contained in the exception.