Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: configuration ::

service GroupUpdate
Description
provides write access to a predefined heterogeneous group of values and nested trees as part of a hierarchy.

This service extends GroupAccess to support modifying values.


Included Services - Summary
GroupAccess

is the basic service providing read access to a group element of the hierarchy. (details)

Exported Interfaces - Summary
::com::sun::star::container::XNameReplace

allows replacing values. (details)

Included Services - Details
GroupAccess
Description
is the basic service providing read access to a group element of the hierarchy.

Any child and descendant objects support modifying access as well, unless they represent a read-only tree element as indicated by PropertyAttribute::READONLY.

Exported Interfaces - Details
::com::sun::star::container::XNameReplace
Description
allows replacing values.

This service extends the interface ::com::sun::star::container::XNameAccess supported by service GroupAccess to allow changing values. This strongly overlaps with functionality available through PropertyHierarchy (from GroupAccess), so that xGroup.setPropertyValue( aName, aValue ) is equivalent to xGroup.replaceByName( aName, aValue ).

Changes can be observed by registering a listener with interface ::com::sun::star::beans::XPropertySet or ::com::sun::star::beans::XMultiPropertySet.

Elements of this group may be replaced only if they are of simple type. The type returned by ::com::sun::star::container::XElementAccess::getElementType() must not be an interface type. Replacing whole subtrees is not supported.


 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.