<html> <head> <title>Service WebDAVFolderContent</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="WebDAVFolderContent-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">service WebDAVFolderContent</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>A DCP Folder is a container for other DCP Folders or Documents. </dd> <dt><b>See also</b></dt> <dd><a href="WebDAVContentProvider.html">WebDAVContentProvider</a>, <a href="WebDAVDocumentContent.html">WebDAVDocumentContent</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> insert ( makes a newly created folder persistent ) </li> <li> delete </li> <li> open </li> <li> transfer ( only transfers from DCP Folders/DCP Documents to other DCP folders. Source and target must recide on the same server. ) </li> </ul> <b>Supported Properties</b> <ul> <li> string ContentType ( read-only, always "application/vnd.sun.star.webdav-collection" ) </li> <li> boolean IsDocument ( read-only, always false ) </li> <li> boolean IsFolder ( read-only, always true ) </li> <li> ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/DateTime.html">DateTime</a> DateCreated ( read-only ) </li> <li> ::com::sun::star::<a href="../util/module-ix.html">util</a>::<a href="../util/DateTime.html">DateTime</a> DateModified ( read-only ) </li> <li> string MediaType </li> <li> string Size ( read-only, always zero ) </li> <li> string Title </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> A DCP Folder can create other DCP Folders and DCP Documents. To create a new child of a PCP 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.webdav-collection". To create a new DCP Document, use the type "application/http-content". </li> <li> Set a title at the new folder / document. ( Let the new child execute the command "setPropertyValues", which sets at least the property "Title" to a non-empty value ). </li> <li> Let the new child ( not the parent! ) execute the command "insert". This will commit the creation process and persist the newly created content on the server. For documents, 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>