1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: WebDAVContentProvider.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_ucb_WebDAVContentProvider_idl__
31 #define __com_sun_star_ucb_WebDAVContentProvider_idl__
33 #ifndef __com_sun_star_ucb_XContentProvider_idl__
34 #include
<com
/sun
/star
/ucb
/XContentProvider.idl
>
37 //=============================================================================
39 module com
{ module sun
{ module star
{ module ucb
{
41 //=============================================================================
42 /** The WebDAV Content Provider (DCP) implements a <type>ContentProvider</type>
43 for the <type>UniversalContentBroker</type> (UCB).
45 <p>It provides access to WebDAV and standard HTTP servers. The DCP
46 communicates with the server using the WebDAV protocol which is an
47 extention to the HTTP protocol or using the plain HTTP protocol in case
48 the server is not WebDAV enabled.
50 @see com::sun::star::ucb::Content
52 published service WebDAVContentProvider
54 //-------------------------------------------------------------------------
55 /** provides two types of content: a Folder or Document which corresponds
56 to a collection or non-collection (nodes and leafs) in WebDAV
64 A DCP Folder (<type>WebDAVFolderContent</type>) is a container for
65 other DCP Folders or Documents.
68 A DCP Document (<type>WebDAVDocumentContent</type>) is a container for
69 Document data/content. The data/content may be anything, a WebDAV
70 server, like an HTTP server, does not necessarily mandate what type of
71 data/content may be contained within Documents. The type of data/content
72 is defined by the MediaType property which is different from the content
73 type returned from the getContentType method. The MediaType property is
74 mapped to the equivalent WebDAV property and the WebDAV server
79 <p><b>URL Scheme for DCP Contents</b>
81 <p>Each DCP content has an identifier corresponding to the following
86 vnd.sun.star.webdav://host:port/<path> where <path> is
87 a hierarchical path of the form <name>/.../<name> and
88 where <name> is a string encoded according to the URL
93 <p>It is also possible to use standard HTTP-URLs. In this case the
94 implementation will determine by itself, if the requested resource
101 vnd.sun.star.webdav://localhost/davhome/ ( a DAV collection )
104 vnd.sun.star.webdav://dav.foo.com/Documents/report.sdw
107 http://dav.foo.com/Documents/report.sdw
113 interface com
::sun
::star
::ucb
::XContentProvider
;
116 //=============================================================================