<html> <head> <title>Service SetUpdate</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="SetUpdate-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#IncludedServices" class="navisub">Included Services</a></td> <td class="navisub">Exported Interfaces</td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">configuration</a> :: </p> </td> </tr> <tr> <td class="title">service SetUpdate</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>provides write access to a dynamic homogeneous set of values or nested trees within a hierarchy. </dd> <dd><p>Allows adding and removing elements. Helps creates new elements to be added. </p> <p>This service extends <a href="SetAccess.html">SetAccess</a> to support modifying the container. </p> <p>Any child and descendant objects support modifying access as well, unless they represent a read-only tree element (as indicated by <b>PropertyAttribute::READONLY</b>). </p> </dd> </dl> </td> </tr> </table> <hr> <a name="IncludedServices"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services</td> </tr> <tr> <td class="imsum_left"><a href="SetAccess.html">SetAccess</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>is the basic service providing read access to a <em>set</em> within the hierarchy. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="SimpleSetUpdate.html">SimpleSetUpdate</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>is the basic service providing modifying access to a not necessarily hierarchical <em>set</em>. </dd> <dd><p>Changes can be observed by registering a listener with interface ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XContainer.html">XContainer</a>. </p> <p>If the elements of this set are of object type, new elements are constructed to match the tree structure prescribed by the element template of this set, when using interfaces ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XSingleServiceFactory.html">XSingleServiceFactory</a> and (if supported) ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XMultiServiceFactory.html">XMultiServiceFactory</a>. </p> <p>Objects that are removed from a set can be reinserted into any set supporting the same template within the same hierarchy. Even under a different name. </p> <p>Implementations that support insertion of objects that weren't obtained from within the hierarchy must reject elements that don't have the correct structure as described by the template, even if the object returns the correct template name from <a href="XTemplateInstance.html">XTemplateInstance</a>::<a href="XTemplateInstance.html#getTemplateName">getTemplateName()</a>. </p> <p>Other ways in which an element may be moved among or within compatible sets include ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</a>::<a href="../container/XChild.html#setParent">setParent()</a> and ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNamed.html">XNamed</a>::<a href="../container/XNamed.html#setName">setName()</a>, if the element implements them. </p> </dd> <dt><b/></dt> <dd/></dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>