Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: configuration ::
service ConfigurationUpdateAccess
Description provides modifying access to a fragment of the configuration hierarchy. Extends ConfigurationAccess to support modifying values or inserting and removing elements. Descendants of this service also implement this service unless they are marked read-only (which is indicated by attribute PropertyAttribute::READONLY ), in which case they only need implement ConfigurationAccess . The classification of implementations that is described for ConfigurationAccess applies to implementations of this service as well. Therefore an implementation will support one of several alternate services describing its Container role and one of several alternate services describing its Element role. These services are extensions of the respective services documented for ConfigurationAccess . Container role: A group permits changing child values. A set permits inserting and removing contained elements. Element role: The root element of a modifiable tree provides extended functionality to control processing of changes for the entire tree (fragment) by supporting ::com::sun::star::util::XChangesBatch . For elements of a set or a group no additinal interfaces are supported. See also ConfigurationProvider Root instances of this service can be requested from a ConfigurationProvider Developers Guide 4.7.4 Writing UNO Components - Integrating Components into OpenOffice.org - Disable Commands - Disabling Commands at Runtime 15.2 Configuration Management - Object Model 15.4.2 Configuration Management - Accessing Configuration Data - Updating Configuration Data

Included Services
ConfigurationAccess | Description is the basic service providing read access to an element of the configuration hierarchy and its child and descendent elements. The HierarchyAccess specialization implemented will be further specialized to support modifying access. Implementations shall therefore implement one of SetUpdate or GroupUpdate depending on the Container role. If the HierarchyElement specialization that is implemented is AccessRootElement , the implementation must support the extended functionality of UpdateRootElement . Otherwise, there are no new requirements mandated by the Element role.
SetUpdate | [ OPTIONAL ] Description specializes SetAccess to support modifying the element. Implemented, if this element is a Set . Otherwise service GroupUpdate is provided.
GroupUpdate | [ OPTIONAL ] Description specializes GroupAccess to support modifying contained data. Implemented, if this element is a Group . Otherwise service SetUpdate is provided.
UpdateRootElement | [ OPTIONAL ] Description specializes AccessRootElement to support transaction-like control over a batch of changes accumulated within the tree fragment. Implemented, if this element is the Root of the whole hierarchy. Otherwise either SetElement or GroupElement is provided. See also ConfigurationProvider Instances obtained from a ConfigurationProvider will implement this version of HierarchyElement .

Top of Page

Copyright © 2003 Sun Microsystems, Inc.