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

(Global Index)

Syntax

interface XRecycler : com::sun::star::uno::XInterface ;

Description

Allows an XContent to delete itself into the trash can.

This is an additional interface the XContent representing the trash can (URL: "vnd.sun.staroffice.trashcan:///") should support.

Method Summary

trashContent Notify the trash can that an XContent is deleting itself into it.

Method Details



trashContent

Syntax

void trashContent (
com::sun::star::ucb::XCommandProcessor Properties,
com::sun::star::ucb::XContentIdentifier Identifier );

Description

Notify the trash can that an XContent is deleting itself into it.

Parameter Properties

The trash can uses this interface to access the properties of the content being deleted, to copy them for later display etc. The trash can will not use the interface after it has returned from this method.

Parameter Identifier

When the deleted content is later restored or ultimately deleted, the trash can will use this identifier to query an XContent that it will send the undelete or delete command to.
Top of Page