Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XContentCreator

Base Interface
com::sun::star::uno::XInterface

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


Known Services which Export this Interface

com::sun::star::ucb::HierarchyRootFolderContent A HCP Root Folder is the root container for all other HCP Folders and HCP Links.
com::sun::star::ucb::WebDAVFolderContent A DCP Folder is a container for other DCP Folders or Documents.
com::sun::star::ucb::HierarchyFolderContent A HCP Folder is a container for other HCP Folders and HCP Links.
com::sun::star::ucb::FileContent A File Content represents either a directory or a file in the local file system.
com::sun::star::ucb::PackageFolderContent A PCP Folder is a container for other PCP Folders and PCP Streams.
com::sun::star::ucb::ChaosContent [ DEPRECATED ]
A Chaos Content is a representation of a resource provided by the Chaos Content Provider.
com::sun::star::ucb::Content A Content is a service that provides access to data of a content provided by an implementation of the service ContentProvider .

Methods' Summary

queryCreatableContentsInfo returns a list with information about the creatable contents.
createNewContent creates a new content of given type..

Methods' Details

queryCreatableContentsInfo
 
sequence< com::sun::star::ucb::ContentInfo >
queryCreatableContentsInfo();
Description
returns a list with information about the creatable contents.
Returns
the list with information about the creatable contents.
createNewContent
 
com::sun::star::ucb::XContent
createNewContent(
[ in ] com::sun::star::ucb::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