LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XColumnUpdate Interface Referencepublished

is used to update data which is collected in a row. More...

import"XColumnUpdate.idl";

Inheritance diagram for XColumnUpdate:
XInterface DataColumn

Public Member Functions

void updateNull () raises (com::sun::star::sdbc::SQLException)
 gives a nullable column a null value. More...
 
void updateBoolean ([in]boolean x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a boolean value. More...
 
void updateByte ([in]byte x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a byte value. More...
 
void updateShort ([in]short x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a short value. More...
 
void updateInt ([in]long x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a long value. More...
 
void updateLong ([in]hyper x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a hyper value. More...
 
void updateFloat ([in]float x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a float value. More...
 
void updateDouble ([in]double x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a double value. More...
 
void updateString ([in]string x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a string value. More...
 
void updateBytes ([in]sequence< byte > x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a byte array value. More...
 
void updateDate ([in]com::sun::star::util::Date x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a Date value. More...
 
void updateTime ([in]com::sun::star::util::Time x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a Time value. More...
 
void updateTimestamp ([in]com::sun::star::util::DateTime x) raises (com::sun::star::sdbc::SQLException)
 updates a column with a Timestamp value. More...
 
void updateBinaryStream ([in]com::sun::star::io::XInputStream x, [in]long length) raises (com::sun::star::sdbc::SQLException)
 updates a column with a stream value. More...
 
void updateCharacterStream ([in]com::sun::star::io::XInputStream x, [in]long length) raises (com::sun::star::sdbc::SQLException)
 updates a column with a stream value. More...
 
void updateObject ([in]any x) raises (com::sun::star::sdbc::SQLException)
 updates a column with an Object value. More...
 
void updateNumericObject ([in]any x, [in]long scale) raises (com::sun::star::sdbc::SQLException)
 updates a column with an Object value. 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...
 

Detailed Description

is used to update data which is collected in a row.

Member Function Documentation

◆ updateBinaryStream()

void updateBinaryStream ( [in] com::sun::star::io::XInputStream  x,
[in] long  length 
)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a stream value.

Parameters
xthe new column value
lengththe length of the stream
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateBoolean()

void updateBoolean ( [in] boolean  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a boolean value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateByte()

void updateByte ( [in] byte  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a byte value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateBytes()

void updateBytes ( [in] sequence< byte >  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a byte array value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateCharacterStream()

void updateCharacterStream ( [in] com::sun::star::io::XInputStream  x,
[in] long  length 
)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a stream value.

Parameters
xthe new column value
lengththe length of the stream
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateDate()

void updateDate ( [in] com::sun::star::util::Date  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a Date value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateDouble()

void updateDouble ( [in] double  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a double value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateFloat()

void updateFloat ( [in] float  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a float value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateInt()

void updateInt ( [in] long  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a long value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateLong()

void updateLong ( [in] hyper  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a hyper value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateNull()

void updateNull ( )
raises (com::sun::star::sdbc::SQLException
)

gives a nullable column a null value.

Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateNumericObject()

void updateNumericObject ( [in] any  x,
[in] long  scale 
)
raises (com::sun::star::sdbc::SQLException
)

updates a column with an Object value.

Parameters
xthe new column value
scalethe scale
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateObject()

void updateObject ( [in] any  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with an Object value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateShort()

void updateShort ( [in] short  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a short value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateString()

void updateString ( [in] string  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a string value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateTime()

void updateTime ( [in] com::sun::star::util::Time  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a Time value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

◆ updateTimestamp()

void updateTimestamp ( [in] com::sun::star::util::DateTime  x)
raises (com::sun::star::sdbc::SQLException
)

updates a column with a Timestamp value.

Parameters
xthe new column value
Exceptions
com::sun::star::sdbc::SQLExceptionif a database access error occurs.

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