LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Exported Interfaces | Public Member Functions | List of all members
XIndexAlteration Interface Reference

allows to alter the indexes of a table. More...

import "XIndexAlteration.idl";

Inheritance diagram for XIndexAlteration:
XConnectionSupplier XInitialization XInterface

Exported Interfaces

interface XConnectionSupplier
 
- Exported Interfaces inherited from XConnectionSupplier
interface com::sun::star::lang::XInitialization
 

Public Member Functions

void dropIndex ([in] com::sun::star::beans::XPropertySet table,[in] string index) raises ( com::sun::star::sdbc::SQLException)
 drops an object of the related container identified by its name. More...
 
void addIndex ([in] com::sun::star::beans::XPropertySet table,[in]com::sun::star::beans::XPropertySet descriptor) raises (com::sun::star::sdbc::SQLException)
 creates a new object using the given descriptor and appends it to the related container. More...
 

Additional Inherited Members

- Public Attributes inherited from XConnectionSupplier
com::sun::star::sdbc::XConnection ActiveConnection
 returns the source connection. More...
 

Detailed Description

allows to alter the indexes of a table.

See Also
com::sun::star::sdb::DataSource::Settings
com::sun::star::sdbcx::XAppend
com::sun::star::sdbcx::XDrop
Since
OOo 3.3

Exported Interfaces

Member Function Documentation

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.

Parameters
tablethe table to be altered
descriptorthe descriptor which should be serve to append a new object
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.
void dropIndex ( [in] com::sun::star::beans::XPropertySet  table,
[in] string  index 
)
raises (com::sun::star::sdbc::SQLException
)

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

Parameters
tablethe table to be altered
indexthe name of the column to be dropped
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

The documentation for this interface was generated from the following file: