(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: sdb :: tools ::

unpublished interface XIndexAlteration
Base Interfaces
XIndexAlterationXConnectionSupplier
   ┗ ::com::sun::star::lang::XInitialization

XConnectionSupplier
(referenced interface's summary:)
allows to access the active connection
Usage Restrictions
not published
Description
allows to alter the indexes of a table.
Since
OOo 3.3
See also
::com::sun::star::sdb::DataSource::Settings, ::com::sun::star::sdbcx::XAppend, ::com::sun::star::sdbcx::XDrop

Methods' Summary
dropIndex drops an object of the related container identified by its name.  
addIndex creates a new object using the given descriptor and appends it to the related container. Note: The descriptor will not be changed and can be used again to append another object.  
Methods' Details
dropIndex
void
dropIndex( [in] ::com::sun::star::beans::XPropertySet  table,
[in] string  index )
raises( ::com::sun::star::sdbc::SQLException );

Description
drops an object of the related container identified by its name.
Parameter table
the table to be altered
Parameter index
the name of the column to be dropped
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
addIndex
void
addIndex( [in] ::com::sun::star::beans::XPropertySet  table,
[in] ::com::sun::star::beans::XPropertySet  descriptor )
raises( ::com::sun::star::sdbc::SQLException );

Description
creates a new object using the given descriptor and appends it to the related container. Note: The descriptor will not be changed and can be used again to append another object.
Parameter table
the table to be altered
Parameter descriptor
the descriptor which should be serve to append a new object
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.