Constructors' Summary |
Constructors' Details |
:: com :: sun :: star :: sdb ::
|
unpublished |
service DatabaseInteractionHandler |
|
|
- Supported Interface
- ::com::sun::star::task::XInteractionHandler2
|
- Usage Restrictions
- not published
- Description
- 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:
- database related errors
The general structure to transport such errors is the ::com::sun::star::sdbc::SQLException,
and if your interaction request supplies such a 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.
- parameter requests
If your interaction request supplies an ParametersRequest,
the handler will open a standard dialog asking the user to fill in parameter values.
In the case you want to use this feature of the handler, you should supply a special continuation
(XInteractionSupplyParameters) as well, so the
handler can return the entered information.
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.