interface XContentCreator in module com::sun::star::ucb::

(Global Index)

Syntax

interface XContentCreator : 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

Method Summary

queryCreatableContentsInfo returns a list with information about the creatable contents.

createNewContent creates a new content of given type..

Known Services Which Export this Interface

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

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

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

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

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

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

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

Method Details



queryCreatableContentsInfo

Syntax

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

Syntax

com::sun::star::ucb::XContent createNewContent (
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