Language
The Free and Open Productivity Suite
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
- 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
- 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
- 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
- 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 © 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.