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

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

interface XAlterTable

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

Description
is used for creating and appending new objects to a specific container.


Known Services which Export this Interface

com::sun::star::sdbcx::Table used to specify a table in a database. A table is described by its name and one or more columns.

Methods' Summary

alterColumnByName is intended to alter an existing column identified by its name. This operation must be atomar. Atomar means that the operation must be done inone step. Note: Atomar is nower days the wrong word, because we know that there exists smaller elements than atoms.
alterColumnByIndex is intended to alter an existing column identified by its position. This operation must be atomar.

Methods' Details

alterColumnByName
 
void
alterColumnByName(
[ in ] string colName,
[ in ] com::sun::star::beans::XPropertySet descriptor )
raises ( com::sun::star::sdbc::SQLException, com::sun::star::container::NoSuchElementException );

Description
is intended to alter an existing column identified by its name. This operation must be atomar. Atomar means that the operation must be done inone step. Note: Atomar is nower days the wrong word, because we know that there exists smaller elements than atoms.
Parameter colName
the column name which to alter
Parameter descriptor
the new descriptor for the new column
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
alterColumnByIndex
 
void
alterColumnByIndex(
[ in ] long index,
[ in ] com::sun::star::beans::XPropertySet descriptor )
raises ( com::sun::star::sdbc::SQLException, com::sun::star::lang::IndexOutOfBoundsException );

Description
is intended to alter an existing column identified by its position. This operation must be atomar.
Parameter index
the position of the column to alter
Parameter descriptor
the new descriptor for the new column
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.

Top of Page