Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

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

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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.