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

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

interface XContentAccess

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

Description
specifies methods for obtaining information on a content in different levels.

For example, if there is a cursor which points to XContent s, this interface could be used to give the user access to the content under the cursor. If the client only needs the identifier string of the content, there is no need to first create the content object, then to obtain the string from it and after that to release the content.

See also
XContent
See also
XContentIdentifier


Known Services which Export this Interface

com::sun::star::ucb::ContentResultSet provides access to the children of a folder content.

Methods' Summary

queryContentIdentifierString returns the identifier string of the content ( "cheap method" ).
queryContentIdentifier returns the identifier object of the content.
queryContent returns the content ( "most expensive method" ).

Methods' Details

queryContentIdentifierString
 
string
queryContentIdentifierString();
Description
returns the identifier string of the content ( "cheap method" ).

Note that this string can be used later to recreate the content.

Returns
the identifier string.
queryContentIdentifier
 
com::sun::star::ucb::XContentIdentifier
queryContentIdentifier();
Description
returns the identifier object of the content.
Returns
the identifier object.
queryContent
 
com::sun::star::ucb::XContent
queryContent();
Description
returns the content ( "most expensive method" ).
Returns
the content.

Top of Page