Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: configuration :: backend ::
interface XBackendEntities
Description Provides functionality relating to common and supported entities for a configuration data backend. Since OOo 1.1.2 See also XBackend, XMultiLayerStratum

Methods' Summary
getOwnerEntity | provides the entity id of the owner entity of the backend.
getAdminEntity | provides the entity id of an entity for general administrative access.
supportsEntity | determines, if a given entity id exists in this backend.
isEqualEntity | determines, if two given entity ids denote the same entity.

Methods' Details
getOwnerEntity
string
getOwnerEntity();
Description provides the entity id of the owner entity of the backend. Returns an entity identifier for the owner entity. The owner entity is the default entity for the backend. For normal configuration data access the owner entity should always be used. See also XBackend::listOwnLayers(), XBackend::getOwnUpdateHandler()
getAdminEntity
string
getAdminEntity();
Description 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. Returns an entity identifier for the admin entity or an empty string, if there is no entity that can be used for general administrative access.
supportsEntity
boolean
supportsEntity( | [in] string | aEntity )
raises( | BackendAccessException );
Description determines, if a given entity id exists in this backend. Parameter aEntity The name of an entity. Throws com::sun::star::configuration::backend::BackendAccessException if an error occurs while accessing the backend. Returns true, if aEntity is a valid, existing entity for this backend, false otherwise.
isEqualEntity
boolean
isEqualEntity( | [in] string | aEntity,
| [in] string | aOtherEntity )
raises( | BackendAccessException, ::com::sun::star::lang::IllegalArgumentException );
Description determines, if two given entity ids denote the same entity. Parameter aEntity The name of an entity. Parameter aOtherEntity The name of another entity. Returns true, if aEntity and aOtherEntity denote the same entity within this backend, false otherwise. Throws com::sun::star::configuration::backend::BackendAccessException if an error occurs while accessing the backend. Throws com::sun::star::lang::IllegalArgumentException if either entity does not exist.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.