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

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

interface XDrop

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

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


Known Services which Export this Interface

com::sun::star::sdbcx::Container describes every container which is used for data definition. Each container must support access to its elements by the element's name or by the element's position.

Methods' 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.

Methods' Details

dropByName
 
void
dropByName(
[ in ] 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
 
void
dropByIndex(
[ in ] 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