LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows to alter the keys of a table. More...
import"XKeyAlteration.idl";
Exported Interfaces | |
interface | XConnectionSupplier |
Exported Interfaces inherited from XConnectionSupplier | |
interface | com::sun::star::lang::XInitialization |
Public Member Functions | |
void | dropKey ([in] com::sun::star::beans::XPropertySet table, [in] com::sun::star::beans::XPropertySet key) raises ( com::sun::star::sdbc::SQLException) |
drops an object of the related container identified by its name. More... | |
void | addKey ([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... | |
Public Member Functions inherited from XInitialization | |
void | initialize ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception ) |
initializes the object. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Additional Inherited Members | |
Public Attributes inherited from XConnectionSupplier | |
com::sun::star::sdbc::XConnection | ActiveConnection |
returns the source connection. More... | |
allows to alter the keys of a table.
interface XConnectionSupplier |
void addKey | ( | [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.
Note: The descriptor will not be changed and can be used again to append another object.
table | the table to be altered |
descriptor | the descriptor which should be serve to append a new object |
com::sun::star::sdbc::SQLException | if a database access error occurs. |
void dropKey | ( | [in] com::sun::star::beans::XPropertySet | table, |
[in] com::sun::star::beans::XPropertySet | key | ||
) | |||
raises | ( | com::sun::star::sdbc::SQLException | |
) |
drops an object of the related container identified by its name.
table | the table to be altered |
key | the key to be dropped |
com::sun::star::sdbc::SQLException | if a database access error occurs. |