<html> <head> <title>Service HierarchyDataReadWriteAccess</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="HierarchyDataReadWriteAccess-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"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></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">ucb</a> :: </p> </td> </tr> <tr> <td class="title">service HierarchyDataReadWriteAccess</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>provides read and write access to a fragment of the hierarchy data. </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="HierarchyDataReadAccess.html">HierarchyDataReadAccess</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>provides read access to a fragment of the hierarchy data </dd> </dl> </td> </tr> </table> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNameContainer.html">XNameContainer</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>allows adding and removing of hierarchy data nodes, replacing of the value of hierarchy data node members, as well as obtaining the value of hieryrchy data node members. </dd> <dd><p>Adding and removing must only be supported if the access object points to the "Children" data member of a node or to the root node. It will insert a new node or or remove an existing one. If supported on data nodes, adding must add new data members to the node, removing must remove data members. However, the mandatory data members (Title, TargetURL, Children) must never be removable. <p>Replacing and getting values must be supported be every data node. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XSingleServiceFactory.html">XSingleServiceFactory</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>gives access to all contents provided by this provider. </dd> <dd><p>::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XSingleServiceFactory.html">XSingleServiceFactory</a>::<a href="../lang/XSingleServiceFactory.html#createInstance">createInstance</a> will create a new empty hierarchy data node. After it was created it's data members can be filled. Last, the node can be inserted as child of another node using ::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XNameContainer.html">XNameContainer</a>::<a href="../container/XNameContainer.html#insertByName">insertByName</a>. <p>There are no special arguments that must be supported by ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/XSingleServiceFactory.html">XSingleServiceFactory</a>::<a href="../lang/XSingleServiceFactory.html#createInstanceWithArguments">createInstanceWithArguments</a> </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XChangesBatch.html">XChangesBatch</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>allows managing changes within the hierarchy. </dd> <dd><p>::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XChangesBatch.html">XChangesBatch</a>::<a href="../util/XChangesBatch.html#getPendingChanges">getPendingChanges</a> reports all changes within the hierarchy that are done through (direct or indirect) descendants of this element. The same set of changes is committed to persistent storage and/or made visible to other objects accessing the same data set, when ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/XChangesBatch.html">XChangesBatch</a>::<a href="../util/XChangesBatch.html#commitChanges">commitChanges</a> is invoked. </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>