<html> <head> <title>Service TransientDocumentsFolderContent</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="TransientDocumentsFolderContent-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">Included Services</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"><table class="title-table" width="99%"> <tr> <td width="25%" class="title2">unpublished </td> <td width="50%" class="title">service TransientDocumentsFolderContent</td> <td width="*"/></tr> </table> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>A TDCP Folder is a container for other TDCP Folders and TDCP Streams. </dd> <dd><p>It may be contained in another TDCP Folder or in a TDCP Document. </dd> <dt><b>Since </b></dt> <dd>OpenOffice 2.0</dd> <dt><b>See also</b></dt> <dd><a href="TransientDocumentsContentProvider.html">TransientDocumentsContentProvider</a>, <a href="TransientDocumentsRootContent.html">TransientDocumentsRootContent</a>, <a href="TransientDocumentsDocumentContent.html">TransientDocumentsDocumentContent</a>, <a href="TransientDocumentsStreamContent.html">TransientDocumentsStreamContent</a></dd> </dl> </td> </tr> </table> <hr> <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="../lang/module-ix.html">lang</a>::<a href="../lang/XComponent.html">XComponent</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XContent.html">XContent</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XCommandProcessor.html">XCommandProcessor</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> <dd><p> <b>Supported Commands</b> <ul> <li> getCommandInfo </li> <li> getPropertySetInfo </li> <li> getPropertyValues </li> <li> setPropertyValues </li> <li> open </li> <li> insert </li> <li> delete </li> <li> transfer (only transfers TDCP documents, TDCP folders and TDCP streams. It does not handle contents with a URL scheme other than the TDOC URL scheme) </li> </ul> <b>Supported Properties</b> <ul> <li> string ContentType ( read-only, always "application/vnd.sun.star.tdoc-folder" ) </li> <li> boolean IsDocument ( read-only, always false ) </li> <li> boolean IsFolder ( read-only, always true ) </li> <li> string Title </li> <li> ::com::sun::star::<a href="../embed/module-ix.html">embed</a>::<a href="../embed/XStorage.html">XStorage</a> Storage ( read-only, always a reference to a storage opened in read-only mode. No write operations are possible. TDCP contents must be used for writing.) </li> </ul> </p> </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XCommandProcessor2.html">XCommandProcessor2</a></td> <td class="imsum_right"><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>is an enhanced version of <a href="XCommandProcessor.html">XCommandProcessor</a> that has an additional method for releasing command identifiers obtained via <a href="XCommandProcessor.html">XCommandProcessor</a>::<a href="XCommandProcessor.html#createCommandIdentifier">createCommandIdentifier</a> to avoid resource leaks. For a detailed description of the problem refer to <a href="XCommandProcessor2.html">XCommandProcessor2</a>::<a href="XCommandProcessor2.html#releaseCommandIdentifier">releaseCommandIdentifier</a>. </dd> <dd><p>Where many existing <a href="Content.html">Content</a> implementations do not (yet), every new implementation should support this interface. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertiesChangeNotifier.html">XPropertiesChangeNotifier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertyContainer.html">XPropertyContainer</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../beans/module-ix.html">beans</a>::<a href="../beans/XPropertySetInfoChangeNotifier.html">XPropertySetInfoChangeNotifier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XCommandInfoChangeNotifier.html">XCommandInfoChangeNotifier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../container/module-ix.html">container</a>::<a href="../container/XChild.html">XChild</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left"><a href="XContentCreator.html">XContentCreator</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>This interface is implemented according to the specification of service <a href="Content.html">Content</a>. </dd> <dd><p>To create a new child of a TDCP Folder: <ol> <li> Let the parent folder create a new content by calling <a href="XContentCreator.html">XContentCreator</a>::<a href="XContentCreator.html#createNewContent">createNewContent</a> on it. The content type to use for new folders is "application/vnd.sun.star.tdoc-folder". To create a new stream, use the type string "application/vnd.sun.star.tdoc-stream". </li> <li> Set a title for the new folder/stream. (Let the new child execute the command "setPropertyValues"; pass a non-empty value for the property "Title"). </li> <li> Let the new child ( not the parent! ) execute the command "insert". This will commit the creation process. For streams, you need to supply the implementation of an ::com::sun::star::<a href="../io/module-ix.html">io</a>::<a href="../io/XInputStream.html">XInputStream</a> with the command's parameters, that provides access to the stream data. </li> </ol> </p> </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>