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

com :: sun :: star :: sdbc ::

interface XRowUpdate

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

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


Known Services which Export this Interface

com::sun::star::sdbc::ResultSet provides access to a table of data. A ResultSet object is usually generated by executing a Statement.

Methods' Summary

updateNull gives a nullable column a null value.
updateBoolean updates a column with a boolean value.
updateByte updates a column with a byte value.
updateShort updates a column with a short value.
updateInt updates a column with an long value.
updateLong updates a column with a hyper value.
updateFloat updates a column with a float value.
updateDouble updates a column with a double value.
updateString updates a column with a string value.
updateBytes updates a column with a byte array value.
updateDate updates a column with a date value.
updateTime updates a column with a time value.
updateTimestamp updates a column with a timestamp value.
updateBinaryStream updates a column with a stream value.
updateCharacterStream updates a column with a stream value.
updateObject updates a column with an object value.
updateNumericObject updates a column with an object value.

Methods' Details

updateNull
 
void
updateNull(
[ in ] long columnIndex )
raises ( com::sun::star::sdbc::SQLException );

Description
gives a nullable column a null value.
Parameter columnIndex
the position of the column
Throws
SQLException if a database access error occurs.
updateBoolean
 
void
updateBoolean(
[ in ] long columnIndex,
[ in ] boolean x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a boolean value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateByte
 
void
updateByte(
[ in ] long columnIndex,
[ in ] byte x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a byte value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateShort
 
void
updateShort(
[ in ] long columnIndex,
[ in ] short x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a short value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateInt
 
void
updateInt(
[ in ] long columnIndex,
[ in ] long x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with an long value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateLong
 
void
updateLong(
[ in ] long columnIndex,
[ in ] hyper x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a hyper value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateFloat
 
void
updateFloat(
[ in ] long columnIndex,
[ in ] float x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a float value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateDouble
 
void
updateDouble(
[ in ] long columnIndex,
[ in ] double x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a double value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateString
 
void
updateString(
[ in ] long columnIndex,
[ in ] string x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a string value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateBytes
 
void
updateBytes(
[ in ] long columnIndex,
[ in ] sequence< byte > x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a byte array value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateDate
 
void
updateDate(
[ in ] long columnIndex,
[ in ] com::sun::star::util::Date x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a date value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateTime
 
void
updateTime(
[ in ] long columnIndex,
[ in ] com::sun::star::util::Time x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a time value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateTimestamp
 
void
updateTimestamp(
[ in ] long columnIndex,
[ in ] com::sun::star::util::DateTime x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a timestamp value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateBinaryStream
 
void
updateBinaryStream(
[ in ] long columnIndex,
[ in ] com::sun::star::io::XInputStream x,
[ in ] long length )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a stream value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Parameter length
how much data should be read out of the stream
Throws
SQLException if a database access error occurs.
updateCharacterStream
 
void
updateCharacterStream(
[ in ] long columnIndex,
[ in ] com::sun::star::io::XInputStream x,
[ in ] long length )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with a stream value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Parameter length
how much data should be read out of the stream
Throws
SQLException if a database access error occurs.
updateObject
 
void
updateObject(
[ in ] long columnIndex,
[ in ] any x )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with an object value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Throws
SQLException if a database access error occurs.
updateNumericObject
 
void
updateNumericObject(
[ in ] long columnIndex,
[ in ] any x,
[ in ] long scale )
raises ( com::sun::star::sdbc::SQLException );

Description
updates a column with an object value.
Parameter columnIndex
the position of the column
Parameter x
the new column value
Parameter scale
defines the scale which should be used to write the numeric value
Throws
SQLException if a database access error occurs.

Top of Page