LibreOffice
LibreOffice 24.2 SDK API Reference
|
Provides functionality relating to common and supported entities for a configuration data backend. More...
import"XBackendEntities.idl";
Public Member Functions | |
string | getOwnerEntity () |
provides the entity id of the owner entity of the backend. More... | |
string | getAdminEntity () |
provides the entity id of an entity for general administrative access. More... | |
boolean | supportsEntity ([in] string aEntity) raises ( BackendAccessException ) |
determines, if a given entity id exists in this backend. More... | |
boolean | isEqualEntity ([in] string aEntity, [in] string aOtherEntity) raises ( BackendAccessException, com::sun::star::lang::IllegalArgumentException) |
determines, if two given entity ids denote the same entity. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Provides functionality relating to common and supported entities for a configuration data backend.
string getAdminEntity | ( | ) |
provides the entity id of an entity for general administrative access.
The admin entity is an entity that should be used to read and manage configuration data that applies to all entities within the backend.
string getOwnerEntity | ( | ) |
provides the entity id of the owner entity of the backend.
The owner entity is the default entity for the backend. For normal configuration data access the owner entity should always be used.
boolean isEqualEntity | ( | [in] string | aEntity, |
[in] string | aOtherEntity | ||
) | |||
raises | ( | BackendAccessException, | |
com::sun::star::lang::IllegalArgumentException | |||
) |
determines, if two given entity ids denote the same entity.
aEntity | The name of an entity. |
aOtherEntity | The name of another entity. |
TRUE
, if aEntity and aOtherEntity denote the same entity within this backend, FALSE
otherwise.com::sun::star::configuration::backend::BackendAccessException | if an error occurs while accessing the backend. |
com::sun::star::lang::IllegalArgumentException | if either entity does not exist. |
boolean supportsEntity | ( | [in] string | aEntity | ) | |
raises | ( | BackendAccessException | |||
) |
determines, if a given entity id exists in this backend.
aEntity | The name of an entity. |
com::sun::star::configuration::backend::BackendAccessException | if an error occurs while accessing the backend. |
TRUE
, if aEntity is a valid, existing entity for this backend, FALSE
otherwise.