Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: sdb ::
unpublished
interface XDatabaseRegistrations
Usage Restrictions
not published
Description
provides access to the application-wide registered databases.
This interface provides a mere wrapper around the respective configuration data,
this way hiding the concrete configuration structure from its clients. You should,
if possible at all, use this interface, instead of modifying or querying the configuration
data directly.
Since
OOo 3.3
Methods' Details
hasRegisteredDatabase
Description
determines whether a database is registered under the given name.
Throws
::com::sun::star::lang::IllegalArgumentException
if the given name is empty
getRegistrationNames
sequence< string >
getRegistrationNames ();
Description
returns the names of all registered databases
getDatabaseLocation
Description
returns the location of the database registered under the given name
Throws
::com::sun::star::lang::IllegalArgumentException
if the given name is empty
Throws
::com::sun::star::container::NoSuchElementException
if there is no database registered under this name
registerDatabaseLocation
Description
registers a database, given by location, under a given name
Throws
::com::sun::star::lang::IllegalArgumentException
if the given name is empty, or the given location is invalid.
Throws
::com::sun::star::container::ElementExistException
if there already is a databases registered under the given name.
revokeDatabaseLocation
Description
revokes the registration of a database, given by name
Throws
::com::sun::star::lang::IllegalArgumentException
if the given name is empty
Throws
::com::sun::star::container::NoSuchElementException
if there is no database registered under this name
Throws
::com::sun::star::lang::IllegalAccessException
if the registration data for this database is read-only
changeDatabaseLocation
Description
changes the location of a given database registration
Throws
::com::sun::star::lang::IllegalArgumentException
if the given name is empty, or the given location is invalid.
Throws
::com::sun::star::container::NoSuchElementException
if there is no database registered under this name
Throws
::com::sun::star::lang::IllegalAccessException
if the registration data for this database is read-only
isDatabaseRegistrationReadOnly
Description
determines whether the registration data for a database given by name is
read-only.
In this case, attempts to revoke this registration will fail.
Throws
::com::sun::star::lang::IllegalArgumentException
if the given name is empty
Throws
::com::sun::star::container::NoSuchElementException
if there is no database registered under this name
addDatabaseRegistrationsListener
Description
registers a listener which is notified of changes in the registered databases
removeDatabaseRegistrationsListener
Description
revokes a previously registered listener
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.