(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.