interface XDrop in module com::sun::star::sdbcx::

(Global Index)

Syntax

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

Description

provides methods to remove an element of its container and to drop it from the related database.

Method Summary

dropByName drops an object of the related container identified by its name.

dropByIndex drops an object of the related container identified by its position.

Known Services Which Export this Interface

com::sun::star::sdbcx::Container

Method Details



dropByName

Syntax

void dropByName (
string elementName )
raises ( com::sun::star::sdbc::SQLException , com::sun::star::container::NoSuchElementException );

Description

drops an object of the related container identified by its name.

Parameter elementName

the name of the element to be dropped

Throws

com::sun::star::sdbc::SQLException if a database access error occurs.

dropByIndex

Syntax

void dropByIndex (
long index )
raises ( com::sun::star::sdbc::SQLException , com::sun::star::lang::IndexOutOfBoundsException );

Description

drops an object of the related container identified by its position.

Parameter index

the position of the element to be dropped

Throws

com::sun::star::sdbc::SQLException if a database access error occurs.
Top of Page