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

interface XContentCreator
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-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
See also
XCommandProcessor
Developers Guide
20.1.3 Universal Content Providers - The Hierarchy Content Provider - Creation of New HCP Content
20.2.3 Universal Content Providers - The File Content Provider - Creation of New File Contents
20.3.3 Universal Content Providers - The FTP Content Provider - Creation of New FTP Content
20.4.3 Universal Content Providers - The WebDAV Content Provider - Creation of New DCP Contents
20.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