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

interface XContentCreator
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XContentCreator
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
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
See also
XCommandProcessor
Developers Guide
C.1.3 Universal Content Providers - The Hierarchy Content Provider - Creation of New HCP Content
C.2.3 Universal Content Providers - The File Content Provider - Creation of New File Contents
C.3.3 Universal Content Providers - The FTP Content Provider - Creation of New FTP Content
C.4.3 Universal Content Providers - The WebDAV Content Provider - Creation of New DCP Contents
C.5.3 Universal Content Providers - The Package Content Provider - Creation of New PCP Contents
14.2 Universal Content Broker - Services and Interfaces
14.4.8 Universal Content Broker - Using the UCB API - Managing Contents - Creating

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