:: com :: sun :: star :: sdb ::

interface XDatabaseContext
Base Interfaces
XDatabaseContext
┣ ::com::sun::star::container::XEnumerationAccess
┃ ┗ ::com::sun::star::container::XElementAccess
┣ ::com::sun::star::container::XNameAccess
┃ ┗ ::com::sun::star::container::XElementAccess
┣ ::com::sun::star::uno::XNamingService
┣ ::com::sun::star::container::XContainer
┣ ::com::sun::star::lang::XSingleServiceFactoryXDatabaseRegistrations

::com::sun::star::container::XEnumerationAccess
Description
Enumeration on all registered data sources.
::com::sun::star::container::XNameAccess
Description
NameAccess on all registered data sources.

One exception is the getByName, this method also allows to ask for a DatabaseLocation.

::com::sun::star::uno::XNamingService
Description
Interface for registering new datasources.
::com::sun::star::container::XContainer
Description
Interface for registering listener to get notified when new datasources are created or removed.
::com::sun::star::lang::XSingleServiceFactory
Description
Interface for creation of new datasources.
XDatabaseRegistrations
Description
allows to access and modify the configuration data for registered data source.

The main purpose of this interface is to allow you to register data sources which you know by URL only, and have not yet loaded.

Also, it hides the details of the configuration data where the data source registrations are maintained, so if possible at all, you should use this interface, instead of modifying or querying the configuration data directly.

Since
OOo 3.3
Description
Provides an interface for the new-style DatabaseContext service to implement.
Since
LibreOffice 4.0

Top of Page