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

interface XContentCreator
Description
A creator for new (persistent) contents, like file system folders.

Creation of a new (persistent) content:

  1. newObject = creator.createNewContent( ... )
  2. initialize the new object (i.e. newObject.Property1 = ...)
  3. let the new content execute the command "insert". That command commits the data and makes the new content persistent.
See also
XContent, XCommandProcessor
Developers Guide
AppendixC - The WebDAV Content Provider - Creation of New DCP Contents
UCB - Services and Interfaces
AppendixC - The FTP Content Provider - Creation of New FTP Content
AppendixC - The Hierarchy Content Provider - Creation of New HCP Content
UCB - Creating
AppendixC - The File Content Provider - Creation of New File Contents
AppendixC - The Package Content Provider - Creation of New PCP Contents

Methods' Summary
queryCreatableContentsInfo returns a list with information about the creatable contents.  
createNewContent creates a new content of given type..  
Methods' Details
queryCreatableContentsInfo
sequence< ContentInfo >
queryCreatableContentsInfo();

Description
returns a list with information about the creatable contents.
Returns
the list with information about the creatable contents.
createNewContent
XContent
createNewContent( [in] ContentInfo  Info );

Description
creates a new content of given type..
Parameter Info
the content information.
Returns
the new content, if operation was succesful.
Top of Page