:: com :: sun :: star :: ucb ::

service WebDAVDocumentContent
Description
A DCP Document is a container for Document data/content.

The data/content may be anything, a WebDAV server, like an HTTP server, does not necessarily mandate what type of data/content may be contained within Documents. The type of data/content is defined by the MediaType property which is different from the content type returned from the XContent::getContentType method. The MediaType property is mapped to the equivalent WebDAV property and the WebDAV server calculates the value.

See also
WebDAVContentProvider, WebDAVFolderContent

Exported Interfaces
::com::sun::star::lang::XComponent
Description
This interface is implemented according to the specification of service Content .
XContent
Description
This interface is implemented according to the specification of service Content .
XCommandProcessor
Description
This interface is implemented according to the specification of service Content .

Supported Commands

  • getCommandInfo
  • getPropertySetInfo
  • getPropertyValues
  • setPropertyValues
  • insert ( makes a newly created document persistent )
  • delete
  • open
  • post ( Argument: PostCommandArgument2 - does a HTTP POST )
Supported Properties
  • string ContentType ( read-only, always "application/http-content" )
  • boolean IsDocument ( read-only, always true )
  • boolean IsFolder ( read-only, always false )
  • ::com::sun::star::util::DateTime DateCreated ( read-only )
  • ::com::sun::star::util::DateTime DateModified ( read-only )
  • string MediaType ( read-only, the MIME type - as delivered by the server )
  • string Size ( read-only )
  • string Title

XCommandProcessor2
Usage Restrictions
optional
Description
is an enhanced version of XCommandProcessor that has an additional method for releasing command identifiers obtained via XCommandProcessor::createCommandIdentifier to avoid resource leaks. For a detailed description of the problem refer to XCommandProcessor2::releaseCommandIdentifier .

Where many existing Content implementations do not (yet), every new implementation should support this interface.

::com::sun::star::beans::XPropertiesChangeNotifier
Description
This interface is implemented according to the specification of service Content .
::com::sun::star::beans::XPropertyContainer
Description
This interface is implemented according to the specification of service Content .
::com::sun::star::beans::XPropertySetInfoChangeNotifier
Description
This interface is implemented according to the specification of service Content .
XCommandInfoChangeNotifier
Description
This interface is implemented according to the specification of service Content .
::com::sun::star::container::XChild
Description
This interface is implemented according to the specification of service Content .

 
Top of Page