Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

deprecated service DatabaseAccessContext
Usage Restrictions
deprecated
Description
is the context for data access beans. It allows to register aliases for database access beans. It is possible to have different aliases for different locales.

A DatabaseContext stores an alias for the URL of a database access component for a given locale. It is also allowed to work with a default locale. This is useful in connection with Enumeration or NameAccess to the context. In common use, the default language is set during the initialization of the component.

The service also provides a default handling for locales, where an alias isn't set. The first time an alias is registered for a programmatic name, the alias becomes the default for all other known locales.

See also
::com::sun::star::util::XLocalizedAliases

Exported Interfaces - Summary
::com::sun::star::container::XEnumerationAccess

Enumeration on all registered data sources for a default locale.

::com::sun::star::container::XNameAccess

NameAccess on all registered data sources for a default locale.

::com::sun::star::util::XLocalizedAliases

Interface for registering aliases for data sources.

::com::sun::star::lang::XLocalizable

Interface for setting and retrieving the default language.

Exported Interfaces - Details
::com::sun::star::container::XEnumerationAccess
Description
Enumeration on all registered data sources for a default locale.
::com::sun::star::container::XNameAccess
Description
NameAccess on all registered data sources for a default locale.
::com::sun::star::util::XLocalizedAliases
Description
Interface for registering aliases for data sources.
::com::sun::star::lang::XLocalizable
Description
Interface for setting and retrieving the default language.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.